Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Selectbox from hell

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
Hardin
Smarty n00b


Joined: 14 Nov 2014
Posts: 1

PostPosted: Fri Nov 14, 2014 9:25 am    Post subject: Selectbox from hell Reply with quote

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
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Fri Nov 21, 2014 12:37 am    Post subject: Reply with quote

If you mean the top-left dropdown in front of search field, I didn't notice any misbehavior.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP