Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jan 2009
    Posts
    119
    Plugin Contributions
    0

    Default How to delete the top search box?

    Hi

    I've just installed the mod "Alternative header 1.1a" and now i have "// ?>" between the logo and search box. I want to delete these characters and the search box so the cat tabs come directly after the logo. can somebody tell me how to do this?

    Site is at http://store.mmw.ie/

    Thanks in advance

  2. #2
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: How to delete the top search box

    You should be able to turn the search off in Admin>Tools>Layout Boxes Controller>sideboxes/search_header.php.........set to "off".

    It that doesn't take care of the "// ?>" you've got there, we'll look into that.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  3. #3
    Join Date
    Jan 2009
    Posts
    119
    Plugin Contributions
    0

    Default Re: How to delete the top search box

    Thanks that worked.

    I need to delete the image there as well.

  4. #4
    Join Date
    Jan 2009
    Posts
    119
    Plugin Contributions
    0

    Default Re: How to delete the top search box

    deleted duplicate post

  5. #5
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: How to delete the top search box

    Add this to your includes/templates/nightfall/css/stylesheet.css:

    Code:
    #navMainWrapper {display: none;}
    Looks like you've got an error causing the "// ?".......probably in one of these two files:

    includes/templates/nightfall/common/tpl_header.php
    or
    includes/templates/nightfall/common/html_header.php


    Check both of those files for errors. Have any problems finding it, pm me.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  6. #6
    Join Date
    Jan 2009
    Posts
    119
    Plugin Contributions
    0

    Default Re: How to delete the top search box

    Thanks

    I uploaded the file includes/templates/nightfall/common/tpl_header.php that came with the mod so I'll look into that first.

  7. #7
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: How to delete the top search box

    Have you made any changes to ANY php code ANYWHERE, lately? If so, do you remember which file it was in?
    Also, if so, THAT would be the place to start looking. The earlier was just suggestions.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  8. #8
    Join Date
    Jan 2009
    Posts
    119
    Plugin Contributions
    0

    Default Re: How to delete the top search box

    I've installed quite a few mods over the last week or so but this error only showed up after I moved the header so it looks to me like the error is in tpl_header.php

    Can you tell me what divs control this area so i can narrow it down or am i on the wrong track?

    is it navmain?

  9. #9
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: How to delete the top search box

    It could be anywhere in that file. If you'll pm me a copy, I'll help you look for it.

    Oh, wait......I think I see it. Look here:

    Code:
    <!--bof-header logo and navigation display-->
    //  <!--eof-drop down menu display-->
    
    ?&gt;
    <!--bof-navigation display-->
    You're going to need to take out the // and the ?&gt;

    Let me know if that's it.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  10. #10
    Join Date
    Jan 2009
    Posts
    119
    Plugin Contributions
    0

    Default Re: How to delete the top search box?

    I've searched the file and can't find that code. how did you find the error?

    Searched using some of your code and found this around line 92 tho, if it helps?

    Code:
    <!--bof-header logo and navigation display-->
    <?php
    if (!isset($flag_disable_header) || !$flag_disable_header) {
    ?>
    <?
    //<!--bof-drop down menu display-->
    //  <?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_drop_menu.php');?>
    //  <!--eof-drop down menu display-->
    ?>
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How to get rid of the Search Box way at the Top?
    By Zook25 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 13 Feb 2010, 05:32 PM
  2. How do I add my search box to the top bar?
    By bparker in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 1 Nov 2009, 01:40 AM
  3. Can't find the stuff above the top search box to delete or change it.
    By rayl in forum Customization from the Admin
    Replies: 2
    Last Post: 24 Jun 2009, 08:31 PM
  4. Need some help. Putting the search box at the top.
    By milobloom in forum General Questions
    Replies: 4
    Last Post: 18 May 2008, 01:07 AM
  5. how to get rid of the search box on the top?
    By lina0962 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 4 Feb 2007, 12:51 AM

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