&
. 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
dotCMS has enhanced our customers' experience by embracing continuous delivery (CD) practices.
Here's what both technical and editorial leaders and teams will learn at the Universal CMS Summit, set for August 5 in Montéal, Canada.
In this article, dotCMS provides our investigation into the Pollyfill.io supply chain attack and a responsible recommendation to our valued customers.