in Joomla Templates by lundahl (500 points)

I have asked this question in the chat a couple of times but no one answers. I have created a new support ticket but no one is responding.

Now I'm trying here and hoping someone else can solve my problem because it doesn't seem like anyone on TemplateToaster has time to help me.

I have started using a new extension for my Joomla website. The problem is that some php code is printed at the top of the website now. I have written to the manufacturer and asked them, https://shondalai.com/, and he responds like this;

This looks to be an issue with your template. We add Joomla's $document->addScriptDeclaration to add the script into the document but your template seems to be printing it without <script> tags. Can you please check with your template provider?

Now I ask anyone. Please help me with this problem. I don't know how to solve it otherwise.

Thanks

4 Answers

by pataanaa2 (140 points)

Please help me with this problem..

by lisa-west (35.1k points)

We have checked the above provided website URL, it seems any third party component is adding the script code outside the script tag which causes it to display at front. You may  provide your website's admin credentials at your support ticket we will check the script declaration at your end and will guide you accordingly.

by passpappu079 (140 points)
edited by passpappu079

You can reference it from index.html. But also consider that you can still use vanilla js and html in svelte components- maybe you could create a InboxSidebar component and handle the complexity inside that. When you say ”the output of the script” what is the output of the script!

https://www.routerlogin.net/

pikashow

by sfavrongmail-com (780 points)

I'm not sure if this could help. I simply suggest you an other forum that is: https://www.helionet.org it is some kind of forum that have peoples that build webpages. A+

Interested in localizing/Translating TemplateToaster Software in your native language in exchange of a Pro License ? Contact Us
...