Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

xero/zgf4: can't save custom script

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi there,

I'm trying to get my math script running with Xero/zgf4. But it's not possible to save it after opening head tag.

It's a copy of the script I'm running without any problems within my T3/motion installation www.mathelike.de.

That's the script I'm talking about:

math_script_T3_motion.png


Thanks for any assistance!

Christian
  • Christian Rieger's Avatar
  • Christian Rieger
  • 12 Month basic
  • 261 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.
Hi Christian

I've asked Anthony to take a look - I'm assuming its to do with the script type

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hey Christian!

Whats happening on the front end? Can you try changing the " to ' eg double quotes to single quotes to see if that works?
Thanks
  • Anthony Olsen's Avatar
  • Anthony Olsen
  • LIfetime Developer - Big Bamboo
  • 23925 posts
  • 788 Thanks
  • Karma: 433
The administrator has disabled public write access.
Hi Anthony,

the script gets in no case loaded and in't savable. Doesn't make a difference if I leave the double quotes, change all the double quotes to single quotes or only within the script type.

Thanks
Christian
  • Christian Rieger's Avatar
  • Christian Rieger
  • 12 Month basic
  • 261 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.
Hi Christian,

Can you please add the script as a txt attachment so we can test this out.

Regards,

Rob
  • Robert Went's Avatar
  • Robert Went
  • Moderator
  • 2210 posts
  • 196 Thanks
  • Karma: 90
The administrator has disabled public write access.
Hi Rob,

attached please find the script as txt file.

File Attachment:

File Name: mathlax_script.txt
File Size: 1 KB


Thanks!
Christian
  • Christian Rieger's Avatar
  • Christian Rieger
  • 12 Month basic
  • 261 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.
Hi Christian,

That's working here locally for me. I can save the script and then see it in the code on the frontend.

Do you have the latest template version?

If so could you please open a ticket so we can investigate any errors.

Regards,

Rob
  • Robert Went's Avatar
  • Robert Went
  • Moderator
  • 2210 posts
  • 196 Thanks
  • Karma: 90
The administrator has disabled public write access.
Hi Rob,

yes, I've the latest version xero 1.1 installed.
I'm going to open a ticket.

Thanks!
Christian
  • Christian Rieger's Avatar
  • Christian Rieger
  • 12 Month basic
  • 261 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.
Right thanks

Will be interesting to see what the issue is

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Christian,

The issue is with sh404sef's security options preventing the saving of the script (causing a forbidden 403 error).

You can turn the security options off, save the template and then turn them back on again.

Regards,

Rob
  • Robert Went's Avatar
  • Robert Went
  • Moderator
  • 2210 posts
  • 196 Thanks
  • Karma: 90
The administrator has disabled public write access.
Hi Rob,

yes, I tried it and was able to save the script. That's wonderful!

As math is not correct rendered and it seems to be that double quotes are stripped to single ones i remembered my former post www.joomlabamboo.com/index.php?option=com_kunena&view=topic&catid=651&id=94206&Itemid=215

Should I copy the script again directly into tpls/blocks/head.php or script.php?

Thanks!
Christian
  • Christian Rieger's Avatar
  • Christian Rieger
  • 12 Month basic
  • 261 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.
Hi Christian,

Have you updated the ticket with this this question?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Paul,

no, not yet. I'm going to update the ticket now.

Thanks.
Christian
  • Christian Rieger's Avatar
  • Christian Rieger
  • 12 Month basic
  • 261 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.
Thanks :)
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thank you all for another fast and great support!
  • Christian Rieger's Avatar
  • Christian Rieger
  • 12 Month basic
  • 261 posts
  • 3 Thanks
  • Karma: 1
The administrator has disabled public write access.
Thanks - I've passed on your thanks :)

Good luck with the site

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers