|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Hardin Smarty n00b
Joined: 14 Nov 2014 Posts: 1
|
Posted: Fri Nov 14, 2014 9:25 am Post subject: Selectbox from hell |
|
|
As it usually happens my first post on any board is a (sometimes less than) humble scream for help.
I (obviously) don't have much experience with Smarty (come to think about it, neither with PHP) but i took on such a project because of reasons (no development budget, no pressure, good chance to learn stuff, etc) and the age old "how hard can it be".
I'm using an antiquated version of CS-Cart (2.2.4) and i'm trying to setup some filters for stuff, the filtering part works well however the drop downs don't remember what the user selected.
You can check out the problem here: http://motoarebarci.ro/piese-motoare/piese-mercury-mariner-force.html
Something, somewhere removes the user's selection from the drop-down and i can't figure out what.
Here's the Smarty code: http://pastebin.com/m82Y5iYW
And the (long) PHP: http://pastebin.com/CjsVtPnU
I'd appreciate any nudge in the right direction.
Do note that this is not a "fix it for me" thread, I mostly want to understand what's wrong with the thing. |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Fri Nov 21, 2014 12:37 am Post subject: |
|
|
If you mean the top-left dropdown in front of search field, I didn't notice any misbehavior. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|