| Topic: | Search box on top postnuke silver |
|---|---|
|
EEjack
Freshman
Posts: 32 Posted: |
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
Professional
Posts: 771 Posted: |
Change search permission or use CTRL F and search for "search" in the code to find the table or div it's in |
|
EEjack
Freshman
Posts: 32 Posted: |
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
Professional
Posts: 501 Posted: |
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
Professional
Posts: 501 Posted: |
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
Freshman
Posts: 32 Posted: |
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
Professional
Posts: 501 Posted: |
Did you followQuoteUnregistered | HTMLblock:: | Please Sign In to view Site:: | Read 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
Freshman
Posts: 32 Posted: |
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
Professional
Posts: 501 Posted: |
Cheers, glad to help -- -- Teb -- Dutch Zikula Community Support questions in a Personal Message will be ignored. Use the forums at all times! |