Improve Copy Template with Style(s) as well

Do you have an idea for the Joomla community that you can help implement? Discuss in here.
Forum rules
Global Rules
Posting guidelines for this board <-- please read before posting.

Joomla Idea Pool <-- Add your suggestions for future versions of Joomla and vote on current suggestions.
Locked
bruckland
Joomla! Apprentice
Joomla! Apprentice
Posts: 24
Joined: Sun Aug 16, 2015 10:05 pm

Improve Copy Template with Style(s) as well

Post by bruckland » Tue Aug 18, 2015 12:19 pm

I'd like to float an idea on how the action initiated by the "Copy Template" button in the Template Manager "Customise Template" window might be able to be improved. It might be possible for a dialog box (form) to be presented, showing a list of all the styles associated with the template being copied, including for each a checkbox, enabling one to indicate which style(s) one wished to copy to the new template. Then the procedure I described (adding rows to the database table and editing the two fields in each as they are added) could be fully automated.

The directory tpls would not need to be copied "lock stock and barrel" as now, but rather only those .php files contained in it which are needed for the styles checked in the dialog box would be duplicated in the new template.

The appropriate line in the file templateDetails.xml of the new template (line 112 in the case of purity_iii if installed using QuickStart) could also be edited as part of the process.
Last edited by imanickam on Tue Aug 18, 2015 12:29 pm, edited 1 time in total.
Reason: Split from the topic http://forum.joomla.org/viewtopic.php?f=713&t=893175

Locked

Return to “Joomla! Ideas Forum”