Joomla templates folder does not appear in the template manager

I am trying to create a template. I created a folder for the template in the templates folder, and also created two index.php and templateDetails.xml files

My index.php has the following code

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" > <head> <jdoc:include type="head" /> </head> <body> <jdoc:include type="component" /> </body> </html> 

and templateDetails.xml has the following code, which yes, I copied it because beginner.

 <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE install PUBLIC "-//Joomla! 1.5//DTD template 1.0//EN" "http://dev.joomla.org/xml/1.5/template-install.dtd"> <install version="3.1.5" type="template"> <name>template _tut</name> <creationDate>31-01-2009</creationDate> <author>Nettut Fan</author> <authorEmail> your@email.com </authorEmail> <authorUrl>http://www.siteurl.com</authorUrl> <copyright>You 2009</copyright> <license>GNU/GPL</license> <version>1.0.0</version> <description>Template Tut</description> <files> <filename>index.php</filename> <filename>templateDetails.xml</filename> <filename>css/template.css</filename> </files> <positions> <position>breadcrumb</position> <position>left</position> <position>right</position> <position>top</position> <position>user1</position> <position>user2</position> <position>user3</position> <position>user4</position> <position>footer</position> </positions> </install> 

My version of joomla is 3.1.5, and despite the above steps, my templates folder does not appear in the template manager.

+4
source share
1 answer

You need to install the template in order to fully register it.

There are two ways to do this:

  • Download files, write them down, and install, like any other extension.
  • In the Joomla backend, go to the " Extension Manager " section, then " Open ." This will detect the removed extensions and add your template to the list. check it out and install it

Hope this helps

+2
source

Source: https://habr.com/ru/post/1497545/


All Articles