elgreco

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?

evertsemeijn

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?

Member of Jobberbase Development Team - Templates/Usability :: Looking for installation and/or custom design? :: Beautiful Wordpress themes

elgreco

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...

evertsemeijn

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.

Member of Jobberbase Development Team - Templates/Usability :: Looking for installation and/or custom design? :: Beautiful Wordpress themes