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

Dizkus

Bottom
Banners modification
  • Posted: 11.02.2004, 13:58
     
    Haxx
    rank:
    Freshman Freshman
    registered:
     August 2003
    Status:
    offline
    last visit:
    11.02.04
    Posts:
    3
    I need a modification to the banners mod. I want to be able to display a page of nothing but banners. (The admin should allow me to set how many) AND I want it to pull up random banners AND I want it to be able to be set as the default mod when you come to the site. How much work would be involved in something like this? is anyone willing to help me?
  • Posted: 11.02.2004, 21:05
     
    nate_02631
    rank:
    Professional Professional
    registered:
     September 2003
    Status:
    offline
    last visit:
    11.04.08
    Posts:
    3055
    Yep, you can create a blank module and insert whatever HTML and PHP to call the banners - and set it as your home page.... You could of course have the news or some other module as you home page and make a PHP center block as well with the content you need...

    Check out some theme PHP's but the function to call banners is:

    Code

    pnBannerDisplay(x);

    Where "x" is the "zone" # you assigned the banner in the Banners Admin (search forums or see pnAPI guide for more info)...

    You are truly evil, Haxx icon_evil

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...
  • Posted: 11.02.2004, 21:13
     
    ctimmer
    rank:
    Helper Helper
    registered:
     February 2003
    Status:
    offline
    last visit:
    11.06.08
    Posts:
    226
    You may want to take a look at the MultiImage module. With it you can have as many blocks as you want displaying random images and text.
    You can see a demo at:
    http://curttimmerman.net/pn/
    This has 2 multiimage blocks (upper right) and the news topic icons link to this module (hit refresh a couple of times).

    Information about the module at:
    http://curttimmerman…ead&order=0&thold=0

    Download at:
    http://noc.postnuke.…rojects/multiimage/

    There is a new version comming out soon with click reporting capabilities. I'm just finishing up the documentation which can be seen at:
    http://curttimmerman…tiImage/README.html
  • Posted: 11.02.2004, 21:46
     
    Haxx
    rank:
    Freshman Freshman
    registered:
     August 2003
    Status:
    offline
    last visit:
    11.02.04
    Posts:
    3
    Thanks, I had bookmarked this site to get the multiimage block before. (altho the theme of the site is gross) :) I really want to customize a mod as this is going to utimalty go on a clients website, so I guess I'm writting it.

    :twisted: Evil has it's place :twisted:

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula