Introduction
Hello folks
I've chosen quite a few links from Perch Forum this week because there are often some useful code snippets that are a bit "hidden" at the end of a thread. The snippets are great solutions for smaller tasks in Perch.
I'm always looking for new links so if you see something that's a useful resource for Perchers.... let me know!
See you next time.
Add-Ons
Code
Adding content from .csv file
Here's a useful code snippet to help import data into Perch from a .csv file.
How Do I?
Check if a Perch user is logged in
How to check that a Perch user is logged into admin. For example, you could use this to add help pages that are only accessible to editors.
Minimum number of items
How do I set a minimum number of blog posts before displaying them? Here's a way of doing that.
Locking Master Pages in Perch
It's built into Runway, but how can you prevent users selecting system master pages in standard Perch?