![]() |
|
Thread Tools |
#1
|
||||||||||||
|
||||||||||||
Trying to exclude a template using This Script but I keep getting errors
Ive read the posts and tried several ways but all keep giving me errors. Im using 4.2 on a php5 server. Any help would be great. Thanks.
All Im trying to do is exclude a template from one specific page using the "This Script" from that page.
This is the error I get while attempting the template change.
This is the warning that is displayed at the top of the page.
--------------- Added 24 Feb 2019 at 03:32 --------------- Actually, I just noticed something and I need to exclude it from 2 pages. It runs a JS that conflicts with those 2 pages. Thanks again. No members have liked this post.
|
#2
|
||||
|
||||
It looks like you're using vB 3.x template logic.
![]()
__________________
Former vBulletin.org Staff Member ![]() Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons No members have liked this post.
|
#3
|
||||||||
|
||||||||
I followed directions for VB4 but you may be right.
![]() The plugin for the template is
On the footer template, I have the standard vb:raw
And the template is cached So, any ideas on how to exclude this template from just 2 pages? No members have liked this post.
|
#4
|
||||
|
||||
What I mean is you want to use the following format within the template:
__________________
Former vBulletin.org Staff Member ![]() Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons No members have liked this post.
|
#5
|
||||
|
||||
Good lord, how did I not see that? Works perfectly on the one page.
Any clue how to exclude on two pages? You know This Script and This Script. I cant find how to do this. And thanks for the help.... --------------- Added 24 Feb 2019 at 04:35 --------------- Nevermind I just hardcoded the 2nd page to exclude that template. Its not ideal but it works. No members have liked this post.
|
#6
|
||||
|
||||
If you want to exclude multiple scripts, I would use for the condition:
__________________
Former vBulletin.org Staff Member ![]() Support for my products (as well as updates/new product publishing) has been moved to MHB - vBulletin Products and TAZ - Add-ons The following members like this post: Scalemotorcars
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 15:45.