Page 1 of 1

Custom Content Error!! Please HELP!!! [SOLVED]

Posted: Thu Dec 20, 2007 7:03 am
by rynoceris84
Hello,

I am currently getting an error after trying to set up custom content on my site...

This is the code located in the template for the page that shows the custom content:


{content}
{cms_module module=FrontEndUsers nocaptcha=1}
{cms_module module=CustomContent}

This content is only available to logged in members of the group "Dealer"

This content is only available to non-logged in users.


This content is only available to logged in members of the group "MSRP"



This content is only available to logged in members of the group "Distributor"



This content is only available to logged in members of the group "National Distributor"



This content is only available to logged in members of the group "End User"




   

The Custom Content is working, however, I get the following error at the top of the page after logging in:

Warning: Invalid argument supplied for foreach() in /data/10/0/141/77/956566/user/987182/htdocs/modules/CustomContent/CustomContent.module.php on line 751

Is there something I am doing wrong?

Please give me any advice you may have!!!

Thanks,

Ryan



UPDATE:


Instead of using the commented tags () for Custom Content, I switched to the smarty tags ({example}) and everything is working perfectly now.

Ryan