luke.a.houghton Posted April 1, 2021 Share Posted April 1, 2021 name: "Design", allowedOptions: "Slender, Weighty, Classic, Premium", hideValueLabel: true, capitalcase: true, multiple: true, sort: 'asAllowed', getAttr: 'tags' Hello everyone, I am using the awesome Universal Filter provided by Squarewebsites and it works fantastically. However, I just need to make a slight tweak. Is there a way to have one of the options already active on a page load? Just as an example, is it possible to have the 'Slender tag' already selected with the summary block already displaying the results. webbroi, Beyondspace and EarvinChong 3 Link to comment
tuanphan Posted April 5, 2021 Share Posted April 5, 2021 Hi. Have you tried contacting Squarewebsites support yet? EarvinChong, webbroi and luke.a.houghton 2 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
luke.a.houghton Posted April 6, 2021 Author Share Posted April 6, 2021 Heya. Yes, I have sent an email to Squarewebsites, although I have not received a response yet. Link to comment
luke.a.houghton Posted April 8, 2021 Author Share Posted April 8, 2021 This has been solved. You can use the initState snippet to set an active option on page load. tuanphan and EarvinChong 2 Link to comment
deaton72 Posted May 27, 2021 Share Posted May 27, 2021 @luke.a.houghton I think this is exactly what I need to do. If I use initstate, will the filter on the page still be able to filter/show items that may not have the initstate filter? Do you happen to have the whole code? My script writing is not great and I keep "breaking" the unifilter when I add things. Thanks! EarvinChong 1 Link to comment
Geomogeogeo Posted February 17, 2022 Share Posted February 17, 2022 Hi, I have purchased the Universal Filter plugin. Is there a way to have the default page by A-Z even before I start sorting? EarvinChong 1 Link to comment
Geomogeogeo Posted February 17, 2022 Share Posted February 17, 2022 Hi @luke.a.houghton I have the exact problem as you, I require default A-Z applied. Where can I find this initState snippet ? webbroi and EarvinChong 1 1 Link to comment
paul2009 Posted February 17, 2022 Share Posted February 17, 2022 5 hours ago, Geomogeogeo said: Universal Filter Plugin: I require default A-Z applied. This is described in the documentation that Squarewebsites supply with their plugin. If you need additional help, I recommend you reach out to the developer. EarvinChong and tuanphan 2 Improve your online store with our extensions.About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links.Buy me a coffee Link to comment
tuanphan Posted February 21, 2022 Share Posted February 21, 2022 On 2/17/2022 at 9:22 AM, Geomogeogeo said: Hi, I have purchased the Universal Filter plugin. Is there a way to have the default page by A-Z even before I start sorting? On 2/17/2022 at 9:31 AM, Geomogeogeo said: Hi @luke.a.houghton I have the exact problem as you, I require default A-Z applied. Where can I find this initState snippet ? Have you found the solution yet? EarvinChong and webbroi 2 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment