Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Joshua Asbury
Management of Templates and Structures
November 29, 2007 6:00 AM
Answer

Joshua Asbury

LIFERAY STAFF

Rank: Expert

Posts: 497

Join Date: September 8, 2006

Recent Posts

Hi all -

I host an instance of Liferay for multiple companies, and I would like an easy way to manage templates and structures across the companies. Is there a way to make them available to all companies, or do I have to manually add them (a time consuming process even if I do it via SQL)?

Thanks!
Josh
Jorge Ferrer
RE: Management of Templates and Structures
December 3, 2007 11:58 PM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2756

Join Date: August 31, 2006

Recent Posts

Hi Josh,

Right now there isn't even a way to share them across communities, but as a rule of thumb separate instances/companies shouldn't share templates. One way it might be possible in the future though would be by creating an special type of plugin to allow distribution of structures and templates.

Contributions are very welcome in this area emoticon
Joshua Asbury
RE: Management of Templates and Structures
December 8, 2007 12:55 PM
Answer

Joshua Asbury

LIFERAY STAFF

Rank: Expert

Posts: 497

Join Date: September 8, 2006

Recent Posts

Jorge Ferrer:

Contributions are very welcome in this area emoticon


Thanks, Jorge. I'm working on it now. What I'm thinking is modifying the instance creation code to copy the "default" structures and templates of my primary instance to the new one. That way, the new company will have something to start with....
Marcelo Ruiz Camauër
RE: Management of Templates and Structures
December 8, 2007 7:20 PM
Answer

Marcelo Ruiz Camauër

Rank: Junior Member

Posts: 78

Join Date: May 8, 2006

Recent Posts

Would it be possible to modify LR so that if the Group ID for the structure or template is something like "-1", it would be available everywhere, instead of just for that one community?
Jorge Ferrer
RE: Management of Templates and Structures
December 9, 2007 5:40 PM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2756

Join Date: August 31, 2006

Recent Posts

Hi Josh,

That's a very good idea! We could even apply the same idea for other entities. Just make sure that there is a way to turn it off, or even that you can choose for every template whether to copy it or not.
Jorge Ferrer
RE: Management of Templates and Structures
December 9, 2007 5:45 PM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2756

Join Date: August 31, 2006

Recent Posts

Hi Marcelo,

What we've though is very similar but more flexible. We are planning to create a new type of 'group' to represent shared scopes. Unfortunately we haven't had the time to implement it yet.
Joshua Asbury
RE: Management of Templates and Structures
January 4, 2008 10:48 AM
Answer

Joshua Asbury

LIFERAY STAFF

Rank: Expert

Posts: 497

Join Date: September 8, 2006

Recent Posts

Jorge Ferrer:
Hi Josh,

That's a very good idea! We could even apply the same idea for other entities. Just make sure that there is a way to turn it off, or even that you can choose for every template whether to copy it or not.



....almost there..........
Jakob Hohlfeld
RE: Management of Templates and Structures
January 9, 2013 2:37 AM
Answer

Jakob Hohlfeld

Rank: New Member

Posts: 10

Join Date: October 8, 2012

Recent Posts

Jorge Ferrer:
Hi Josh,

Right now there isn't even a way to share them across communities, but as a rule of thumb separate instances/companies shouldn't share templates. One way it might be possible in the future though would be by creating an special type of plugin to allow distribution of structures and templates.

Contributions are very welcome in this area emoticon



Gibt es hierbei irgendwelche Fortschritte? Ich benutze Liferay 6.0 EE und würde gerne ebenfalls Templates und Structures ggf. via Hook bzw. Theme/Portlet deployen.

Gruß
JH