Posts by JayW

    The business team and development team are passing it back and forth, they may be stuck in an infinite loop! Send the jaws of life and rubber gloves!

    Meanwhile, I don't care.... I can wait or just stick with current Runway. I've just discovered Snipcart from suggestions in other threads. Works very well with collection items. It's what I imagined a good shop app, something that was more drop-in than "whole store". I like the elegance of the vue.js templating overrides of snipcart and the degree of control. The possibilities when combined with Perch collections is actually exciting. The separation of content and e-commerce makes more sense to me now than ever.

    So I can't agree with JamieT's "look elsewhere" for core Perch, but absolutely for Perch Shop - which was a free app anyway, and does the basics, but is too limited and outdated.

    One option is to add this to your function:

    1. 'skip-template' => true,'return-html' => true,

    to stop it displaying on page.

    Then right after the function, do this....

    1. if(isset($department[0])) {
    2.     $dept_name = $department[0]['department'];
    3. }

    Then you can use $dept_name in your layout

    1. perch_layout('global.header', array(
    2.     'bodyclass' => $dept_name,
    3. ));

    Minor thing, but I used "bodyclass" instead of "page" to avoid confusing with generic names.

    ...the ability for collections to be indexed

    This sounds good, I'd like to know more. Does it mean when querying a perch collection, I could add a flag in the function to use the static index if available and ignore hitting the database? I don't quite understand what format the index is.... is it like a json file that is generated, or are we talking about the whole HTML output from the collection template? Nothing beats the speed of static files so the closer we get to that the better.

    I quite like "Offline Pages Pro", it's an old iOS app that's been around for years. However the saved site is only viewable within the Offline Pages app. But it does a good job, and it's great having the site offline on an iPad. It also has other functions for saving pages as PDF files and things like that.

    The nice thing about Offline Pages Pro is you can choose the link depth, max pages and other settings to fine-tune what is saved offline. Things like "add to cart" and form submissions will not work offline, as expected. No doubt there's similar apps or browser extensions for Windows that do this.

    I would thumbs-up all posts and suggestions above, so I will thumbs-up none, it's the same thing. Using likes to evaluate popularity of the suggestion won't work. You should be able to figure out what is or isn't worth doing without number of likes on a forum post.

    - New kind of "shop modules", so for example you could decide to sell a regular collection item by dropping in some perch e-commerce tags, and hooking up whatever values from the collection item might populate the invoice. I don't see why the concept needs to be a "shop" vs "buy this thing on the page".

    - Instead of "better UI", how about better customisation and control of the UI, so we can easily make it look how we want? Please don't try to paint a picture that everyone loves, it won't happen. Just provide good interface options.

    - When limiting sub-page template choice with "may use these master pages" in page settings, it would be nice if as the admin, I could see the whole list when creating sub-pages, and choose any master page I liked, leaving only Editor roles with the restricted choice. So an override in settings for admin roles to ignore the "may use these master pages" setting for sub-page template choice. Easy!

    - And finally for fun... NOT copy Wordpress for anything! That place is out of control. They allow plugin developers to hook into the "deactivate plugin" button, so instead of deactivation you get marketing spin twisting your arm. Or not allowing deactivation unless you submit a form to the developer with reasons why, without any "skip this crap" button. Sometimes you need a plugin to hide the annoyances of other plugins. "Pro" SEO tools like Yoast inserting ads for themselves in your HTML? Don't worry, there's a plugin to stop that! But then read the comments of that plugin, whoops it stopped working because Yoast changed something... Please don't make Perch "like Wordpress", where devs charge $60 per year for a "search box" or $50 per year for an official plugin that "bundles products". Wordpress is not an inspiration. The other day Wordpress official attempted to dramatise the fact I hadn't renewed a certain minor plugin or extension of theirs, with a "tick tock" banner expressing that time is counting down to an expired subscription - the implication that bad things will happen unless I pay another $60 for some minor point update for a minor shipping label plugin. Please don't make Perch "like Wordpress"! /rant

    Can we just sell Runway to hus_hmd ?!! Or add him to core team? That would be cool!

    In a twisted way the update freeze is beneficial, it's so damn predictable now lol! Installing runway is a bit like bolting a machine to the concrete floor, it won't move.

    Project Manager .....Development team...... when the times right, introduce you to our Project Manager.

    edit. I wonder what version 4 features were in dev before it was sold? one wish item: search for things in the control panel and filter by type of item. I would like to filter out assets from searches as it makes finding collection items a pain when dozens of assets with similar names are polluting the results. Like code, can edit to make more efficient!

    Maybe your email went to their spam folder for

    They should be using a support ticket form that appears for logged in users in the account section, rather than relying on a publicly known and likely highly spammed email. Whoever is checking that in-box will have a challenging task picking out the legit emails.


    Currently the box 'Mark as library asset' is ticked for every new asset entered.

    Could be a browser issue. Definitely try a different browser and see if the box is checked when adding a new asset.

    In regards to the config setting "PERCH_CLEAN_RESOURCES", whether it's true or false has no influence on the default status of the "mark as library asset" checkbox. At least on my installation when I tested, the checkbox is always unchecked regardless of the config file setting.

    Funny thing is I just quickly googled, and found a post from you, Stefan from 7 years ago, which is why your config file had the clean_resources setting to false! You were troubleshooting a different issue... :-)…ssets-disappearing?page=2

    Why have two collections?

    Wouldn't it be better to have one collection called "Photo Albums" and within each album item, you'd have any number of images? I know this doesn't answer your question, but I'm curious as to how people are doing photos albums.

    great stuff, I hope new home owners can maintain the stability it has now, as it runs snappy even on cheap hosting :) it would be good if that performance can continue. Good to know it's still kicking so our licenses will keep going. I wonder if e-commerce addon will be looked at again... Runway has been great to work with, I like the functions and neat control over heaps of variables without complicated programming.

    … total lack of communication from the perch team

    Not that I want to start a "thing", but isn't it just one dude, not a "team". LOL, the grumpy demands for communication are a bit much. The reasons for slowing down Perch dev were mentioned previously. Meanwhile the software still works.

    Sounds like wheels are turning anyway, so maybe be patient during a global pandemic? Not that anyone needs defending, but Drew has literally thousands of forum posts to his name (including old forum), and I'd call that pretty good communication relative to the lifespan of product. I'd also prefer software devs spend time on the software than replying to needy forum posters :-) Anyway, where were we? Ah yes happiness, rainbows, and shiny things await those who have been good.

    Long shot, but the last time my page didn't load, the problem was caused by the page template still had leftover code from an app I'd removed from my apps config, but forgot to remove code in template that was trying to load it. Told you it was a long shot!


    I have a situation where a client wishes to have multiple administrators look after individual pages

    To be picky, "administrators" are by definition top dog, granted full rights to see anything.

    I had a similar situation where I wanted different staff in the company to manage only the content they were responsible for, so guess what I did to solve the problem? I asked them to edit only what they're responsible for.

    If you can't trust someone to follow basic instructions about the pages they're meant to edit, then perhaps they shouldn't be given access at all? In my case, I still created a general "editor" role with limited scope, and I also encouraged them to save bookmarks to the edit pages or collections they worked on. That way, they don't see the list of all pages in their editing routine.

    Apart from that, it sounds like a job for the members app. Not sure how you'd get uploaded content published to pages though. Without knowing exactly what you're hoping to end up with, hard to say.

    not going to be a viable option going forward

    Are dinner plates really smashing around us? Websites crashing on the floor in pieces? I'm not seeing that. Remember it doesn't need to do everything under sun, it's a platform you can extend however you like. V3 did bring a lot of cool stuff, it's got a premium vibe, easy learning curve, and underrated "secret sauce" of how it combines with templating and functions. In terms of a fast user-friendly place to put web content, for your apps or whatever, I struggle to see other options able to pull the same bag of tricks. I like open source too, but always happy to pay for well-designed software. When clients understand that, they're not going to listen to your post. BTW, you signed up just to announce you won't be using the software anymore?

    I see. I've built one shop site and never had this issue, but looking on my dev site, yes it does default to zero...

    But only if I deliberately leave the sale_price blank, and also check the box "use sale price"! That's human error. But I suppose it's fair enough to want to defend against human error when the consequence might mean selling an expensive item for $0.

    Perhaps I'm missing something, but can't you simply check if sale price is populated?

    <perch:if exists="sale_price">

    Another suggestion is to add a checkbox to the template:

    <perch:shop id="on_sale" type="checkbox" value="1" label="Use sale price" suppress="true" />

    And then :

    <perch:if exists="sale_price AND on_sale">

    $<perch:shop id="sale_price" />

    <perch:else />

    $<perch:shop id="price" />

    The benefit here is that you can have a sale price ready to go, and then check box to activate it.