Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 23, 2019, 09:23:38 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Search only this topic
Advanced search
[2016-11-16] 4images 1.8 released
Translate this page with
Google
From
Auto detect
Arabic
Bulgarian
Chinese Simplified
Chinese Traditional
Catalan
Croatian
Czech
Danish
Dutch
English
Filipino
Finnish
French
German
Greek
Hebrew
Hindi
Indonesian
Italian
Japanese
Korean
Latvian
Lithuanian
Norwegian
Polish
Portuguese
Romanian
Russian
Spanish
Serbian
Slovak
Slovenian
Swedish
Ukrainian
Vietnamese
=>
To
العربية
български
Catala
česky
Dansk
Deutsch
Ελληνικά
English
Espanol
Suomi
Francais
हिन्दी
Hrvatski
Indonesia
Italiano
עברית
日本語
한국어
Lietuvių
Latviešu
Nederlands
Norsk
Polski
Portugues
Romană
Русский
Slovenčina
Slovensčina
српски
Svenska
Filipino
українська
Tiếng Việt
中文 (简体)
中文 (繁體)
Translate this page
From
Auto detect
Arabic
Bulgarian
Chinese Simplified
Chinese Traditional
Catalan
Croatian
Czech
Danish
Dutch
English
Filipino
Finnish
French
German
Greek
Hebrew
Hindi
Indonesian
Italian
Japanese
Korean
Latvian
Lithuanian
Norwegian
Polish
Portuguese
Romanian
Russian
Spanish
Serbian
Slovak
Slovenian
Swedish
Ukrainian
Vietnamese
>
To
العربية
български
Catala
česky
Dansk
Deutsch
Ελληνικά
English
Espanol
Suomi
Francais
हिन्दी
Hrvatski
Indonesia
Italiano
עברית
日本語
한국어
Lietuvių
Latviešu
Nederlands
Norsk
Polski
Portugues
Romană
Русский
Slovenčina
Slovensčina
српски
Svenska
Filipino
українська
Tiếng Việt
中文 (简体)
中文 (繁體)
Google
Arabic
Croatian
Dutch
English
French
German
Serbian
Spanish
Turkish
4images Forum & Community
4images Modifications / Modifikationen
Mods & Plugins (Requests & Discussions)
(Moderators:
mawenzi
,
Rembrandt
)
search_keyword doesn't pass on to next page on search
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: search_keyword doesn't pass on to next page on search (Read 1169 times)
kitty999
Newbie
Offline
Posts: 17
Thank You
-Given: 1
-Receive: 0
search_keyword doesn't pass on to next page on search
«
on:
July 26, 2017, 07:44:34 PM »
I put {search_keywords} in my search.html page and it works fine. When someone searches for something it displays the keyword.
My problem is this: when someone clicks the next page in search the {search_keyword} must get reset because it shows nothing. It only shows the keyword on that initial first search page.
Anyone have any ideas how to fix this?
Logged
http://www.yeprecipes.com
kitty999
Newbie
Offline
Posts: 17
Thank You
-Given: 1
-Receive: 0
Re: search_keyword doesn't pass on to next page on search
«
Reply #1
on:
August 05, 2017, 06:26:16 AM »
In case anyone is interested I think I figured it out!
In global.php find this:
$self_url .= "show_result=1";
And change it to this:
$self_url .= "show_result=1&search_fields=".$search_fields."&search_keywords=".$search_keywords;
------------------------
In search.php find this:
$link_arg = $site_sess->url(ROOT_PATH."search.php?show_result=1");
And change it to this:
$link_arg = $site_sess->url(ROOT_PATH."search.php?show_result=1&search_fields=".$search_fields."&search_keywords=".$search_keywords);
-------------------
Now you can place {search_keywords} as a title on your search page and it will work even when you go to the next page or if you use the sort mod to sort the images.
I'm using 4images 1.7 and so far it seems to work without a hitch
Logged
http://www.yeprecipes.com
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
4images Help / Hilfe
-----------------------------
=> FAQ, Tips
=> Error Messages / Fehlermeldungen
=> Bug Fixes & Patches
=> News & Announcements
-----------------------------
4images Issues / Ausgaben
-----------------------------
=> Feedback & Suggestions
=> Installation, Update & Configuration
=> Discussion & Troubleshooting
-----------------------------
4images Modifications / Modifikationen
-----------------------------
=> Mods & Plugins (Requests & Discussions)
=> Mods & Plugins (Releases & Support)
===> Plugins
===> Tutorials
=> Templates & Styles (Requests & Discussions)
=> Templates & Styles (Releases & Support)
=> Requests for paid modifications / Jobbörse
=> Language Packs
-----------------------------
International
-----------------------------
=> Arabic / قسم الدعم الفني
=> Bosnian/Croatian/Serbian & Slovenian
=> Español / Castellano
=> Français
=> Turkish / Türkçe
===> Modifikasyonlar
===> Eklentiler
===> Temalar
===> Görsel
-----------------------------
General / Allgemeines
-----------------------------
=> Programming
=> Chit Chat
Loading...