Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Footer Banner?
  • Posted: 21.05.2003, 04:59
     
    Quintster
    rank:
    Freshman Freshman
    registered:
     December 2002
    Status:
    offline
    last visit:
    04.05.06
    Posts:
    10
    Well I'm offically stumpped.. so hopefully someone will be able to asist me. :D

    I am atempting to place a rotating banner in the footer (ie the extream bottom of the page) I've attempted to place

    Code

    pnBannerDisplay('2');

    in footer.php and also in the admin section to no avail.. however it does work in the footer.php file.. but i'm wanting to place a rotating banner in the same field under
    Administration>setings>Footer line:>
    where the following code is by defult:

    Code

    <br /><a href="http://www.postnuke.com" target="_blank"><img src="images/powered/postnuke.butn.gif" border="0" alt="Web site powered by PostNuke" hspace="10" /></a> <a href="http://php.weblogs.com/ADODB" target="_blank"><img src="images/powered/adodb2.gif" alt="ADODB database library" border="0" hspace="10" /></a><a href="http://www.php.net" target="_blank"><img src="images/powered/php2.gif" alt="PHP Scripting Language" border="0" hspace="10" /></a><br /><br />All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2002 by me<br />This web site was made with <a href="http://www.postnuke.com" target="_blank">PostNuke</a>, a web portal system written in PHP. PostNuke is Free Software released under the <a href="http://www.gnu.org" target="_blank">GNU/GPL license</a>.<br />You can syndicate our news using the file <a href="backend.php">backend.php</a>


    Is this currently posible at all? Thanks in advance.

    -Q
  • Posted: 21.05.2003, 05:06
     
    sleazy
    rank:
    Helper Helper
    registered:
     October 2002
    Status:
    offline
    last visit:
    03.12.04
    Posts:
    162
    i would just edit your theme.php and find where the footer function is at and the pop a pnBannerDisplay(); were every you want the banners to be displayed...

    --
    The possibility of physical and mental breakdown is now very real. No sympathy for the Devil, keep that in mind. Buy the ticket, take the ride.
  • Posted: 21.05.2003, 20:32
     
    jsivins
    rank:
    Helper Helper
    registered:
     August 2002
    Status:
    offline
    last visit:
    28.01.05
    Posts:
    181
    Look for the footmsg(); line in the theme.php and add the following for Footer Banners:

    pnBannerDisplay('2');
    echo "
    \n";
    footmsg();

    or

    footmsg();
    echo "
    \n";
    pnBannerDisplay('2');

    All depending if you want the banner on top or bottom of the footer message..

    --
    http://groups.yahoo.com/group/anpstuff/
  • Posted: 21.05.2003, 20:49
     
    Quintster
    rank:
    Freshman Freshman
    registered:
     December 2002
    Status:
    offline
    last visit:
    04.05.06
    Posts:
    10
    Thank you guys for the quick responces. :) I was hoping that most themes would support it by defult.. but you can't have everything.. hehe.. Thx again.

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula