Results 1 to 4 of 4

Random Headers?

This is a discussion on Random Headers? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I've been using this software for a while, and i've had a new request. Does anyone know how to do ...

      
  1. #1
    New Member
    Join Date
    Jan 2004
    Posts
    6
    Rep Power
    0


    Default Random Headers?

    I've been using this software for a while, and i've had a new request. Does anyone know how to do random header graphics? I'm sure there's a way to do so, probably not that complicated, but I need a stop-gap solution because I don't know php yet. Soon, but not yet. Any help would be greatly appreciated. Thanks!
    - Jim
    me@jimgriffin.org

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    Do you use BANNERS at all? That would give you a "RANDOM" logo/banner - just put it in the TOP of the page. Else you could hard code a random selector in header.php (aprox line 57 in MS2 version...)
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  3. #3
    New Member
    Join Date
    Jan 2004
    Posts
    6
    Rep Power
    0


    Default

    That's a good idea. I'm not using the banner feature in the software now. So you're saying, I would just load all the different headers into the banner script in the admin, and then place that code where the header graphic is now in header.php. Good job. I'm gonna try that.

  4. #4
    Lurker
    Join Date
    Feb 2004
    Posts
    1
    Rep Power
    0


    Default How to go about this?

    I also am looking to do the same thing, when I searched here on the forum and found this thread here, I thought that I could figure it out. But not knowing php that well, kinda a newbie at this, it didn't work out too well. I tried to copy the banner script in footer.php into the header.php, but I get errors on it. Can anyone tell me how they went about doing this? My site is basically stock out of the box, so there is no major changes there, all I wanted to do is make the header graphic useable by the banner feature within the admin section to schedule different banners for the season's/holidays. Also, I'd like to remove the 3 icons on the top right for account access, shopping cart and make the whole top the banner. Anyone's help on this will be appreciated.

Similar Threads

  1. 2 headers UGH!
    By AnnieChrist in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 03-24-2005, 05:06 AM
  2. Headers
    By lem in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 02-18-2005, 12:07 AM
  3. Remove box headers?
    By operadivamommy in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 12-01-2004, 10:04 AM
  4. trouble with headers
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 06-10-2004, 11:53 AM
  5. Random order number
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 11-09-2003, 11:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •