Error/Problem with custom content and previewing the template
Posted: Sat Jan 14, 2006 1:28 am
I get the following error when I try to preview my template in the box that normally shows the template:
Warning: Invalid argument supplied for foreach() in /home/soanime/public_html/cms/modules/CustomContent/CustomContent.module.php on line 448
Fatal error: Smarty error: [in preview:cmspreview08XnWH line 369]: syntax error: unexpected {else} (Smarty_Compiler.class.php, line 468) in /home/soanime/public_html/cms/lib/smarty/Smarty.class.php on line 1088
The template displays fine when accessed normally. When I remove this code:
I still get the first error, but the template itself displays below the error in the preview box.
I have the custom content module installed, along with it's dependencies.
Any help would be greatly appreciated...
Lastly...this is the only CMS I would ever dream of using...I love the fact that it uses Smarty, and is so easy to customize. I like it better than anything else I've seen! Great work you guys (and girls)!
Warning: Invalid argument supplied for foreach() in /home/soanime/public_html/cms/modules/CustomContent/CustomContent.module.php on line 448
Fatal error: Smarty error: [in preview:cmspreview08XnWH line 369]: syntax error: unexpected {else} (Smarty_Compiler.class.php, line 468) in /home/soanime/public_html/cms/lib/smarty/Smarty.class.php on line 1088
The template displays fine when accessed normally. When I remove this code:
Code: Select all
{else}
{html_blob name="ad"}
{/else}I have the custom content module installed, along with it's dependencies.
Any help would be greatly appreciated...
Lastly...this is the only CMS I would ever dream of using...I love the fact that it uses Smarty, and is so easy to customize. I like it better than anything else I've seen! Great work you guys (and girls)!