A
A
Andrey Raboy2016-02-21 22:32:05
Joomla
Andrey Raboy, 2016-02-21 22:32:05

Where can I find documentation on Joomla templates?

Guys, I'm completely confused on the Joomla offsite, I can't find a guide for developing templates. I would be grateful for any links, in any languages.
They are not interested in articles "how to make a Joomla template", but in the description of
$this->description, jdoc:include, etc.
main classes, properties and methods of
cps

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
neosapient, 2016-02-21
@raba

Hello Andrey.
You can start searching for articles by following the links on the page
https://docs.joomla.org/Portal:Template_Development
. I specifically recommend three articles
- https://docs.joomla.org/Creating_a_basic_index_file
and
- https://docs.joomla.org/Creating_a_basic_templateD ...
or
- https://docs.joomla.org/Creating_a_basic_Joomla!_t...
First, make a static page in .html
Then rename it to .php
And replace the pieces of code ( https://docs.joomla.org/Creating_a_basic_index_file )
- write <?php defined( '_JEXEC' ) or die( 'Restricted access' );?> in the header, etc.
- where the main data block needs to be inserted
- in all secondary data blocks it is necessary to insert
(it is understood that you come up with names for the positions yourself, for example "position-1" or "bottom")
Next, you need to tell Joomla itself that there are these very positions. To do this, templateDetails.xml is formed ( https://docs.joomla.org/Creating_a_basic_templateD... )
Next, upload your template to the hosting in the templates folder, by analogy with other templates.
And finally, through the Joomla admin panel, you set up the site to work with your template.
PS
If something doesn't work out, take the template from the templates folder and compare it with your code.
PPS
In general, look for video tutorials on developing templates on YouTube or torrent trackers. There must be many of them. For a week, the basic things for developing templates for Joomla can be learned calmly.
PPPS
In Joomla 3.x, CRM itself is separated from the API
Description of objects can be viewed at the link
https://api.joomla.org/cms-3/index.html
For example, for the JDocumentHTML object
https://api.joomla.org/cms- 3/classes/JDocumentHTML.html
See the properties of the JDocumentHTML object
- description
- template
- title
- link
, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question