G
G
Grizmar2014-05-20 14:05:29
CMS
Grizmar, 2014-05-20 14:05:29

How to change template path in Joomla CMS?

You need to write a plugin for Joomla CMS that loads a template from the /template_name/dir_name folder
instead of the standard /template_name.
I can not find where the template files are loaded, in order to change the path, please tell me.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Grizmar, 2014-05-20
@Grizmar

And what will the replacement of the element field give? And what to change it to, I did not quite understand.
I found a solution:
the JDocumentHTML class,
the _fetchTemplate () function
can be useful to someone.

P
propovednik, 2014-05-20
@propovednik

In the #__extensions table find your template and change the element field.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question