• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

New pages?

Status
Not open for further replies.

mambo

Chevereto Member
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..
 
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?
 
goto page_config.php

Code:
$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:

Code:
$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
 
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

Code:
<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

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
Code:
    <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 :rolleyes: ? 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. :)
 
Status
Not open for further replies.
Back
Top