Recent searches
No recent searches
Ticket Forms as Tiles instead of Drop Down
Answered
Posted Apr 29, 2020
Hello - I'm looking to set up our Ticket Forms as "tiles" on the page instead of a drop-selection. So instead of this image below:
We'd see each ticket form as a box on the screen, similar to how Categories appear on our Guide homepage like this
I am a super beginner in terms of JS/CSS, so I'd love to have specific code to copy. Thanks!
0
4
4 comments
Abdul Qabiz (Diziana)
Hi Katie
It’s little tricky but doable. I will see if I can share a code snippet with you.
Cheers.
Abdul Qabiz
Team Diziana
0
Katie Holt
Thank you so much, Abdul! I really appreciate it!
0
Abdul Qabiz (Diziana)
Hi @...
You can do something like this:
New Request Page:
New Request Page with a selected Form:
The selected form's card will be shown as active (blue color), and the form's card will be moved to first position. This is to make it easy to understand and related. As you can see Ticket Form 3 was moved to be in first position. This can be removed from the code.
You can open new_request_page.hbs of your theme, take back up of existing code, and replace code in the template that with the code shared below.
I have inlined all the styles and scripts, and the html structure is based on what we have in Copenhagen; it should work fine, but if it doesn't you can tweak. This is a good start.
If it doesn't work in your theme, then you should only copy the code within the comments (as highlighted below) and put in respective places in your template.
DISCLAIMER. THIS CODE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
Thank you
Abdul Qabiz
Team Diziana
0
Permanently deleted user
Would be great if this could be a feature option that we select from the zendesk side and not use custom code since the code above no longer works.
0