Advertisement

Administrator template overrides

Everything to do with Joomla! 3.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
Gloop
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Thu May 22, 2014 11:14 am

Administrator template overrides

Post by Gloop » Mon Oct 05, 2015 12:32 pm

I've modified

Code: Select all

administrator/components/com_media/views/images/tmpl/default.php
I'm now trying to implement it as an override for the default Isis template.

I've copied it to:

Code: Select all

administrator/templates/isis/html/com_media/images/default.php
but it's not working as I'd expect it to. The only way I can get it to work is if I delete/rename default.php in the core files, but otherwise it seems to be ignored.

What am I doing wrong?

Advertisement
User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44859
Joined: Sat Apr 05, 2008 9:58 pm

Re: Administrator template overrides

Post by Webdongle » Mon Oct 05, 2015 1:26 pm

Using the Template manager https://docs.joomla.org/J3.x:How_to_use ... _Overrides
The override is created in
\administrator\templates\isis\html\com_media\images\default.php

Editing
administrator/components/com_media/views/images/tmpl/default.php with xxxxx
override 01.JPG
\administrator\templates\isis\html\com_media\images\default.php with zzzzzz
override 02.JPG
The override is not applying because xxxx is still displayed
override 03.JPG
Addendum
One of the devs is on it https://groups.google.com/d/msg/joomla- ... __LTbyBgAJ
You do not have the required permissions to view the files attached to this post.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

Gloop
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Thu May 22, 2014 11:14 am

Re: Administrator template overrides

Post by Gloop » Mon Oct 05, 2015 2:32 pm

Excellent answer, many thanks. An additional cheers for also bringing it to the dev's attention.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44859
Joined: Sat Apr 05, 2008 9:58 pm

Re: Administrator template overrides

Post by Webdongle » Mon Oct 05, 2015 5:05 pm

Patch has been tested and RTC(Ready To Commit) http://issues.joomla.org/tracker/joomla-cms/8016 .

Normally it is not recommended to edit core files but for this bug it should be OK for you to make the simple edit in /administrator/components/com_media/controller.php
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

Advertisement

Locked

Return to “Templates for Joomla! 3.x”