RE: Ability To Retire Old Templates and Fragments

Lee Jordan, modified 6 Years ago. Expert Posts: 449 Join Date: 5/26/15 Recent Posts
Sometimes templates just get junked, corrupted or outdated / obselete. Because they can't be deleted it would be nice to have a toggle on each template / structure to "recall" the template so users don't go forward and continue to use it. It would still need to remain in the system so that users content continues to display. The same issue faces ADT's web content templates and probabbly fragments and collections going forward. Sometimes you just need to recall stuff.

I approached this by renaming all obselete web templates starting with the word "LEGACY" ... then using theme CSS to display none on those titles in menus we then tell users only to use templates starting with the word global or local.
thumbnail
Jorge Ferrer, modified 6 Years ago. Liferay Legend Posts: 2871 Join Date: 8/31/06 Recent Posts
Sounds like a good idea to me... Feature Request?
thumbnail
Christoph Rabel, modified 6 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
I think, you can remove the view permissions on the structure. Than people (except for admins) can't use them anymore to create webcontent. I am not sure what happens with existing webcontent, whether editors can still edit them or not.

But in general: Such a feature would be useful.
Lee Jordan, modified 6 Years ago. Expert Posts: 449 Join Date: 5/26/15 Recent Posts
Feature request would be awesome yes. In the 7.2 upgrade I will bring across this functionality anyway otherwise there'd be tonnes of old templates showing back.