Keyword

Correct location for Custom Template

  • Olaf Veerman
  • Olaf Veerman's Avatar Topic Author
  • Offline
  • New Member
More
15 years 3 months ago #70550 by Olaf Veerman
Correct location for Custom Template was created by Olaf Veerman
I had understood from one of Fotis' Tweets, that the correct location for a custom template would be:

/templates/MYTEMPLATE/html/com_k2/MY_CUSTOM_TEMPLATE

Today I placed my template in that folder, but was not able to apply it to a category in Joomla's backend. It simply did not show up in the dropdown 'Select a template'.

Instead, I placed the template in:

/components/com_k2/templates/MY_CUSTOM_TEMPLATE

which did work for me.

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

More
15 years 3 months ago #70551 by Erebrum
Replied by Erebrum on topic Correct location for Custom Template
Hi,
if original path is
/components/com_k2/templates/MY_CUSTOM_TEMPLATE
then following analogy, if you put files in
/templates/MYTEMPLATE/html/com_k2/templates/MY_CUSTOM_TEMPLATE
folder they are showing up. I just double checked it and it is showing in drop down list. Didn't yet changed actual template files.

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

  • Olaf Veerman
  • Olaf Veerman's Avatar Topic Author
  • Offline
  • New Member
More
15 years 3 months ago #70552 by Olaf Veerman
Replied by Olaf Veerman on topic Correct location for Custom Template
Thanks Erebrum, this worked for me...

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

More
15 years 1 month ago #70553 by Gobezu Sewu
Replied by Gobezu Sewu on topic Correct location for Custom Template
Erebrum thanks
yours worked
the documentation at k2community.joomlaworks.gr/notes/Templating_in_K2 should be changed

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


Powered by Kunena Forum