SOLVED !!! trying to use template overrides

  • Brian Mitchell
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 10 months ago - 8 years 10 months ago #82076 by Brian Mitchell
SOLVED !!! trying to use template overrides was created by Brian Mitchell
Greetings,
I am trying to override the view for the donation page layout using standard Joomla template overrides.
However, it looks like the view that needs updating is created here...
Code:
/components/com_jdonation/view/donation/tmpl/default.php
rather than here...
Code:
/components/com_jdonation/views/donation/tmpl/default.php
There is a view AND a views folder. The file needed for the override is in the wrong directory path?
I am just confirming that I understand this correctly and am not missing something.
1) Can you let me know if I am wrong and if there is a Joomla standard way of overriding the view that won't break with updates?
2) If I am correct, can I put in a feature request to use the Joomla standard file structure in a future version of the product?
Thank you,
Brian
Last edit: 8 years 10 months ago by Mr. Dam.

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

More
8 years 10 months ago #82098 by Dũng Nguyễn Việt
Replied by Dũng Nguyễn Việt on topic trying to use template overrides
Hello.
Please copy file from this folder: /components/com_jdonation/view/donation/tmpl/default.php
you want to this location:
templates/your-template/html/com_jdonation/donation/default.php
Thanks.

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

  • Brian Mitchell
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 10 months ago #82241 by Brian Mitchell
Replied by Brian Mitchell on topic trying to use template overrides
That is perfect. Thank you!

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

Moderators: Mr. DamDũng Nguyễn Việt