Results 1 to 7 of 7

Thread: Pligg Pages

  1. #1
    Pligg Founder/Coder/Designer Yankidank's Avatar
    Joined
    Dec 2005
    Location
    San Francisco, CA
    Posts
    5,513
    Thanks
    Received:85
    Given: 14
    Site
    http://pligg.com/demo/

    Pligg Pages

    This page discusses the "Page" feature built into Pligg.
    The Facebook Module for Pligg CMS!
    Register, Login, and Submit Stories with Facebook. An absolute MUST HAVE for all Pligg sites!

  2. #2
    Pligg Founder/Coder/Designer Yankidank's Avatar
    Joined
    Dec 2005
    Location
    San Francisco, CA
    Posts
    5,513
    Thanks
    Received:85
    Given: 14
    Site
    http://pligg.com/demo/

    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.

    [h3]Database[/h3]
    Page data is stored in the same database table as story data, under pligg_links.

    [h3]Customization[/h3]
    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.

  3. #3
    Member raghhav's Avatar
    Joined
    Oct 2009
    Posts
    77
    Thanks
    Received:0
    Given: 0
    can you please mention the path to the static page folder.

  4. #4
    Pligg Founder/Coder/Designer Yankidank's Avatar
    Joined
    Dec 2005
    Location
    San Francisco, CA
    Posts
    5,513
    Thanks
    Received:85
    Given: 14
    Site
    http://pligg.com/demo/
    There is no static page folder. Pages are stored in the database's pligg_links table alongside normal stories.
    The Facebook Module for Pligg CMS!
    Register, Login, and Submit Stories with Facebook. An absolute MUST HAVE for all Pligg sites!

  5. #5
    New Pligger litehouse's Avatar
    Joined
    Apr 2010
    Posts
    8
    Thanks
    Received:0
    Given: 0
    How do visitors find the static pages? Do you need to update the templates to get the links into the menus or is their a mechanism for making that happen automatically?

  6. #6
    New Pligger fpsystems's Avatar
    Joined
    Jan 2011
    Posts
    9
    Thanks
    Received:0
    Given: 0
    Quote Originally Posted by Yankidank View Post
    This page discusses the "Page" feature built into Pligg.
    How do you display a link to the pages on the navigation menu / bar. Even with the default Pligg template, I do not see a link being displayed to the pages we have created.

    Thanks

  7. #7
    Pligg Founder/Coder/Designer Yankidank's Avatar
    Joined
    Dec 2005
    Location
    San Francisco, CA
    Posts
    5,513
    Thanks
    Received:85
    Given: 14
    Site
    http://pligg.com/demo/
    There is no automatic link insertion, because everyone might have a different idea on where a link should be placed in their templates. You must manually insert a link using HTML code in your template files.
    The Facebook Module for Pligg CMS!
    Register, Login, and Submit Stories with Facebook. An absolute MUST HAVE for all Pligg sites!

Similar Threads

  1. how to add Commenting to Pligg pages
    By Stirling in forum Questions & Comments
    Replies: 1
    Last Post: 06-26-2010, 08:40 PM
  2. pligg pages
    By chad90382 in forum Questions & Comments
    Replies: 0
    Last Post: 05-20-2010, 05:20 PM
  3. Pligg pages: Variables
    By oobie11 in forum Questions & Comments
    Replies: 3
    Last Post: 02-22-2010, 05:44 PM
  4. How to make a widget in pligg with pages.
    By janpatat in forum Questions & Comments
    Replies: 0
    Last Post: 02-01-2010, 12:33 AM
  5. Add New pages to the pligg script
    By archien in forum Questions & Comments
    Replies: 1
    Last Post: 10-26-2006, 07:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg