Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Joshua Asbury
Management of Templates and Structures
29. November 2007 06:00
Antwort

Joshua Asbury

LIFERAY STAFF

Rang: Expert

Nachrichten: 497

Eintrittsdatum: 8. September 2006

Neue Beiträge

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
3. Dezember 2007 23:58
Antwort

Jorge Ferrer

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 2768

Eintrittsdatum: 31. August 2006

Neue Beiträge

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
8. Dezember 2007 12:55
Antwort

Joshua Asbury

LIFERAY STAFF

Rang: Expert

Nachrichten: 497

Eintrittsdatum: 8. September 2006

Neue Beiträge

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
8. Dezember 2007 19:20
Antwort

Marcelo Ruiz Camauër

Rang: Junior Member

Nachrichten: 78

Eintrittsdatum: 8. Mai 2006

Neue Beiträge

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
9. Dezember 2007 17:40
Antwort

Jorge Ferrer

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 2768

Eintrittsdatum: 31. August 2006

Neue Beiträge

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
9. Dezember 2007 17:45
Antwort

Jorge Ferrer

LIFERAY STAFF

Rang: Liferay Legend

Nachrichten: 2768

Eintrittsdatum: 31. August 2006

Neue Beiträge

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
4. Januar 2008 10:48
Antwort

Joshua Asbury

LIFERAY STAFF

Rang: Expert

Nachrichten: 497

Eintrittsdatum: 8. September 2006

Neue Beiträge

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
9. Januar 2013 02:37
Antwort

Jakob Hohlfeld

Rang: New Member

Nachrichten: 10

Eintrittsdatum: 8. Oktober 2012

Neue Beiträge

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