- Posts: 20
- Thank you received: 0
Any questions about Documents Sellers, post it here .
Can't override the category looks
- scripto
- Topic Author
- Offline
- Junior Member
-
Less
More
2 years 6 months ago - 2 years 6 months ago #154380
by scripto
Can't override the category looks was created by scripto
Hi Tuan, I want to override the look of category via template override but most of the parts are loaded from common folder such as
So I have to override the core code (files under common folder components/com_dms/view/common) to get the modification what I want.
Is there a way that I don't have to override core files? So that my modifications don't get override every time there is an update?
Code:
echo DMSHelperHtml::loadCommonLayout('common/documents_default.php
Is there a way that I don't have to override core files? So that my modifications don't get override every time there is an update?
Last edit: 2 years 6 months ago by scripto.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
2 years 6 months ago #154407
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Can't override the category looks
Hello
The files from common folder can also be overridden like other files. Just move that modified file to PATH_TO_TEMPLATE/html/com_dms/common folder and it would be fine
Tuan
The files from common folder can also be overridden like other files. Just move that modified file to PATH_TO_TEMPLATE/html/com_dms/common folder and it would be fine
Tuan
Please Log in or Create an account to join the conversation.
- scripto
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 0
2 years 6 months ago #154422
by scripto
Replied by scripto on topic Can't override the category looks
- Tuan Pham Ngoc
- Offline
- Administrator
-
2 years 6 months ago #154462
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Can't override the category looks
Although it is not listed (due to a bit different in structure), the layout files on that common folder can still be overridden like any other layouts, don't worry
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.