Topic: New pages?

Hello!

I just bought this chevereta script and now i have little problem. How i can add new pages on the navigation? Now there is two pages and i want to add more..

Last edited by mambo (2011-07-13 16:47:36)

Thumbs up

Re: New pages?

Follow the documentation guide: http://chevereto.com/docs#!pages-setup

rodolfoberrios.com | PLEASE use Tech Support forums to ask for support!

Re: New pages?

Thanks! I got a made new page but its now on the footer. And i wont this page button see on the header navigation. How i do that?

Last edited by mambo (2011-07-14 08:33:34)

Thumbs up

Re: New pages?

goto page_config.php

$pages_config = array (
    'about'     => array('live' => true, 'title' => 'About Us'),
    'tos'         => array('live' => true, 'title' => 'Terms of Service'),
    'contact'    => array('live' => true, 'title' => 'Contact'),
);

?>

add your page:

$pages_config = array (
    'about'     => array('live' => true, 'title' => 'About Us'),
    'tos'         => array('live' => true, 'title' => 'Terms of Service'),
    'contact'    => array('live' => true, 'title' => 'Contact'),
        'newsite'    => array('live' => true, 'title' => ''),
);

?>

title have to be empty!

Now you can put a button on your header or wherever you want and link it to: http://www.yoursite.com/newsite

http://www.ur-upload.de | Current version: Chevereto 2.0.11 with a lot of mods.

Thumbs up

Re: New pages?

Okey, thanks! But the next biggest problmen are how i put this button on header..? Here is a pic what i want http://i5.aijaa.com/b/00437/8316516.jpg But how i do that?

finally i solved it...

go to content->themes->your theme->index.php

add after this

<li><a id="select-local" class="active"><?php show_lang_txt('button_local_upload'); ?></a></li>
<li><a id="select-remote"><?php show_lang_txt('button_remote_upload'); ?></a></li>

this code

<li><a id="select-newsite" href="/newsite">New site</a></li>

or how many new navigation buttons do you want!




EDIT: But that i dont know how to include navigation all the pages? Any idea?

haha i solved that too but it toke a time.. so i just copy that code my own maded pages

    <div id="content" class="pages page_tos">
    <div id="selector">
<ul>
<li>
<a id="select-local" href="www.yourpage.com">Local</a>
</li>
<li>
<a id="select-remote" href="www.yourpage.com">Remote</a>
</li>
<li>
<a id="select-yourpage" href="www.yourpage.com">Page1</a>
</li>
<li>
<a id="select-yourpage" href="www.yourpage.com">Page2</a>
</li>
</ul>
</div>

What do you think about that my trick roll ? Only it is now that code doesnt open pages so nicely how about when you going local to remote page. If you have better idea how to make that navigation all the pages please tell it. smile

Last edited by mambo (2011-07-15 06:28:41)

Thumbs up