chrisdegrote

Topic: How to create a extra page?

Hi everybody I was wondering how I could create a new page for links. I know you can create a extra page in the admin panel. But I was wondering what I had to edit in the different PHP files to make the url work.
In advance thanx

putypuruty

Re: How to create a extra page?

Hi!

To add a page both to the header (top-right area of your site, on the same line as Site widget, About us, Contact) and footer (bottom area of your site), do the following:

NOTE: replace test with the URL that you've entered when you created the page in the admin section. The URL should not contain spaces and should be pretty simple and short like testimonials, premium_services.

- in _templates/header.tpl (around line 42) add this

Code:

<li><a href="{$BASE_URL}{$articles.test.url}/" title="{$articles.test.page_title}">{$articles.test.title}</a></li>

- in _templates/footer.tpl (around line 24) add this

Code:
<br /><a href="{$BASE_URL}{$articles.test.url}/" title="{$articles.test.page_title}">{$articles.test.title}</a>

Good luck!

chrisdegrote

Re: How to create a extra page?

Great explanation thanx