![]() |
Quote:
Quote:
Please advice how to get it right. Thanks |
Is there a way to disable this in certain templates? I am using a mobile template under 3.7.3 and the javascript loads on every page. Quotes isn't visible from this mobile template and I'd love to reduce the overall page size by turning off the script includes for this... Any idea how?
|
Neutral Singh - Try the instructions in this post.
L2V - I'm sure you could use a conditional to check the styleid, but I'm not sure off the top of my head what variable it's stored in. |
Quote:
|
Quote:
Alright that made the first problem vanish. What about the second. I have kept it live on my forum for your analysis. Please advice. Thanks |
L2V - Actually, try adding it to the conditional on line 768 in includes/functions_quoteit.php. The updated code should look something like this. Replace $styleid with whatever variable holds the current styleid (just search around this site to find the right one) and $yourstyle with whatever the styleid of your mobile style is.
PHP Code:
PHP Code:
|
Quote:
For anyone else who needs it... The following line number mentioned above can be PHP Code:
Thanks Cap'n Steve! |
Sorry to bother again Cap'n Steve, but do you have an idea what could be going on? We're running 3.7.3 PL1
Quote:
|
Try the advice from this post.
|
Quote:
[EDIT] I've seem to be getting a lot of errors since I've made the fix: Quote:
|
All times are GMT. The time now is 09:10 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|