Jonas X. Yuan 13 Years Ago Cool feature! Thank you, Mika. Please sign in to reply. Reply as... Cancel
Sampsa Sohlman 13 Years Ago You have long spoken half of Freemarker over the Velocity.. now we have it Thanks, Mika Please sign in to reply. Reply as... Cancel
Amruta Borkar 12 Years Ago Hi I'm not being able to find 'liferay-aui.tld' . Please tell me where can I find it. Please sign in to reply. Reply as... Cancel Ian White Amruta Borkar 11 Years Ago Has support for velocity hooks been removed ?I notice that when using the portal trunk, my bean, which is declared in an applicationContext.xml, is now not being found by the BeanLocator. It was working prior to my svn update.Is there another way to achieve velocity hook functionality now ?ThanksIan Please sign in to reply. Reply as... Cancel
Ian White Amruta Borkar 11 Years Ago Has support for velocity hooks been removed ?I notice that when using the portal trunk, my bean, which is declared in an applicationContext.xml, is now not being found by the BeanLocator. It was working prior to my svn update.Is there another way to achieve velocity hook functionality now ?ThanksIan Please sign in to reply. Reply as... Cancel
(You) 11 Years Ago [...] http://www.liferay.com/web/mika.koivisto/blog/-/blogs/using-freemarker-in-your-theme-templates Flag Please sign in to flag this as inappropriate. Mark as an Answer [...] Read More Please sign in to reply. Reply as... Cancel
Juan Ramon Paniagua 10 Years Ago Hi Mika,I just implemented a theme using Freemarker as the template engine.The theme didn't included the staging-portlet-bar and I saw that the implementation of the <@liferay.dockbar/> macro is different than the Velocity implementation.I solved the issue in my theme by including:<#if show_staging>${theme.runtime("170")}</#if>after the call to the macro. I think it would be nice to have that included in the macro to avoid people running into this kind of issues. Please sign in to reply. Reply as... Cancel
Jan Rodan 9 Years Ago I have a big (for me) issue with including a taglib:<#assign ui=PortalJspTagLibs["/WEB-INF/tld/liferay-ui.tld"]><#assign classes= stringUtil.split("com.liferay.portal.model.Group,com.liferay.portal.model.Organization") /><@ui["my-sites"] classNames="${classes}" cssClass="dropdown-menu my-sites-menu" />The problem is the classNames value. I do not know how to pass the correct type in there.Has anybody an idea?Thanks! Please sign in to reply. Reply as... Cancel
Jan Rodan 9 Years Ago I have a big (for me) issue with including a taglib:<#assign ui=PortalJspTagLibs["/WEB-INF/tld/liferay-ui.tld"]><#assign classes= stringUtil.split("com.liferay.portal.model.Group,com.liferay.portal.model.Organization") /><@ui["my-sites"] classNames="${classes}" cssClass="dropdown-menu my-sites-menu" />The problem is the classNames value. I do not know how to pass the correct type in there.Has anybody an idea?Thanks! Please sign in to reply. Reply as... Cancel
ekta j 6 Years Ago <footer id="footer" role="contentinfo"> <div class="footer-inner"> ##set ($footer-navigation = "FOOTER_NAVIGATION") ##set($footer-navigation=$journalContentUtil.getContent($group_id, $footer-navigation,null,"$locale",$theme_display)) ##$footer-navigation $!journalContentUtil.getContent($getterUtil.getLong("$!group_id"), $theme.getSetting("FOOTER_NAVIGATION"), null, "$!locale", $theme_display) #if (!$is_signed_in) <span class="signin-link"> <a data-redirect="$portalUtil.isLoginRedirectRequired($request)" href="$sign_in_url" id="sign-in" rel="nofollow">$sign_in_text</a> </span> #end </div> </footer>Hello Everyone can you convert this code DXP ? Please sign in to reply. Reply as... Cancel