Topic: Search box on top postnuke silver
EEjack
avatar
Freshman
Freshman
Posts: 32

Posted:
21.Jan 2007 - 05:03

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
bri
avatar
Professional
Professional
Posts: 771

Posted:
21.Jan 2007 - 05:58

Change search permission
or
use CTRL F and search for "search" in the code to find the table or div it's in
EEjack
avatar
Freshman
Freshman
Posts: 32

Posted:
21.Jan 2007 - 07:40

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
Teb
avatar
Professional
Professional
Posts: 501

Posted:
21.Jan 2007 - 07:43

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 Zikula Community


Support questions in a Personal Message will be ignored. Use the forums at all times!
Teb
avatar
Professional
Professional
Posts: 501

Posted:
21.Jan 2007 - 07:48

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 Zikula Community


Support questions in a Personal Message will be ignored. Use the forums at all times!
EEjack
avatar
Freshman
Freshman
Posts: 32

Posted:
21.Jan 2007 - 08:18

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
Teb
avatar
Professional
Professional
Posts: 501

Posted:
21.Jan 2007 - 08:38

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 Zikula Community


Support questions in a Personal Message will be ignored. Use the forums at all times!
EEjack
avatar
Freshman
Freshman
Posts: 32

Posted:
21.Jan 2007 - 08:56

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
Teb
avatar
Professional
Professional
Posts: 501

Posted:
21.Jan 2007 - 09:04

Cheers, glad to help

--
-- Teb
-- Dutch Zikula Community


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