Jonas X. Yuan 13 Anos atrás Cool feature! Thank you, Mika. Por favor, autentique-se para votar. Responda como... Cancelar
Sampsa Sohlman 13 Anos atrás You have long spoken half of Freemarker over the Velocity.. now we have it Thanks, Mika Por favor, autentique-se para votar. Responda como... Cancelar
Murat ÇOLAK 13 Anos atrás Oh its super Por favor, autentique-se para votar. Responda como... Cancelar
Amruta Borkar 13 Anos atrás Hi I'm not being able to find 'liferay-aui.tld' . Please tell me where can I find it. Por favor, autentique-se para votar. Responda como... Cancelar Ian White Amruta Borkar 12 Anos atrás 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 Por favor, autentique-se para votar. Responda como... Cancelar
Ian White Amruta Borkar 12 Anos atrás 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 Por favor, autentique-se para votar. Responda como... Cancelar
(Você) 12 Anos atrás [...] 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 Por favor, autentique-se para votar. Responda como... Cancelar
Juan Ramon Paniagua 11 Anos atrás 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. Por favor, autentique-se para votar. Responda como... Cancelar
Jan Rodan 10 Anos atrás 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! Por favor, autentique-se para votar. Responda como... Cancelar
Jan Rodan 10 Anos atrás 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! Por favor, autentique-se para votar. Responda como... Cancelar
ekta j 7 Anos atrás <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 ? Por favor, autentique-se para votar. Responda como... Cancelar