deaton72 Posted September 16, 2021 Share Posted September 16, 2021 Site URL: https://corn-apricot-zn88.squarespace.com/ I am using an initState filter in a script to give a blog block an initial view - using the universal filter. Does anyone know if I can do this for the blog itself and not through the filter.... I don't know anything about initstate. BUT, when I have it enabled for the blog summary, then whenever you back page from a filtered item it shows the init view again. Hoping there's a workaround! Beyondspace and EarvinChong 2 Link to comment
Beyondspace Posted September 28, 2021 Share Posted September 28, 2021 On 9/17/2021 at 1:25 AM, deaton72 said: Site URL: https://corn-apricot-zn88.squarespace.com/ I am using an initState filter in a script to give a blog block an initial view - using the universal filter. Does anyone know if I can do this for the blog itself and not through the filter.... I don't know anything about initstate. BUT, when I have it enabled for the blog summary, then whenever you back page from a filtered item it shows the init view again. Hoping there's a workaround! Have you contact author of the plugin yet EarvinChong 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
EarvinChong Posted June 15, 2022 Share Posted June 15, 2022 On 9/17/2021 at 2:25 AM, deaton72 said: Site URL: https://corn-apricot-zn88.squarespace.com/ I am using an initState filter in a script to give a blog block an initial view - using the universal filter. Does anyone know if I can do this for the blog itself and not through the filter.... I don't know anything about initstate. BUT, when I have it enabled for the blog summary, then whenever you back page from a filtered item it shows the init view again. Hoping there's a workaround! The initState function seems to only work on the Universal Filter and not on the blog itself. Like you said it works to give the filters an initial value when the page is loaded. 🔲 Squarewebsites Plugins: Solutions for duplicating websites, custom filters, custom tables, custom maps and more. 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