?
Related to # 4725
Referenced as Related to: # 4723 # 4725
avatar sandstorm871
sandstorm871
5 Oct 2014

Steps to reproduce the issue

When you use the template overrides in Core Joomla following the process below.

Back End> Extensions > Template Manager > Select Templates Link > Select Your Template > Create Overrides Tab > Select Anything to override.

This will create an override for the specific module/component

You can modify this within the backend of Joomla, but you cannot create a second template override. Even after renaming the initial override from default.php.

Expected result

Should allow more than one template override for a module or component

Actual result

Will only allow you to add 1 template override, then when you try again, you get an error message saying "Template override exists"

System information (as much as possible)

Additional comments

Discovered at JDUK14, briefly discussed with @wilsonge

avatar sandstorm871 sandstorm871 - open - 5 Oct 2014
avatar wilsonge
wilsonge - comment - 5 Oct 2014

So currently it copies the entire folder across. Which definitely seems buggy. We should probably create a file iterator and loop through the files.

avatar brianteeman brianteeman - change - 5 Oct 2014
Category Templates (admin) Templates (site)
avatar brianteeman brianteeman - change - 5 Oct 2014
Status New Confirmed
avatar nicksavov nicksavov - change - 16 Oct 2014
Labels Added: ?
avatar wilsonge wilsonge - change - 16 Oct 2014
Category Templates (site) Components
avatar wilsonge
wilsonge - comment - 16 Oct 2014

Changed category to components as affects com_templates

This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4460.

avatar butterflydevelopment
butterflydevelopment - comment - 17 Oct 2014

Butterfly working on this.

This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4460.

avatar butterflydevelopment
butterflydevelopment - comment - 17 Oct 2014

Template model updated to copy all files (one by one to override directory), with a number in the file-name (displayed in success message).

This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4460.

avatar butterflydevelopment
butterflydevelopment - comment - 17 Oct 2014

Note that this bug has only been fixed in 3.4-dev branch and needs to be merged back to other 3.x branches.

avatar zero-24 zero-24 - close - 17 Oct 2014
avatar zero-24 zero-24 - close - 17 Oct 2014
avatar gunjanpatel gunjanpatel - change - 17 Oct 2014
Status Confirmed Closed
avatar jissues-bot
jissues-bot - comment - 17 Oct 2014
avatar jissues-bot jissues-bot - close - 17 Oct 2014
avatar jissues-bot jissues-bot - change - 17 Oct 2014
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2014-10-17 06:16:00
avatar gunjanpatel
gunjanpatel - comment - 17 Oct 2014

Closing in favour of #4723

avatar brianteeman brianteeman - change - 17 Oct 2014
Rel_Number 4725
Relation Type Related to
avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment