how to add html banner in all pages of my offline web pages at once

Discussion in 'HTML & Website Design' started by jnf, Jan 11, 2010.

  1. #1
    how to add html banner in all pages of my offline web pages at once

    i have 1000 web pages ready to upload but now i want to edit & put a html banner on the top of every page any short method
     
    jnf, Jan 11, 2010 IP
  2. s_ruben

    s_ruben Active Member

    Messages:
    735
    Likes Received:
    26
    Best Answers:
    1
    Trophy Points:
    78
    #2
    You mean you want to add the banner in 1000 different files??
     
    s_ruben, Jan 11, 2010 IP
  3. einsteinsboi

    einsteinsboi Well-Known Member

    Messages:
    1,122
    Likes Received:
    76
    Best Answers:
    0
    Trophy Points:
    140
    #3
    I suppose you could do it programmatically with PHP. If they're PHP files it could be as simple as creating a header include and then programmatically writing a single include line at the top of each file. Have never done it but theoretically I think it's possible.
     
    einsteinsboi, Jan 11, 2010 IP
  4. jnf

    jnf Peon

    Messages:
    50
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    i mean that i have 1000 html pages with 3 diff background which is a complete web made in ms office or dreamviver but how to add any html banner on each page
    eg .allbestwallpapers. com

    it have 3 template 1 is on mail page 1 is in catagory and last is when we open a image

    so i also have a web llike that but i want to add a banner that will apear on all page ????

    is that the work of cpanel software like joumla worldpress or what????

    plz help me out
     
    jnf, Jan 12, 2010 IP
  5. Raaj Cena

    Raaj Cena Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You can use this software to get rid of your problem

    http://www.abacre.com/afr/

    I am using this software from last three years.

    I think this software will help you


    Thanks
    Raaj Cena :):)
     
    Raaj Cena, Jan 12, 2010 IP
  6. jnf

    jnf Peon

    Messages:
    50
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    i think it can only replace the tect but it cant add html banner at the specific place of all my html oflone pages like allbestwallpapers. com

    i have the web like that it have 1000 page i have on my pc but as he add the banner i also want to add but how as i think that person when he is making the web all his 3 tempplate he dublicate them with the banner as much he require pages but i forget to add that when i m making that but i m sorry 4 that but now i want to add but how
     
    jnf, Jan 12, 2010 IP
  7. ayushdeepsingh

    ayushdeepsingh Member

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #7
    Dude replacing methord is only opne of solution just reply ur mebber from text where u want to add
    if you want to add your banner under some div like example u want to add banner in <div><a href="www.google.com">Go Google</a></div>
    adding banner image under this div in all pages at once replace like this
    Find TEXT :
    <div><a href="www.google.com">Go Google</a></div>

    replace text :
    <div><img src="banner.jpg" />
    <br><a href="www.google.com">Go Google</a></div>

    So this will add banner in ur all pages ;)

    thanks ,
    Ayush
     
    ayushdeepsingh, Jan 12, 2010 IP
  8. jnf

    jnf Peon

    Messages:
    50
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8
    my mean is not that i mean if u have 1000 pages of a web ofline edit in dreamviewer or frount page u have to add a thing like pic banner video that will shown in every page what will u do do u eadit each page & then past pic in it or what any short method
     
    jnf, Jan 12, 2010 IP
  9. ayushdeepsingh

    ayushdeepsingh Member

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #9
    convert ur all page in php then use
    <?php include"otherpage.php"; ?>
     
    ayushdeepsingh, Jan 12, 2010 IP
  10. Grit.

    Grit. Well-Known Member

    Messages:
    1,424
    Likes Received:
    22
    Best Answers:
    1
    Trophy Points:
    110
    #10
    I'd recommend using php or a similar language to do so, aside from that, there's also something known as server side includes (SSI) that you can take a look into. But really having a template driven site with dynamic content is the best solution in honesty, rather than making 1000 + seperate files
     
    Grit., Jan 12, 2010 IP
  11. jnf

    jnf Peon

    Messages:
    50
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #11
    but sory to say can i ask that how i can use that i mean how i can convert ahh that my 1000 pages to php then i cn edit them all at once
     
    jnf, Jan 12, 2010 IP