How do i put a footer banner in drupal??

Discussion in 'Drupal' started by greatness008, Oct 13, 2007.

  1. #1
    plz help...thx dp fam
     
    greatness008, Oct 13, 2007 IP
  2. niknar1900

    niknar1900 Active Member

    Messages:
    147
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    75
    #2
    i would just make it a block, and set the region as "footer"
    Administer > Blocks > Add block
     
    niknar1900, Oct 13, 2007 IP
  3. Tearabite

    Tearabite Prominent Member

    Messages:
    4,629
    Likes Received:
    429
    Best Answers:
    0
    Trophy Points:
    300
    #3
    yah, that's the easiest way - but if you want to customize the placement a bit more, you could add it to the page.tpl file for your theme.
     
    Tearabite, Oct 14, 2007 IP
  4. greatness008

    greatness008 Well-Known Member

    Messages:
    1,099
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    145
    #4
    I tried that but then the block is placed on the right and its not centered :(
     
    greatness008, Oct 14, 2007 IP
  5. Tearabite

    Tearabite Prominent Member

    Messages:
    4,629
    Likes Received:
    429
    Best Answers:
    0
    Trophy Points:
    300
    #5
    i had that same problem.
    You can try putting it in page.tpl, but it's going to be a bit lower on the page.
     
    Tearabite, Oct 14, 2007 IP
  6. greatness008

    greatness008 Well-Known Member

    Messages:
    1,099
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    145
    #6
    can u tell me step-by-step how to do that...kind of a newbie...thx :D
     
    greatness008, Oct 14, 2007 IP
  7. Tearabite

    Tearabite Prominent Member

    Messages:
    4,629
    Likes Received:
    429
    Best Answers:
    0
    Trophy Points:
    300
    #7
    if you're a n00b, then step carefully and make sure you make a backup of everything before you touch it..

    In your \themes\(yourtheme) folder there is a file called page.tpl.php
    open this file in a plain-text editor, and near the bottom you'll see an DIV named 'footer' ... you can put whatever you want in there, just above the "/div" - you should be able to use a center tag or a span.
    if that still does not show up centered, then try adding it just BELOW that "/div" ..

    Remember, make a backup of the file before you touch it, and be sure to turn off caching if it's on and check your results.
     
    Tearabite, Oct 14, 2007 IP