This Wiki entry will describe how to add a new template to your Pligg website.
Starting a New Template.
Create: /templates/TEMPLATENAME / directory, replacing TEMPLATENAME with your own template title.
Copy: The contents of a preexisting template of your choice. Make sure that you are copying a template that is compatible with yoru version of Pligg. (ex. /templates/wistie/)
Paste: The copied template contents of your choice into the new /templates/TEMPLATENAME / directory. This will function as a starting point for creating your new template and it will make the process a lot easier than trying to figure it out and write a template from scratch.
This step will include your template in the settemplate.php file so that it can be selected.
Open: /templates/templates.tpl
Copy/Paste the list item line for Wistie. Then rename Wistie to your template name: HTML Code:
<li><a href = "{$my_pligg_base}/settemplate.php?template=TEMPLATENAME">TEMPLATENAME</a></li>
Modifying a Template
Pligg offers a built in template editor (located at /admin/admin_editor.php), but we recommend that you make edits to the tpl files from your local computer and then uploading the altered .tpl files to your server when making changes.
The quickest way to change the look of your site is to simply modify the stylesheet file (.css), by editing only that file you can dramatically change the look of site. For some templates, replacing images is a quick way to change the look of parts of a template.