Julio Camarero 13 Years Ago Hey! this is very cool Sergio! Thanks a lot! Please sign in to reply. Reply as... Cancel
Juan Fernández 13 Years Ago Nice feature!Thanks for sharing! Please sign in to reply. Reply as... Cancel
Pier Paolo Ramon 13 Years Ago Page templates provide just the structure of the page, they do not control it?I mean, if the hook is changed, will pages build on top of it change too? I think not, but I'm really curious.Anyway, awesome development, when I'll move to 6 I'll sure use them! Please sign in to reply. Reply as... Cancel Sergio González Pier Paolo Ramon 13 Years Ago - Edited Hi pier! Glad you like it! Page templates are just templates you can use to create pages, no control. So, if you change the page template, it won't change previously created pages. It will only change new pages built with that modified template. Please sign in to reply. Reply as... Cancel
Sergio González Pier Paolo Ramon 13 Years Ago - Edited Hi pier! Glad you like it! Page templates are just templates you can use to create pages, no control. So, if you change the page template, it won't change previously created pages. It will only change new pages built with that modified template. Please sign in to reply. Reply as... Cancel
Pier Paolo Ramon 13 Years Ago Actually, another question come to my mind:is it possible to create page templates only for a specified group? (something like group-limits in themes development).At this time i cannot see the code itself to look for it, also because this is a random question, not related to any project I manage now. Please sign in to reply. Reply as... Cancel Sergio González Pier Paolo Ramon 13 Years Ago Hi Pier,At the moment page templates cannot be limited to a specific group. They all can be used within the whole portal. Please sign in to reply. Reply as... Cancel
Sergio González Pier Paolo Ramon 13 Years Ago Hi Pier,At the moment page templates cannot be limited to a specific group. They all can be used within the whole portal. Please sign in to reply. Reply as... Cancel
Christopher Brisee 13 Years Ago When a page is created via Manage Pages, is there any way to apply a page template to it? It seems that this feature is only available when the Add/Page is selected from the Dock.Would it ever be possible to apply a template to a pre-existing page (layout, for instance)? Thanks! Please sign in to reply. Reply as... Cancel Sergio González Christopher Brisee 13 Years Ago Hi Christopher, You can also apply a template via Manage Pages. Just below the text box to write the namee of the page you'll find a select box with the label "Template".Apply a template is only possible when creating a new page. Page templates contain portlets, layouts, look&feel and type of page information, so applying a page template to an existing page is the same as deleting the page and creating a new page with the template. Please sign in to reply. Reply as... Cancel Andreas Müller Sergio González 13 Years Ago Hi Sergio,I am looking for a way to define structures, page templates etc. in my own hook. I understand that is what you have done in the 7coqs-sample-hook, right? I can figure out that this is contained in the "sevencogs-hook\WEB-INF\src\resources\guest\journal\templates\single-image.xml resp. ..\structures\single-image.xml.Unfortunately, I do not find a description of this in the 6.0 developer guide, e.g. the hooks section. Could you please point me to a description on how this has to be done in general? Compare my message on the message board: http://www.liferay.com/community/forums/-/message_boards/message/7523419 Please sign in to reply. Reply as... Cancel
Sergio González Christopher Brisee 13 Years Ago Hi Christopher, You can also apply a template via Manage Pages. Just below the text box to write the namee of the page you'll find a select box with the label "Template".Apply a template is only possible when creating a new page. Page templates contain portlets, layouts, look&feel and type of page information, so applying a page template to an existing page is the same as deleting the page and creating a new page with the template. Please sign in to reply. Reply as... Cancel Andreas Müller Sergio González 13 Years Ago Hi Sergio,I am looking for a way to define structures, page templates etc. in my own hook. I understand that is what you have done in the 7coqs-sample-hook, right? I can figure out that this is contained in the "sevencogs-hook\WEB-INF\src\resources\guest\journal\templates\single-image.xml resp. ..\structures\single-image.xml.Unfortunately, I do not find a description of this in the 6.0 developer guide, e.g. the hooks section. Could you please point me to a description on how this has to be done in general? Compare my message on the message board: http://www.liferay.com/community/forums/-/message_boards/message/7523419 Please sign in to reply. Reply as... Cancel
Andreas Müller Sergio González 13 Years Ago Hi Sergio,I am looking for a way to define structures, page templates etc. in my own hook. I understand that is what you have done in the 7coqs-sample-hook, right? I can figure out that this is contained in the "sevencogs-hook\WEB-INF\src\resources\guest\journal\templates\single-image.xml resp. ..\structures\single-image.xml.Unfortunately, I do not find a description of this in the 6.0 developer guide, e.g. the hooks section. Could you please point me to a description on how this has to be done in general? Compare my message on the message board: http://www.liferay.com/community/forums/-/message_boards/message/7523419 Please sign in to reply. Reply as... Cancel
Lirone75 M. 12 Years Ago in the control panel, "page template" display just a page that allows to save a new name, description, language, active.Is this functionality developed ? If it is, what did I miss ? Please sign in to reply. Reply as... Cancel Lirone75 M. Lirone75 M. 12 Years Ago Ok forget it : after saving the "page template" we can edit and add portlet to the template. Please sign in to reply. Reply as... Cancel
Lirone75 M. Lirone75 M. 12 Years Ago Ok forget it : after saving the "page template" we can edit and add portlet to the template. Please sign in to reply. Reply as... Cancel