Cookbook /
CMSBundle-Talk
Summary: Talk page for CMSBundle.
Maintainer: Hagan Fox
This space is for User-contributed commentary and notes. Please include your name and a date along with your comment.
Comments
You need to add the 'comment' action to the array of allowed actions. Put in config.php:
$CMSAllowedActions = array( 'browse','print','search','edit','login','rss','atom','addlink','comment');
- -- HansB August 14, 2006, at 01:38 PM
Thanks Hans. It's added by default in the latest release. Hagan
Note that css display:none still outputs HTML. It hides it from the visual browser via CSS on the client-side, but people who use text readers, reveal the source of the page, etc. and possibly some accessibility software will still "see" the "hidden" portions. You're best off not outputting them at all than using CSS to hide them from visual display. This is why (:if auth edit:)
and (:if auth admin:)
exist. XES September 17, 2017, at 06:41 AM
Don't rely on conditionals to hide secrets, see Test.CondAuthNotLocked. Definitely don't rely on CSS. --Petko September 27, 2017, at 04:03 PM