Template Files

Register an Account
Pligg Chat Room
 
 
LinkBack Article Tools Display Modes
  #1 (permalink)  
Old 12-06-2008, 02:14 PM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 3,803
Send a message via AIM to Yankidank Send a message via Skype™ to Yankidank
Reserved first post.

Now Available: Facebook Connect Module !
Reply With Quote
  #2  

Template Files

« Previous Chapter   Templates

Template Files:
Below is a list of all of the template files included with Pligg followed by a description for each file. This should make it easier for beginners to figure out what files they will want to edit.

Because Pligg is a very advanced content management system, there are a large number of template files that control the look of your Pligg website. Not only are there templates in the /templates folder of your Pligg site, but modules will commonly have their own template files which you will find in the module directory. For example, the template for the captcha on the registration page will be controlled through a template file located somewhere in the /modules/captcha/templates folder.

 

Templates - Contents

/sidebar_modules/



This is a directory used to store several small template files that are known as "sidebar widgets". These files add small content blocks to the sidebar area such as a login or search form.

blank.tpl



This file is used when there isn't any data to display in the main body area.

comment_form.tpl



This form generates the comment form, which is included at the bottom of a story page.

comment_show.tpl



This form displays comments at the bottom of a story.

edit_comment_center.tpl



This template controls the style for when a user or admin edits a comment.

edit_group_center.tpl



This template is for editing groups information such as the group name, description, avatar and privacy type.

editlink_edit_center.tpl





footer.tpl



This template is for the bottom of the template, typically where copyright information is displayed.

group_center.tpl



This template controls the main Group listing page. This is the page that shows all of the groups for the site.

group_story_center.tpl





header.tpl



This file usually contains the site name, logo, search box, categories and other navigational links.

index_center.tpl





link_summary.tpl



This file handles most of the story content. Everything from the story title, to what tags the story has.

live_center.tpl



This is the main live page, which shows the latest changes to the site.

live_comments_center.tpl



This is the comments live page, which displays the latest comments added to the site.

live_js.tpl



This file handles the javascript for the live page. Usually you will only want to edit the hexadecimal color codes inside it.

live_published_center.tpl



This is used to render the live published page, which shows the latest published stories.

live_unpublished_center.tpl



This shows the live unpublished stories which have been recently submitted to the site.

login_center.tpl



This template controls the main login page.

page_mod.tpl



This template controls how pages added to your site through the admin page creator are displayed.

pligg.tpl



This is the main template file that controls the information in the tags and organizes what order other templates should be included.

profile_center.tpl



This template controls user profile pages, but not your own user profile. Your own profile, where you can edit the values, is handled by user_center.tpl.

recommend_small.tpl



This template is used when a user wants to recommend a story to a friend. This is a "story tool".

register_center.tpl



This is the main registration template file.

register_step_1.tpl



This is the registration complete template that alerts users to check their email to verify their email address.

rssfeeds.tpl



This template displays all of the published category RSS feeds.

search_advanced_center.tpl



This template controls the advanced search page feature for Pligg.

search_center.tpl



This is the template file for search results.

settemplate_center.tpl



This template displays what templates are available for users to change to.

sidebar.tpl


This template will allow you to edit the third column of the wistie template.


sidebar2.tpl


This template allows you to edit the second column of the wistie template.


sidebar_comments.tpl


This is an individual template for the sidebar comments, which is by default on the second column.


sidebar_comments_wrapper.tpl


If you need to change the overall look like width, headlines color than this is the template to edit.


sidebar_stories.tpl


This tempalte handles how the text is display on upcoming / published stories available on your seond column.


sidebar_stories_wrapper.tpl


If you need to change the overall look such as the width, headline style than this is the template to edit, however this is only for
both published / upcoming stories displayed on the second column.


sidebar_stories_wrapper_top_today.tpl


Like the above, this is the template to edit if you want to change the design of Top stories displayed on the second column.


story_center.tpl


This template handles the overall look on the full story page. You may also want to read: story.php. Please note that you may also need to change link_summary.tpl depending on your
needs.


submit_errors.tpl


When someone submitted a story but pligg detected an error on the submission the user will be redirected to an error page. This is
the template to edit if you want change the overall look of that page. If you wish to change the text being used, please see lang_english.conf


submit_extra_fields.tpl





submit_groups.tpl





submit_step_1.tpl


This template handles the overall look on step 1 when a user submitted a story, unless you have disable this via your admin panel.


submit_step_2.tpl


Like the above this template handles the overall look on the second page.


submit_step_3.tpl


Same as the above except this template handles the overall look of step 3 which is the final step.


tag_cloud_center.tpl





template_details.php





topusers_center.tpl





topusers_data.tpl





upcoming_center.tpl





user_center.tpl



This is used for the user profile page when a user is viewing their own profile or editing their profile.

validation.tpl



This is the registration confirmation page when you have activated the email validation method from the admin panel. It will tell them that they need to check their email account for a verification link to activate their account.

« Previous Chapter   Templates

Contributors: mismeflight, Yankidank
Created by Yankidank, 12-06-2008 at 02:14 PM
Last edited by mismeflight, 02-27-2009 at 11:15 PM
1 Comments , 4830 Views
 

Tags
how to, template

Article Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
MacBlue Free Pligg Template by Yankidank Yankidank Free Templates 18 01-20-2009 02:05 PM
Need help with template files kyphasic Questions and Comments 0 08-28-2008 09:43 AM
yget template graphic files.. rsassoc Questions and Comments 2 10-14-2007 01:15 PM
Tutorial: Understanding Pligg Template Files Futurosity Questions and Comments 3 01-27-2007 02:22 AM
my template files unohoo Questions and Comments 4 10-14-2006 06:57 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development