So... I created my own. It's basic, but it works. Good for themes without searchbars. Requires Gallery's search module to be enabled to function, obviously.
Hello,
i use this searchbox modul in the sidebar and i have a problem with german >>Umlaute<< and >>German ß<<
When write "ü - ä - ö - ß" in the sidebar searchfield and click "Go", it's in the searchsite searchfield this = "%C3%BC - %C3%A4 - %C3%B6 - %C3%9F" and no or false search records.
I have tested the searchbox modul in the sidebar with the default theme.
In the original gallery3 searchbox in the header, it's no problem with this letters.
slart
Joined: 2013-11-11
Posts: 112
Posted: Tue, 2014-07-29 18:53
*Puh!
fixed the only Basic Latin (Unicode block).
i have no idea why. when i copy & paste the php code from the original gallery3 searchfield in the searchbox module view php file, than is all fine.
Posts: 5
So... I created my own. It's basic, but it works. Good for themes without searchbars. Requires Gallery's search module to be enabled to function, obviously.
Posts: 27300
Thanks for your contribution!
I have created a codex page: http://codex.gallery2.org/Gallery3:Modules:searchbox
It should show up on http://www.gallerymodules.com/ soon.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 112
Hello,
i use this searchbox modul in the sidebar and i have a problem with german >>Umlaute<< and >>German ß<<
When write "ü - ä - ö - ß" in the sidebar searchfield and click "Go", it's in the searchsite searchfield this = "%C3%BC - %C3%A4 - %C3%B6 - %C3%9F" and no or false search records.
I have tested the searchbox modul in the sidebar with the default theme.
In the original gallery3 searchbox in the header, it's no problem with this letters.
Posts: 112
*Puh!
fixed the only Basic Latin (Unicode block).
i have no idea why. when i copy & paste the php code from the original gallery3 searchfield in the searchbox module view php file, than is all fine.
modules/searchbox/views/searchbox_block.html.php:
(i have delete the "if album or item" function from the original gallery3 searchfield.)
Posts: 112
I have found an bug with IE. IE shows "NULL" from the database in the search box.
So it is better:
Additional, customize the searchfield and searchbutton (tested in gallery3 themes clean canvas).
The Search-Button greater:
edti "padding" in: themes/clean_canvas/css/screen_layout_base.css
The width for searchfield:
edit "padding" and "width" in: themes/clean_canvas/css/screen_layout_base.css