Hi,
I have some little problems with static html pages and the search function:
1) Static html searchresults are only shown if there is at least one normal blogentry matching the given search criteria.
2) Static html searchresults don't print german chars like ü correctly. There comes something like an für instead.
4) I would like to change the format of the search result listing für static pages - where do I find the Template`?
Thanks so far
Greetings
Malte
Static HTML Page Plugin - Search
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Static HTML Page Plugin - Search
Hi!
What s9y version are you using? Whats the URL to your blog? Especially #2 shouldn't happen.
#4: See plugin_staticpage_searchresults.tpl inside the plugin dir.
Regards,
Garvin
What s9y version are you using? Whats the URL to your blog? Especially #2 shouldn't happen.
#4: See plugin_staticpage_searchresults.tpl inside the plugin dir.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Muskelkatermann
- Posts: 4
- Joined: Wed Jan 23, 2008 1:10 pm
Hi,
that's fast! Thanks.
S9Y Version is 1.2.1.
The URL ist:
http://87.106.184.110/Orthopedikum/blog/
Here is a static html page:
http://87.106.184.110/Orthopedikum/blog ... es/05.html
When you search for "Diagnose" you have 1 result from the Blog "Bilder" and the two static pages "Sonographie" and "Diagnostik"
When you search for "Krankengeschichte" there are no results, but this word is in the static page "Diagnostik".
greetings
that's fast! Thanks.
S9Y Version is 1.2.1.
The URL ist:
http://87.106.184.110/Orthopedikum/blog/
Here is a static html page:
http://87.106.184.110/Orthopedikum/blog ... es/05.html
When you search for "Diagnose" you have 1 result from the Blog "Bilder" and the two static pages "Sonographie" and "Diagnostik"
When you search for "Krankengeschichte" there are no results, but this word is in the static page "Diagnostik".
greetings
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Hm, when I search for "Internetseite", the Umlauts are displayed properly in the staticpage searchresults? Do you have a case where an umlaut is not shown properly?
About the missing search: Sadly this is template dependent. You would need to edit your content.tpl template file. Search for this:
and change it to this:
This hook is the one that will render the static page search results, and it would not be executed if no blog entries are found...
HTH,
Garvin
Hm, when I search for "Internetseite", the Umlauts are displayed properly in the staticpage searchresults? Do you have a case where an umlaut is not shown properly?
About the missing search: Sadly this is template dependent. You would need to edit your content.tpl template file. Search for this:
Code: Select all
<div class="serendipity_search serendipity_search_noentries">{$content_message}</div>
Code: Select all
<div class="serendipity_search serendipity_search_noentries">{$content_message}</div>
{serendipity_hookPlugin hook="entries_footer"}
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Muskelkatermann
- Posts: 4
- Joined: Wed Jan 23, 2008 1:10 pm