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)
You are not logged in. Please login or register.
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)
Follow the documentation guide: http://chevereto.com/docs#!pages-setup
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)
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
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
? 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. ![]()
Last edited by mambo (2011-07-15 06:28:41)
Powered by PunBB, supported by Informer Technologies, Inc.
Powered by PunBB