How to open the full story in a new page

Frequently Asked Questions (read only)

How to open the full story in a new page

Postby FI-DD » Sat Aug 12, 2006 7:30 am

1. Add this to Options -> User Friendly Urls:

[newpage]

post = "{year}/{month}/{day}/{title}.html"



2. Create a file newpage.php (must be the same name as in step 1) in your main Cutenews directory and put an include code in it.



3. In your template use {link=newpage/post} instead of {link=home/post} to link to the full story.



Edit:

If you replace newpage for example with ../newpage you can put newpage.php outside your main Cutenews directory.
User avatar
FI-DD
Admin
 
Posts: 2971
Joined: Thu Sep 22, 2005 11:27 am
Location: Germany

Return to FAQ



Who is online

Users browsing this forum: No registered users and 0 guests