Keyword

Backend/Admin template override

  • Geraldo de Oliveira
  • Geraldo de Oliveira's Avatar Topic Author
  • Offline
  • New Member
More
4 years 9 months ago #174804 by Geraldo de Oliveira
Backend/Admin template override was created by Geraldo de Oliveira
Hi everyone,
Hope everything is fine :)

So, i was trying to override the admin/backend K2's template but it doesn't work.

More information: I've copied the default Joomla's admin template and created a new one.
I've copied the /administrator/components/com_k2/views/ content into /html/com_k2/ new template's folder.

When I edit the /items/default.php file at the backend nothing happens.
Already tried to empty the cache, setting the new template as default, checking the super user template option.

The curious thing is that all other templates, such as category, item, etc works. For example, if I edit /categories/default.php file, I'll see the results in backend.

Even If it edit the /administrator/components/com_k2/views/items/tmpl/default.php core file under nothing happens.
Where the heck that items template is? :)

Thanks a lot,
Best regards and have a nice weekend!

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #174812 by JoomlaWorks
Replied by JoomlaWorks on topic Backend/Admin template override
That's not possible :)

Triple check paths and files.

If you edit the core file and nothing changes it means your override works. You must just NOT see what you edit for some reason...

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Geraldo de Oliveira
  • Geraldo de Oliveira's Avatar Topic Author
  • Offline
  • New Member
More
4 years 9 months ago #174845 by Geraldo de Oliveira
Replied by Geraldo de Oliveira on topic Backend/Admin template override
:D

I've figured that out.
In this installation I'm using Multiple Categories from Web357 plugin. And it adds the multiple categories in the items layout so the override doesn't work because of the override from the plugin, locate at ~/plugins/system/k2multiplecategories/overrides/admin/components/com_k2/views/items/k2multiplecategories.php

I'll try to contact the developer.

Thanks again Fotis!
Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #174859 by JoomlaWorks
Replied by JoomlaWorks on topic Backend/Admin template override
In any case, I would advise not to modify the backend, even by editing override files.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum