how to put script in posts only (General)

by paraoan, (148 days ago)

I need to put a certain script tag in the HTML output but only when a post is shown ?not on the other pages)

i was able to get it to work by editing main.tpl but then the script tag is in every page. I need it only when a post is clicked on. I tried editing thread.inc.tpl but it doesn't seem to work.

any pointers?

how to put script in posts only

by paraoan, (148 days ago) @ paraoan

figured it out it's entry.inc.tpl not thread

Avatar

how to put script in posts only

by Auge ⌂, (146 days ago) @ paraoan

Hello

figured it out it's entry.inc.tpl not thread

An addition: if the nested or board view is also used for the entire thread and the feature realised with JS should also be available there, the script must also be integrated there.

Tschö, Auge

--
Trenne niemals Müll, denn er hat nur eine Silbe!

RSS Feed of thread