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
Custom Content Error!! Please HELP!!! [SOLVED]
For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
-
- New Member
- Posts: 4
- Joined: Mon Dec 17, 2007 10:34 am
Custom Content Error!! Please HELP!!! [SOLVED]
Post by rynoceris84 »
Last edited by rynoceris84 on Sat Jan 05, 2008 6:08 pm, edited 1 time in total.
Jump to
- Official Boards
- ↳ README FIRST!!!
- ↳ Announcements
- ↳ General Discussion
- Support Boards
- ↳ CMSMS Core
- ↳ Modules/Add-Ons
- ↳ Help Wanted (commercial)
- ↳ Translations
- Community Boards
- ↳ Tips and Tricks
- ↳ CMS Show Off
- ↳ Layout and Design (CSS & HTML)
- ↳ Feature ideas
- ↳ Developers Discussion
- ↳ The Lounge
- International Discussions
- ↳ Czech/Slovak - Česky/Slovensky
- ↳ Danish - Dansk
- ↳ Dutch - Nederlands
- ↳ Aankondigingen
- ↳ Tips en Trucs
- ↳ Vertalingen & Documentatie
- ↳ Hulp gezocht (commercieel)
- ↳ Finnish - Suomi
- ↳ French - Français
- ↳ German - Deutsch
- ↳ BITTE ZUERST LESEN !!!
- ↳ Ankündigungen
- ↳ Installation und Einstellungen
- ↳ Module und Tags
- ↳ Smarty-Tipps und -Tricks
- ↳ Layout und Design
- ↳ Suchmaschinenoptimierung (SEO)
- ↳ HowTo's
- ↳ Übersetzungen
- ↳ Show Off
- ↳ Hilfe gesucht (kommerziell)
- ↳ Stammtisch
- ↳ Hungarian - Magyar
- ↳ Italian - Italiano
- ↳ Moduli/Plugins
- ↳ Lithuanian - Lietuviškai
- ↳ Darbo / bendradarbiavimo pasiūlymai ir paieška
- ↳ Persian / Farsi
- ↳ Polish - Polski
- ↳ Portuguese - Português
- ↳ Russian - русский
- ↳ Предложения и поиск РАБОТЫ
- ↳ Spanish - Español
- ↳ Swedish - Svenska
- Geekmoot Editions
- ↳ Geekmoot 2016
- ↳ Connections and Conversations
- ↳ Geekmoot 2015
- ↳ Geek Moot 2012
- ↳ Locked: Geek Moot 2010
- Old Forums
- ↳ [locked] CMSMS 2.0 Beta
- ↳ Module Developers
- ↳ Closed Issues
- ↳ [locked] Documentation0ld
- ↳ Suggestions, Modifications & Corrections
- ↳ [locked] CMSMS 1.11 Beta
- ↳ Closed Issues
- ↳ [locked] CMSMS 1.10 Beta
- ↳ Closed Issues
- ↳ [locked] CMSMS 2.2 Beta
- ↳ [locked] CMSMS MLE fork
- ↳ Modules/Addon patchs
- ↳ [locked] Quality Assurance
- ↳ [locked] Accessability and Usability
- ↳ [locked] Documentation
- ↳ Media and presentations about CMSMS
- ↳ [locked] Installation, Setup and Upgrade