Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
removing search from top
  • Posted: 25.03.2005, 02:46
     
    yeorgoso
    rank:
    Freshman Freshman
    registered:
     March 2004
    Status:
    offline
    last visit:
    15.11.06
    Posts:
    24
    can anyone tell me how to get rid of the search box at the top of the extralite theme.

    don't ask me why but my users do not want the search box?
  • Posted: 27.03.2005, 03:00
     
    sevan
    rank:
    Freshman Freshman
    registered:
     March 2005
    Status:
    offline
    last visit:
    24.01.06
    Posts:
    14
    I am curious about this as well...posting to monitor replies by email.
  • Posted: 27.03.2005, 03:31
     
    MMaynard
    rank:
    Professional Professional
    registered:
     March 2003
    Status:
    offline
    last visit:
    10.09.08
    Posts:
    1313
    Cut the following code out of theme.php

    Code

    '<form action="modules.php" method="post">' .
             '<div>' .
             '<input type="hidden" name="name" value="Search" />' .
             '<input type="hidden" name="file" value="index" />' .
             '<input type="hidden" name="op" value="modload" />' .
             '<input type="hidden" name="action" value="search" />' .
             '<input type="hidden" name="overview" value="1" />' .
             '<input type="hidden" name="active_stories" value="1" />' .
             '<input type="hidden" name="bool" value="AND" />' .
             '<input type="hidden" name="stories_cat" value="" />' .
             '<input type="hidden" name="stories_topics" value="" />' .
             '<div style="text-align:right">' .
             '<span class="pn-normal">' . _SEARCH . '&nbsp;</span>' .
             "<input class=\"pn-text\" name=\"q\" type=\"text\" value=\"\" />&nbsp;\n" .
             '</div>' .
             '</div>' .
             '</form>' .


    --
    Zikula Themes
  • Posted: 27.03.2005, 05:37
     
    sevan
    rank:
    Freshman Freshman
    registered:
     March 2005
    Status:
    offline
    last visit:
    24.01.06
    Posts:
    14
    Thanks...that's what i figured.
  • Posted: 28.03.2005, 22:50
     
    yeorgoso
    rank:
    Freshman Freshman
    registered:
     March 2004
    Status:
    offline
    last visit:
    15.11.06
    Posts:
    24
    MMaynard

    Once again you have provided the solution.

    You are a credit to the community!

    Thanks again
  • Posted: 30.03.2005, 01:38
     
    loginius
    rank:
    Freshman Freshman
    registered:
     March 2005
    Status:
    offline
    last visit:
    25.04.05
    Posts:
    3
    Geez ... I should have read this before I spent time looking for it ...

    Anyways ... found it ...

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula