Pligg Pages

Register an Account
 
 
Article Tools Display Modes
  #1 (permalink)  
Old 08-10-2009, 01:29 PM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 4,934
Send a message via AIM to Yankidank
This page discusses the "Page" feature built into Pligg.

The Twitter Module for Pligg CMS!
Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites!
Reply With Quote
  #2  

Pligg Pages

Pligg Pages are used to display static content. Examples of pages might be an about page, terms of use, license and other pages that don't require comments, votes and other features that Pligg stories use.

When you add a page to your site, a link to that page IS NOT placed in your template automatically. We do not insert a link because each person or template author might have a different opinion on where a link should go, or whether the page even deserves a link. We leave it up to each individual user to insert a link to their pages using their templates.

Database


Page data is stored in the same database table as story data, under pligg_links.

Customization


If you would like to use of {php} and other smarty tags in pages you must change the line in page_center.tpl from
Code:
{$page_content}
to
Code:
{eval var=$page_content}
After making this change you will then be able to embed PHP and Smarty code into the content area of your page.


Contributors: Yankidank
Created by Yankidank, 08-10-2009 at 01:29 PM
Last edited by Yankidank, 02-04-2011 at 12:15 PM
6 Comments , 3951 Views
 

Article Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pligg integration with SMF Forum autoinc Questions and Comments 66 08-27-2010 04:04 AM
SuperGu Attempting to Copyright Pligg Code, Sends C&D Yankidank Questions and Comments 30 04-29-2007 11:33 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