- Title: Member
- Status: Offline
- Registered: 2008-10-16
- Posts: 56
Topic: Add a new page
Hi,
I would like to add new pages to the jobberbase.
I used the integrated textile and added a new page. Now i guess i have to manualy add the permalink to the
_templates\footer.tpl i guess?
The next Q is..if i want to do a page without using the internal text edditor, how should i structure the page...so that the title, keywords ..ets would be in the right place?
- Title: Senior Contributor
- Status: Offline
- From: Netherlands
- Registered: 2008-11-16
- Posts: 378
Re: Add a new page
You don't have to include anything. Just write the content of the page and press 'modify page' to save it. Enter the keywords and description at the top of the 'Write new page'.
Problems solved?
- Title: Member
- Status: Offline
- Registered: 2008-10-16
- Posts: 56
Re: Add a new page
evertsemeijn wrote:You don't have to include anything. Just write the content of the page and press 'modify page' to save it. Enter the keywords and description at the top of the 'Write new page'.
Problems solved?
I have to to add the permalink also to the footer.tpl right?
when i was asking about the new page ..i was thinking if i want to do a new page using other editor and just add the static page in the filesystem...
- Title: Senior Contributor
- Status: Offline
- From: Netherlands
- Registered: 2008-11-16
- Posts: 378
Re: Add a new page
Oke, I had your question wrong. I you want all your articles to be displayed in the footer you could use
Code:{foreach from=$articles item=article}
<li><a href="{$BASE_URL}{$article.url}/" title="{$article.page_title}">{$article.title}</a></li>
{/foreach}
If you only want to add one page you can use
Code:<a href="{$BASE_URL}{$articles.about.url}/" title="{$articles.about.page_title}">{$articles.about.title}</a>
where you need to replace 'about' with the slug of your article. You can also hardcode the link by adding
Code:<a href="{$BASE_URL}about/" title="This is the about link title">About</a>
(Replace about with your article title).
Your page is being saved in the database so I would advice you to keep using the editor (write in Word than copy and paste in TinyMCE) or dive into the SQL and write it in a texteditor.
Posts [ 4 ]
Guest posting is disabled. You must login or register to post a reply.