Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Sep 2008
    Posts
    21
    Plugin Contributions
    0

    Default Add a banner in home page...beetween header and "september news"

    Hello zenners,
    i have a banner, but i don't know how i can add it.
    if you go http://lnx.tocly.com/store
    you can see that there is the header orange banner, and under there is the yellow table named "Le novità di Settembre"..
    how do can i insert a banner them and centered in the page?
    Which is the file that i have to change?
    thanks a lot

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Add a banner in home page...beetween header and "september news"

    Edit define_main_page.php in the Define Pages Editor in Admin - Tools, and put your code for the banner there.

  3. #3
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Add a banner in home page...beetween header and "september news"

    Quote Originally Posted by miitiicoo View Post
    Hello zenners,
    i have a banner, but i don't know how i can add it.
    if you go http://lnx.tocly.com/store
    you can see that there is the header orange banner, and under there is the yellow table named "Le novità di Settembre"..
    how do can i insert a banner them and centered in the page?
    Which is the file that i have to change?
    thanks a lot
    You'll need to use admin -> tools -> banner manager

    to set up and activate your banner.

    Once you've done that you need to go to admin -> configuration -> layout settings

    and assign your new banner to Banner Display Groups - Header Position 3

  4. #4
    Join Date
    Sep 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Add a banner in home page...beetween header and "september news"

    Perfect.. I did it!!!!


    Quote Originally Posted by clydejones View Post
    you'll need to use admin -> tools -> banner manager

    to set up and activate your banner.

    Once you've done that you need to go to admin -> configuration -> layout settings

    and assign your new banner to banner display groups - header position 3

  5. #5
    Join Date
    Sep 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Add a banner in home page...beetween header and "september news"

    Ok... but just a question.. If the banner is not an image, but an .swf file, how can i add it in the home page?
    i cannot import it by admin--> banner...

    thanks to all

  6. #6
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Add a banner in home page...beetween header and "september news"

    Quote Originally Posted by miitiicoo View Post
    Ok... but just a question.. If the banner is not an image, but an .swf file, how can i add it in the home page?
    i cannot import it by admin--> banner...

    thanks to all
    You'll need to do as stevesh indicated in his post above

  7. #7
    Join Date
    Sep 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Add a banner in home page...beetween header and "september news"

    perfect... i modify the tpl_main_page with this code and IT WORKS!!!
    WONDERFUL!!!

    <div id="bannerThree">

    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase= "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version= 6,0,29,0" width="425" height="200">
    <param name="movie" Value="includes/templates/tocly/images/banner_centrale.swf">
    <param name="quality" value="high">
    <param name="SCALE" value="exactfit">
    <embed src="includes/templates/tocly/images/banner_centrale.swf" width="425" height="200" quality="high"
    pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" scale="exactfit">
    </embed></object>
    </div>

  8. #8
    Join Date
    Sep 2008
    Posts
    21
    Plugin Contributions
    0

    Default Oh no!!!

    i'm sorry... but i'm checking my website and i see that the swf banner is visible also when i navigate in categories and products...
    I want only put it in home page..not in the entire site!!
    How can i do that????

  9. #9
    Join Date
    Sep 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Oh no!!!

    Nobody can help me?



    QUOTE=miitiicoo;613942]i'm sorry... but i'm checking my website and i see that the swf banner is visible also when i navigate in categories and products...
    I want only put it in home page..not in the entire site!!
    How can i do that????[/QUOTE]

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Add a banner in home page...beetween header and "september news"

    The variable for:
    $this_is_home_page

    goes a long ways ...

    PHP Code:
    if ($this_is_home_page) {
    // do it
    } else [
    // do something else or don't do it

    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How to remove ellipses ("...") after "All Products" and "New Products" on home page?
    By jthurman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 May 2010, 03:30 PM
  2. How to add additional link beside the "home" and "Login" page above logo?
    By corditreasures in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Apr 2010, 03:54 PM
  3. Change font color of "Home" and "LogIn" at navMainWrapper (Top of page)
    By Eglantin in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 31 Dec 2008, 12:19 PM
  4. Removing "Home" and "Login" from header.
    By damon.vit in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 6 Jan 2008, 12:05 AM
  5. Trying to add bg image behind "Home" and "Login"
    By violetcandy in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 22 Aug 2006, 01:54 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR