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

Dizkus

Bottom
Search box on top postnuke silver
  • Posted: 21.01.2007, 05:03
     
    EEjack
    rank:
    Freshman Freshman
    registered:
     November 2004
    Status:
    offline
    last visit:
    22.04.08
    Posts:
    32
    I would like to get rid of the "search" box at the top of the xanthia PostNuke silver theme.. Any help would be appreciated. I have my site set so unregistered on get the login in option, but if they type in that search box, they can get by registration.

    Thanx
    EEjack
  • Posted: 21.01.2007, 05:58
     
    bri
    rank:
    Professional Professional
    registered:
     April 2003
    Status:
    offline
    last visit:
    28.01.07
    Posts:
    771
    Change search permission
    or
    use CTRL F and search for "search" in the code to find the table or div it's in
  • Posted: 21.01.2007, 07:40
     
    EEjack
    rank:
    Freshman Freshman
    registered:
     November 2004
    Status:
    offline
    last visit:
    22.04.08
    Posts:
    32
    In the master template and the home template i removed the table and contents that contained, search...also contained the menu bar with home search FAQ and another. i removed them from both templates and still i have the search box in the top right corner.. also i went to permissions done

    unregistered searchblock:: .* none .... didn't work .... tried
    unregistered searchblock:: search:: none .... didn't work.

    Also went to the blocks in the xanthia config, tried to remove search from there, that didn't help either.


    I'm sure theres a way to do this, but i can't seem to find it

    Help Please!!

    thanx
    EEjack
  • Posted: 21.01.2007, 07:43
     
    Teb
    rank:
    Helper Helper
    registered:
     February 2005
    Status:
    offline
    last visit:
    06.05.08
    Posts:
    492
    The code to look for is already given in http://community.postnuke.com/module-Forum-viewtopic-topic-51454-start-0.htm#pid219563

    Can be found in /themes/PostNukeSilver/templates/master.htm (line 58) and /themes/PostNukeSilver/templates/modules/home.htm (line 55).

    Also, check the settings in http://community.postnuke.com/Wiki-TemplateEditing.htm

    --
    -- Teb
    -- Dutch PostNuke Community


    Support questions in a Personal Message will be ignored. Use the forums at all times!
  • Posted: 21.01.2007, 07:48
     
    Teb
    rank:
    Helper Helper
    registered:
     February 2005
    Status:
    offline
    last visit:
    06.05.08
    Posts:
    492
    Reason that the permissions did not work is because these permissions only are effective if you include a search block through the blocks interface. But the search block you are referring to is hard coded in the template. So you have to edit those instead.

    Deleting all cched and compiled templates should solve your problem though.

    --
    -- Teb
    -- Dutch PostNuke Community


    Support questions in a Personal Message will be ignored. Use the forums at all times!
  • Posted: 21.01.2007, 08:18
     
    EEjack
    rank:
    Freshman Freshman
    registered:
     November 2004
    Status:
    offline
    last visit:
    22.04.08
    Posts:
    32
    tried everything you said, search feature is still there, unregistered can by-pass registration and download
    When i remove the search lines from master and home, it changed nothing... i went to the site to show me the settings in the config... still nothing changed.

    EEjack
  • Posted: 21.01.2007, 08:38
     
    Teb
    rank:
    Helper Helper
    registered:
     February 2005
    Status:
    offline
    last visit:
    06.05.08
    Posts:
    492
    Did you follow

    Quote

    Unregistered | HTMLblock:: | Please Sign In to view Site:: | Read

    Unregistered | .* | .* | none
    in http://community.postnuke.com/module-Forum-viewtopic-topic-38719-start-0.htm#pid152793

    Please remember you should edit the master.htm and modules/home.htm in the filesystem (download it with FTP, change the files, and upload them to the server again), NOT within the Xanthia module.

    --
    -- Teb
    -- Dutch PostNuke Community


    Support questions in a Personal Message will be ignored. Use the forums at all times!
  • Posted: 21.01.2007, 08:56
     
    EEjack
    rank:
    Freshman Freshman
    registered:
     November 2004
    Status:
    offline
    last visit:
    22.04.08
    Posts:
    32
    Thanx Teb... after ftping and doing it out of the PostNuke enviroment, then ftp'n it back up.. everything is as you said it should be..
    I got a room in the back of the house if ya ever wanna be my coach!

    Thanx again
    EEjack
  • Posted: 21.01.2007, 09:04
     
    Teb
    rank:
    Helper Helper
    registered:
     February 2005
    Status:
    offline
    last visit:
    06.05.08
    Posts:
    492
    Cheers, glad to help

    --
    -- Teb
    -- Dutch PostNuke Community


    Support questions in a Personal Message will be ignored. Use the forums at all times!

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula