I followed the Visual Tutorials for setting up the FrontEndUser modules but when I get to the point where you exclude the menu selection based on menu prefix (see code below), I just can't get it to hide the menu selection when not logged on. The code on the Project Page does detect logged in users and displays the appropriate messages. Any suggestions would be helpfull.
Menu TItle & page name is "Project Page"
Templae is code: (Left simple navigation + 1 column )
{if $ccuser->loggedin()}
{menu template='simple_navigation.tpl' collapse='1'}
{else}
{menu template='simple_navigation.tpl' collapse='1' excludeprefix='Project'}
{/if}
my hosting service is running the following configuration:
Operating system Linux Kernel version 2.6.18-8.1.14.el5 Machine Type i686
Apache version 1.3.39 (Unix)
PERL version 5.8.8
PHP version 5.2.4
MySQL version 5.0.27-standard
cPanel Build 11.11.0-STABLE 16999
Theme cPanel X v2.6.0
============================================
Resolution/Understanding:
Learned two things:
1.) the excludeprefix='project_' is looking for the page alias that you enter from the content edit OPTIONS tab.
2.) probably would help to uncheck the "Cachable" option on that same options screen.
============================================
(RESOLVED)Logged User Menu Access Setup Help......
Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
(RESOLVED)Logged User Menu Access Setup Help......
Post by rsiglin »
Last edited by rsiglin on Wed Nov 21, 2007 4:21 pm, edited 1 time in total.
Return to “Developers Discussion”
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