• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

please help with footer link exchange

Status
Not open for further replies.

nasiporky

Chevereto Member
my footer not showing now some error maybe with link exchange code

and sometimes my direct upload wont budge it says no image uploaded
 
<?php
/* --------------------------------------------------------------------

Chevereto
http://www.chevereto.com/

@version 2.0.4
@author Rodolfo Berríos <http://rodolfoberrios.com/>

Copyright (C) 2008-2011 Rodolfo Berríos. All rights reserved.
<inbox@rodolfoberrios.com>

--------------------------------------------------------------------- */

/*
* pages_config.php
* Here you can set up your pages for Chevereto. You can set on/off status, doctitle, etc.
* By default this comes with 3 pages.
*
* NOTES >>
* - The array order is also the default sort order.
* - 'live' values can be true/false
* - 'title' values can use $lang[] values or any value.
*/


$pages_config = array (
'about' => array(
'live' => true,
'title' => 'About Us',
'footer'=>false
),
'tos' => array(
'live' => true,
'title' => 'Terms of Service',
'footer'=>false
),
'contact' => array(
'live' => true,
'title' => 'Contact',
'footer'=>false
),
'http://www.thakimhost.com' => array(
'live' => true,
'external'=>true,
'title' => 'Cheap Reliable Hosting',
'target'=>'_blank',
'footer'=>true
),
'http://www.thakims.info' => array(
'live' => true,
'external'=>true,
'title' => 'Free Links Directory',
'target'=>'_blank',
'footer'=>true
),
'http://www.emoneyspace.com/forum/index.php/topic,147326.0.html' => array(
'live' => true,
'external'=>true,
'title' => 'RageGFX Designs',
'target'=>'_blank',
'footer'=>true
),
'http://www.chaved.com' => array(
'live' => true,
'external'=>true,
'title' => 'Chaved Social Network',
'target'=>'_blank',
'footer'=>true
 
hmm have you tried when all targets are deleted?

at this moment there is no pages_cofig in your pages folder


edit://

-your php files in /pages don't have any includes (header and footer)

- i wouldn't put links in the pages_config, put them as html code (href.....) in your footer.php
 
for example you can add links like here:

Code:
<?php if(!defined('access') or !access) die('This file cannot be directly accessed.'); ?>
</div><!-- wrap -->

<div id="foot">
    <div id="in-foot">
        <div id="foot-content">
            <ul>
                <?php show_page_links('<li>'); ?>
            </ul>
            <a href="http://www.mylink.com" target="_blank">Mylink</a> ///// or
            <p>(C) 2011 Chevereto</p>
<a href="http://www.mylink.com" target="_blank">Mylink</a>
        </div>
        <a href="http://chevereto.com/" target="_blank" id="powered">Powered by <img src="<?php echo show_theme_imgdir(); ?>chevereto.gif" alt="Chevereto" /></a>
    </div>
</div>

</body>

</html>
 
It seems that you can't add external links on the 0pages setup. I will check it for the next release 😉
 
Status
Not open for further replies.
Back
Top