Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: need to find a way to insert html in top banner of main page

    Put it in the tpl_header.php for your custom template.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  2. #2
    Join Date
    Oct 2007
    Posts
    134
    Plugin Contributions
    0

    Default Re: need to find a way to insert html in top banner of main page

    thanks for that. where is this file located , whats the path?

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: need to find a way to insert html in top banner of main page

    /includes/templates/your_template/common/tpl_header.php.

    If you don't have a copy there yet, take it from /includes/templates/template_default/common/tpl_header.php, edit and save as /includes/templates/your_template/common/tpl_header.php.

  4. #4
    Join Date
    Oct 2007
    Posts
    134
    Plugin Contributions
    0

    Default Re: need to find a way to insert html in top banner of main page

    ok, found it now. looks a bit complex in there. where would i add my htnl code? any suggestions?

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: need to find a way to insert html in top banner of main page

    That depends on what you want to add, and where you want it to show up. The header elements are organized in code blocks marked off with identifying comments like <!--bof xxxx-->. They appear generally in the same order in the file as onscreen, so you can use them as a guide. For more detailed advice, we need more information from you.

  6. #6
    Join Date
    Dec 2004
    Location
    Wakefield. UK
    Posts
    89
    Plugin Contributions
    0

    Default Re: need to find a way to insert html in top banner of main page

    Quote Originally Posted by gjh42 View Post
    That depends on what you want to add, and where you want it to show up. The header elements are organized in code blocks marked off with identifying comments like <!--bof xxxx-->. They appear generally in the same order in the file as on screen, so you can use them as a guide. For more detailed advice, we need more information from you.
    Hi Glenn, i also want to do the same, the site is for a customer who wants a banner putting in the middle of the header. This is going to be an adult DVD site but there are no images on it yet.

    I haven't made the banner yet but it will fit within the header comfortably. I would really appreciate some help with the code.
    The site is here

    Many Thanks

  7. #7
    Join Date
    Aug 2007
    Location
    Fort Worth, Texas, United States
    Posts
    177
    Plugin Contributions
    0

    Default Re: need to find a way to insert html in top banner of main page

    I started off using a template that had most of the configuration I wanted and than went from their. Check out the templates under downloads. I believe there is one with a header banner.

 

 

Similar Threads

  1. v150 Removing top banner from main page
    By dkruidhof in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Apr 2015, 03:23 AM
  2. v154 How to move banner closer to footer or insert image on top of footer
    By justmusthave in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Feb 2015, 12:48 PM
  3. Changing main banner at the top
    By 2dog in forum Basic Configuration
    Replies: 4
    Last Post: 28 Dec 2009, 10:11 PM
  4. Main Page Bottom Banner Issue..need help
    By tom2u in forum General Questions
    Replies: 1
    Last Post: 19 Aug 2007, 01:40 PM

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