Sampsa Sohlman 13年 前 You have long spoken half of Freemarker over the Velocity.. now we have it Thanks, Mika 投票するためにはログインが必要です。 次として送信する: キャンセル
Amruta Borkar 13年 前 Hi I'm not being able to find 'liferay-aui.tld' . Please tell me where can I find it. 投票するためにはログインが必要です。 次として送信する: キャンセル Ian White Amruta Borkar 12年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル
Ian White Amruta Borkar 12年 前 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 投票するためにはログインが必要です。 次として送信する: キャンセル
(あなた) 12年 前 [...] 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 投票するためにはログインが必要です。 次として送信する: キャンセル
Juan Ramon Paniagua 11年 前 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. 投票するためにはログインが必要です。 次として送信する: キャンセル
Jan Rodan 10年 前 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! 投票するためにはログインが必要です。 次として送信する: キャンセル
Jan Rodan 10年 前 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! 投票するためにはログインが必要です。 次として送信する: キャンセル
ekta j 7年 前 <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 ? 投票するためにはログインが必要です。 次として送信する: キャンセル