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.
/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.