Posted: March 19, 2013 at 4:35 am
|
Hi! Is there a way to get an additional button or textlink where you can click for opening the seating chart? My my customers just don’t get it with the input field. It’s too unusual for theme to click into a input filed for opening a popup. Thank’s for helping |
|
Hi I had a play with trying to change the input into an image etc and it would basically need the jQuery being customised. So I would say the best option would be to change the wording of the label from Select a Seat: to something like To select a seat, click the box on the right You could use the translation files to do this or a function like this http://www.viper007bond.com/2011/07/13/changing-core-wordpress-strings/ |
|
Sorry, to change the wording is no option. That was the first thing i tried and even if i mark the text fat and red, people don’t get it. |
|
Hey, Yeah you got as far as I did, enabling the seating chart to pop up, but the issue is getting it to add the right code to the input as the input is still needed to pass the information along. seating_chart.js is the file in question, but I couldnt advise what line it would be to pass the data along, as I dont know. |
|
I guess the jQuery is looking for the class ee_s_select_seat and the custom html tag event_id. So i maby just have to change the id he is looking for to open the popup in the jquery Code. What do you think about that? Do you think this could work or have you already tried that? All the troubles just because people became too layz to read. 😉 |
|
Well I added those to the label (and an image) and yes it worked, the seating chart popped up, but the data doesnt get sent to the input field on selection, thats the issue. My jQuery knowledge isnt brilliant so I am not sure how to pass it on. Im guessing that the jQuery is trying to add it back to the input but because the image/whatever now has the name and id its trying to pass it to that instead. |
|
We found a solution. I gave the an id to the text field and made a testlink with a onclick event.
|
|
|
|
Sorry, somehow i can’t poste the code.
And the id i gave to the input:
|
|
Hey Rahel, It’s great to see you got it working. Is there any chance you can add the code to Pastebin or somewhere please? I’d love to have a close look at it. |
The support post ‘Choose a seat button’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.