Go Back   Pligg Forum > Pligg Help > Wiki Articles
 
 
LinkBack Article Tools Display Modes
  #1 (permalink)  
Old 09-03-2007, 03:16 PM
Yankidank's Avatar
Yankidank Yankidank is offline
Send a message via AIM to Yankidank Send a message via Skype™ to Yankidank
Pligg Founder
Pligg Version: 9.9
Pligg Template: Blue Green Str
 
Join Date: Dec 2005
Location: Savannah, GA
Posts: 1,359
Downloads: 58
Uploads: 6
Thanks: 88
Thanked 139 Times in 93 Posts
Adding Templates

Reserved for future use.
__________________
Need a Pligg Host?
Get 3 free months
when you buy a year of hosting.
Use the coupon PLIGG at either...
MidPhase hosting starting at $7.95/month.
ANhosting hosting starting as low as $4.95/month.

Last edited by Yankidank : 09-03-2007 at 05:15 PM.
Reply With Quote
Sponsored Links
Check out the New Templates at the Pligg Pro Shop.
  #2  

Adding Templates

« Previous Chapter   Templates
  Next Chapter »

This Wiki entry will describe how to add a new template to your Pligg website.
 

Templates - Contents

First steps to do before starting a template.


This step will include your template in the settemplate.php file so that it can be selected.
Open: /templates/templates.tpl
Add to the last line:
HTML Code:
TemplateName

Create: /templates/TemplateName/ directory, replacing TemplateName with your own template title.
Copy: The contentes of a preexisting template of your choice. (ex. /templates/mollio/)
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.

Let's take for example Digital nature, now the default template for the pligg beta 9.
The main file is pligg.tpl.
header.tpl and footer.tpl are, as you may guess the commun header and footer for all you site. the main content is index_center.tpl.
Each entry is located in the file link_summary.tpl
sidebar.tpl contain the modules located in the directory sidebar_modules

« Previous Chapter   Templates
  Next Chapter »

Contributors:
Created by Yankidank, 09-03-2007 at 03:16 PM
Last edited by Yankidank, 09-12-2007 at 08:31 PM
1 Comments , 1226 Views
 



Article Tools
Display Modes
Posting Rules
You may not create new articles
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Toggling between templates techsmeks Pligg Templates 3 07-19-2007 02:09 PM
yeget Templates blue Version to free download duckling Pligg Templates 4 06-08-2007 09:42 AM
9.5 Pligg Templates eon Pligg Templates 15 05-23-2007 02:56 AM
Looking for custom Pligg templates? paul411 Pligg Templates 0 11-14-2006 11:19 PM
Farcry - Mollio CSS Templates hevnsnt Pligg Templates 4 05-03-2006 07:29 PM


LinkBacks Enabled by vBSEO 3.0.0