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
Ability To Retire Old Templates and Fragments
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.
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.
Sounds like a good idea to me... Feature Request?
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.
But in general: Such a feature would be useful.
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.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™