Halfagain IM Forums
May 22, 2012, 22:51 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Due to increasing spam we are forced to make this forum "Read Only". If you have an issue, most likely was discussed here. Use the Search function and try to find related discussions. If you can't find any helpful information, just email support at halfagain dot com"
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Use template to create separate page outside install directory  (Read 991 times)
0 Members and 2 Guests are viewing this topic.
jonyarbrough
Newbie
*

Karma: 10
Offline Offline

Posts: 13


WWW
« on: April 24, 2008, 19:51 »

Hi. I am using software that needs an index page for articles.  I want to create an article page that uses the SS template, but using the Pages option creates a dynamic page, so I can't use that as a link (I also need a separate directory for the articles).  I tried copying the template & saving it as php but the results aren't what I expceted.  the page is at http://onlineincomegenerators.com/articles/index.php.  If i put in after the closing tag, the result is as seen at the link above.  If I enclose the php tags and I get this error: Parse error: syntax error, unexpected '<' in /home/onlinein/public_html/articles/index.php on line 2

Is what I want possible?  Maybe I could hard code a link from the Pages to the directory?...

I would like the articles page to match the rest of the site...
TIA,
Jon
Logged

Don't pay too much for MRR & PLR products!
Download over 4.3 GB (a full DVD worth) of
Adsense, Templates, Ebooks, Graphics, Scripts
for only $50! Free report details how to get it all.
http://onlineincomegenerators.com/uses/stealthmoneymaker
dutchy
Newbie
*

Karma: 100
Offline Offline

Posts: 41


« Reply #1 on: April 28, 2008, 21:09 »

Hi Jon,
Just save the template as a php file and don't put in the
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!