Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Sites - Site templates - default portlets in custom theme does not show up
Hi Liferay 7 community,
I am during Liferay 7 theme development using recommended freemarker.
I added to my portlet_normal.ftl template following part of code:
Then from Administration / Site templates I set selected web content in my new theme. Then I went to Administration / Sites and created a new site connected with this template but from Site view it does not show up. Why I see this added web content from ''Site templates'' view but from ''Sites'' I don't?
Thanks in advance for help.
I am during Liferay 7 theme development using recommended freemarker.
I added to my portlet_normal.ftl template following part of code:
<@liferay_portlet["runtime"]
defaultPreferences=default_preferences
portletProviderAction=portletProviderAction.VIEW
instanceId="footer"
portletName="com_liferay_journal_content_web_portlet_JournalContentPortlet" />
Then from Administration / Site templates I set selected web content in my new theme. Then I went to Administration / Sites and created a new site connected with this template but from Site view it does not show up. Why I see this added web content from ''Site templates'' view but from ''Sites'' I don't?
Thanks in advance for help.
I solved this issue, I had to modify site from Private Pages view. Is it possible to have an access directly from public pages?