4images Forum & Community
The forum for all 4images gallery administrators
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
[2023-01-23] 4images 1.10 released
Home
Help
Search
Login
Register
4images Forum & Community
»
4images Modifications / Modifikationen
»
Mods & Plugins (Requests & Discussions)
(Moderator:
mawenzi
) »
Category dropdown change
« previous
next »
Print
Pages: [
1
]
Author
Topic: Category dropdown change (Read 3188 times)
0 Members and 1 Guest are viewing this topic.
I_Want_Mods_2
Newbie
Posts: 21
Category dropdown change
«
on:
February 13, 2009, 06:41:26 PM »
When visitor choose something from category dropdown the page mysite.com/categories.php opens, but I want to open mysite.com/categories.php?cat_id=1 or mysite.com/categories.php?cat_id=2 or mysite.com/categories.php?cat_id=3...
«
Last Edit: February 14, 2009, 10:08:33 AM by I_Want_Mods_2
»
Logged
I use 4images 1.7.6
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Global Moderator
4images Guru
Posts: 17.849
mmm PHP...
Re: Help me - Category dropdown change
«
Reply #1 on:
February 14, 2009, 12:33:42 AM »
Simple.
In category_dropdown_form.html template replace
post
with
get
.
Done
[EDIT]
Unless there was a reason for using POST in this case, I will propose this change for future version.
Logged
Your first three "must do" before you ask a question:
Forum rules
FAQ
Error messages
Bug Fixes & Patches
Search
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer.
(
forum rule #6
)
Extension for Firefox/Thunderbird:
Master Password+
Back/Forward History Tweaks (restartless)
Cookies Manager+
Fit Images (restartless for Thunderbird)
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Global Moderator
4images Guru
Posts: 17.849
mmm PHP...
Re: Category dropdown change
«
Reply #2 on:
December 18, 2009, 07:36:21 AM »
I think there was a reason for this...when cookies are blocked and sessionid attached to the url, the sessionid will be ignored when used GET method, apparently url query is not allowed in form's action when used GET method...
Logged
Your first three "must do" before you ask a question:
Forum rules
FAQ
Error messages
Bug Fixes & Patches
Search
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer.
(
forum rule #6
)
Extension for Firefox/Thunderbird:
Master Password+
Back/Forward History Tweaks (restartless)
Cookies Manager+
Fit Images (restartless for Thunderbird)
Print
Pages: [
1
]
« previous
next »
4images Forum & Community
»
4images Modifications / Modifikationen
»
Mods & Plugins (Requests & Discussions)
(Moderator:
mawenzi
) »
Category dropdown change