Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## DotCMS - Gets the title of the folder that the current page is in
- #set ($myFolderUrl = $VTLSERVLET_URI.substring(0,$VTLSERVLET_URI.lastIndexOf("/")))
- #set($myFolder= $folderAPI.findCurrentFolder("${myFolderUrl}/",$host))
- $myFolder.title
Advertisement
Add Comment
Please, Sign In to add comment