Creating new template pages

Register an Account
Reply
 
Thread Tools Display Modes
  #11 (permalink)  
Old 05-31-2008, 02:39 AM
Bargainhunter's Avatar
Casual Pligger
Pligg Version: 9.9
Pligg Template: yget
 
Join Date: May 2008
Posts: 36
Quote:
Originally Posted by chuckroast View Post
If you look at faq.php and faq-eng_center.tpl you can see how everything is called, you can also copy those and create a new name, edit the php file to point to the newly named tpl file and just add anything you want in there to easily create new pages. Then you can freely add links to those pages anywhere you want..
Perfect, thank you
Reply With Quote
  #12 (permalink)  
Old 01-10-2009, 08:11 AM
Casual Pligger
 
Join Date: Dec 2008
Posts: 36
Question about creating custom pages:

How do I call the pages via a link?

For example I have created a php file called "stuff.php" and similar template file. If I enter www.mysite.com/stuff.php the template file loads - but this is not how other pligg url's are displayed - ideally it should disaply as www.mysite.com/stuff
Reply With Quote
  #13 (permalink)  
Old 01-23-2009, 07:33 PM
New Pligger
 
Join Date: Jul 2007
Posts: 12
Quote:
Originally Posted by thefandango View Post
Question about creating custom pages:

How do I call the pages via a link?

For example I have created a php file called "stuff.php" and similar template file. If I enter www.mysite.com/stuff.php the template file loads - but this is not how other pligg url's are displayed - ideally it should disaply as www.mysite.com/stuff
You have to add this to your htaccess:

Code:
RewriteRule ^stuff/?$ stuff.php
Reply With Quote
Reply

Thread 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 03:05 PM
Template Files Yankidank Wiki Articles 1 12-06-2008 03:14 PM
help:You may have typed the template name wrong or it does not exist llmsn Questions and Comments 8 10-28-2008 12:41 AM
Error: You may have typed the template name wrong or it does not exist. phlexus Questions and Comments 2 06-02-2007 02:42 AM
9.1 :: Errors keep pouring in after succesfully Creating Tables The Edifier Questions and Comments 1 05-01-2007 02:15 PM


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