Hello,

The search box on the zen_classic theme breaks search when any entry is tried out. It does bring up the search form, but the search shows as if you had gone to the search page rather than entered something. The entry form int the actual search page brings back good info, so my site is indexed and search is working properly.

I tried searching through the css and php, I can't really figure out how this is being called up.

CommentFileSizeAuthor
#3 Picture 8.png66.99 KBroam2345
#3 Picture 9.png43.18 KBroam2345

Comments

johnalbin’s picture

Title: zen classic: Search Box breaks search » Search Box doesn't return any results or warnings
Component: Subtheme: Zen Classic » Code
Priority: Normal » Critical

I can confirm this. It also happens in the base Zen theme.

johnalbin’s picture

Status: Active » Fixed

Zen's copy of search-theme-form.tpl.php was out-dated. It has been removed in CVS.

roam2345’s picture

Status: Postponed (maintainer needs more info) » Active
StatusFileSize
new43.18 KB
new66.99 KB

Hi there, been doing some work with zen on drupal 6. Im still having the same issue with the latest snap shot, as i need to over ride some out put in the search form so I am still using search-theme-form.tpl.php. I've upgraded my theme from the last release, I assume at a later stage there will be a new search-theme-form.tpl.php included in the release?

Here is some testing results.

- Zen core search works in both theme and block search.
- Sub them in Zen theme search is broken (Picture 9.png), but the block search works (Picture 8.png).
- when searching via theme search for "help" instead of going to examplesite.com/search/node/help we get directed to examplesite.com/search/node/

Regards.

johnalbin’s picture

Component: Code » Subtheme: Zen Classic
Status: Fixed » Postponed (maintainer needs more info)

Lathan, did you remove the out-dated search-theme-form.tpl.php from your subtheme?

roam2345’s picture

Status: Active » Postponed (maintainer needs more info)

Hehehe, just did a little bit more looking was updating my last post when you posted this. please refer to my updated post.

regards.

johnalbin’s picture

Status: Postponed (maintainer needs more info) » Fixed

No, there won't be a new search-theme-form.tpl.php in Zen. There's no need.

You just need to copy the search-theme-form.tpl.php file from modules/search/. That's the standard method in D6. Look for the template file in the module that created the theme hook and copy the file from there into your theme to override it.

The old zen one was from Drupal 5 and doesn't work (which is why it was removed.)

roam2345’s picture

Thanks sorry for the confusion.

:)

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.