Scalemotorcars
02-24-2019, 02:27 AM
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.
<if condition="THIS_SCRIPT != 'model_paint_database'">
stuff to show on all pages except model_paint_database page
</if>
This is the error I get while attempting the template change.
The following error occurred when attempting to evaluate this template:
%1$s
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
This is the warning that is displayed at the top of the page.
Warning: Invalid argument supplied for foreach() in ..../includes/functions.php on line 3822
--------------- Added 1550982733 at 1550982733 ---------------
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.
All Im trying to do is exclude a template from one specific page using the "This Script" from that page.
<if condition="THIS_SCRIPT != 'model_paint_database'">
stuff to show on all pages except model_paint_database page
</if>
This is the error I get while attempting the template change.
The following error occurred when attempting to evaluate this template:
%1$s
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
This is the warning that is displayed at the top of the page.
Warning: Invalid argument supplied for foreach() in ..../includes/functions.php on line 3822
--------------- Added 1550982733 at 1550982733 ---------------
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.