Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2011-09-08 06:17:42

asko
Member
Registered: 2011-05-11
Posts: 138

video_search.tpl.php a different header.tlp path than others? Js added

I have added some custom Javascript in header.tpl ,works on all page except video_search.tlp, so video_search.tlp maybe need different paths to files
or using different header(don't think so).

Know why video_search.tlp is so fussy? What to modify in file path?

<script type="text/javascript" src="../../../scripts/custom.js"></script>

Offline

#2 2011-09-08 09:30:59

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: video_search.tpl.php a different header.tlp path than others? Js added

What you are using is a relative URL, you need to use absolute URLs. Its impossible for me to tell you where the error is. None of the files used in the script are fussy, as long as they are part of the script, once you take the files out and change the paths, a lot of files might not work as intenteded.

PS: Please post topics related to modifications in the Modifications forum.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2011-09-08 14:19:02

asko
Member
Registered: 2011-05-11
Posts: 138

Re: video_search.tpl.php a different header.tlp path than others? Js added

OK fixed, too late to erase post you already answered!
Thanks

Offline

Board footer

Powered by FluxBB