2011-09-19, 04:46:35
hameau Wrote:I have a couple of issues with the Search plugin.
...
- In the search results, there is a rogue li tag appearing. ...
Thanks for the bug report. I didn't spot this - which was introduced with the "component for display" feature.
Solved in 2.1.2.
hameau Wrote:
- I would also like to clarify a couple of posts from earlier in this thread, about the ?lang=en query string on links in search results. Should the i18n=0 switch prevent the query string from being appended to the link ? This is on a site with only one language : I18N is added for the menu and page management functions.
Yes, that's right. Honoring this option was lost with 2.0. Corrected it in 2.1.2
hameau Wrote:
- The i18n files for I18N_Search don't allow the use of variations on the base language, thus en_GB is not recognised and if I want to make system-wide changes to, for example, the date format, I have to modify a distributed file (en.php).
Yes, you need to change the distributed file, but that would also be the case if en_GB was supported and included in the plugin and you wanted to change it.
The reason for the language without variation is that I can't envision a (GetSimple) site where you would have different versions of english (or spanish) for your visitors.
The request language is retrieved from the browser languages and compared with the supported languages: if we had a german (default language) web site with en_GB as second language, an american would see the german default version, as en and en_US don't match en_GB.
hameau Wrote:
- What's the difference between p and pm as excerpt specifiers, please ?
p = paragraphs
pm = paragraphs with more (i.e. a <p>...</p> is added, if there is more content)
Where did I document or use these modifiers?