i want to add a custom Add Application Link to my Liferay Theme.
This is what i have in the template (portlet_normal.vm):
#if($show_add_content)
<a href="javascript:$add_content_url" id="addApplications">$add_content_text</a>
<a href="javascript:$layout_url" id="layoutTemplates">$layout_text</a>
#end
and this is what I got on the page:
<a href="javascript:Liferay.LayoutConfiguration.toggle('87');" id="addApplications">Add Application</a>
<a href="javascript:Liferay.LayoutConfiguration.showTemplates();" id="layoutTemplates">Layout Template</a>
The Layoutbutton is working as expected, but the Add Applications portlet is’nt loaded.
I think about missing libs/includes? Has anyone an idea?
1 Answer