Step 4 − After creating these two files, login to Joomla and click on Extension → Extension Manager and the following page will get displayed. The name = "top" is used to set the menu at the top. Here in the body section, the jdoc is used to include the output in Joomla from some parts of Joomla system. These lines are used to link the various stylesheets for the template in Joomla. This code is used to tell the browser which type of html page is being used and begins the HTML document by describing the language used in the website.īaseurl ?>/templates/template ?>/css/template.css" type = "text/css" /> This helps in executing all the Joomla pages.īaseurl ?>/templates/system/css/system.css" type = "text/css" />īaseurl ?>/templates/system/css/general.css" type = "text/css" />īaseurl ?>/templates/template ?>/css/template.css" type="text/css" /> Step 3 − Create a file called as index.php. − It takes the entire available folders in MyFirstTemplate folder. − It contains the available files and folders in MyFirstTemplate folder. Step 2 − Inside MyFirstTemplate folder, create a file called as templateDetails.xml, without this file the template will not get displayed in Joomla. Inside MyFirstTemplate folder, create 2 more folders named as images and CSS to save all the images and CSS files. Step 1 − Create a folder called MyFirstTemplate inside your Joomla → Templates folder. Creating Templatesįollowing are the simple steps to create templates in Joomla − In this chapter, we will study how to create a template in Joomla.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |