- templateDetails.xml
- index.php
-----------------------------------------------------------------
1. index.php
-----------------------------------------------------------------
<html>
<head>
<jdoc:include type="head" />
</head>
<body>
<jdoc:include type="message" />
<div class="center" align="center">Welcome to your own template</div>
<jdoc:include type="modules" name="debug" />
</body>
</html>
-----------------------------------------------------------------
-----------------------------------------------------------------
2. templateDetails.xml
-----------------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<install version="1.5" type="template">
<name>Name of the Template - zahid template</name>
<description>
This will be your first joomla template
</description>
<files>
<filename>index.php</filename>
<filename>templateDetails.xml</filename>
</files>
</install>
-----------------------------------------------------------------
After creating this two files , place it in a folder and copy this folder to the template folder inside the joomla folder.
- Go to your joomla site administrator panel.
- Go to Extensions -> Template Manager
- Choose on the radio button of your newly created template and select Default button to active the template .
- Go to the site or click Preview to see the results.
No comments:
Post a Comment