&
. Navigation: When using the \#navigation()
macro, depending on how your top and left side navigation are declared, you may find repeated ids. For instance, if a folder called "Academics" is printed on both top and left navigation, the id "academics" will appear twice on the page, to avoid this, use the menu prefix parameter:
\#set($menuIdPrefix = "top")
or \#set($menuIdPrefix = "left")
CSS: If validating your CSS, browser specific hacks won't work. An alternative is to use the css-browser-selector.js which inserts a class in the body tag and allows you to specify browser specific rules. Eg. .ie6 p{}
or .gecko p{}
Macros: In cases where a macro prints the &
character there are two solutions:
\#set($photoGallerySourceCode = '/application/velocity/photo_gallery.vtl')
HMTL Validator
CSS Validator
CSS Browser Selector
DotCMS: Thumbnail Images
Resized Images
DotCMS: Navigation Menu
What’s the difference between a headless CMS and a hybrid CMS, and which one is best suited for an enterprise?
Maintaining or achieving a global presence requires effective use of resources, time and money. Single-tenant CMS solutions were once the go-to choices for enterprises to reach out to different market...
What is cloud computing, and what benefits does the cloud bring to brands who are entering into the IoT era?