Forums | Mahara Community
15 October 2009, 1:04 PM
I have searched high and low, and I cannot find where I can change the <noscript> tag message for index.php
The reason I want to change this option is because I would like to put a "ShareThis" script on the index page so people can post links in facebook, and when I do, in lieu of the description it provides the message:
If there is a better way to do this, than editing the <noscript> tag?
15 October 2009, 5:16 PM
Does the message have to be there? You could just edit the Home Page content in Administration -> Edit Site Pages.
If it does have to be there, the login form is generated by the function auth_generate_login_form() in auth/lib.php. The <noscript> tag is put in inside the templates. The login block's template is theme/default/templates/sideblocks/login.tpl, and the transient login page (e.g. the one you get if your session times out) is at theme/default/templates/login.tpl.
15 October 2009, 6:38 PM
The message does not have to be there, but despite editing the content through the "Administration > Edit Site Pages" It still grabs the JS first.
If you have any other idea of how I can remedy this aside from editing the <noscript> message?
15 October 2009, 7:41 PMHm, I've gotten a bit confused. What exactly are you trying to put on the page (what html/js etc.), where do you want it to go, and what have you tried so far to make it happen? (e.g. where have you put your html/js)
15 October 2009, 6:50 PM
I am also not sure how to go about editing the actual message. When I fiew the login.tpl in the sideblocks folder, the noscript is written as:
15 October 2009, 7:41 PMThat refers to a language string. That particular string will be defined in lang/en.utf8/mahara.php.
16 October 2009, 12:34 PM
If you have a facebook account, you can go to www.anteletech.com and click the "Invite Friends" link, and choose facebook.
I think you will see what I mean.
By the way, I feel it needs to be said that I am very pleasantly surprised about how easy you are to talk to. Thank you.