Stephen Meehan Student

  • Member since Jan 29th 2019
  • Last Activity:
Posts
45
Likes Received
2
Points
317
Profile Hits
157
  • Stephen Meehan

    Posted the thread Save page as draft?.
    Thread
    Hi

    Noticed something when saving a page as a draft...

    • Before I press save I check the 'Save as draft' box
    • Press save and the 'Save as draft' box is unchecked?
    • I see the 'Draft successfully updated' message, but not the 'You are editing a draft'
  • Stephen Meehan

    Thread
    Hi

    I'm making a 'video guide' collection, using collections and categories. Most of my categories are single level, but one of them has a subcategory:
    • about
    • about/team
    On the /about category page it'd be handy to only show items categorised as about.…
  • Stephen Meehan

    Replied to the thread Forms App and redirection.
    Post
    Hi Byron,

    Thanks for replying, that got me on the right track.

    However, I found the if statement triggered when I pressed submit - bypassing the form validation. I guess this is because lm_campaign_name_slug is present before the form is submitted.…
  • Stephen Meehan

    Like (Post)
    Could you not add a manual redirection in your page file?

    (Code, 3 lines)

    and then have lm_campaign_name_slug as as hidden field
  • Stephen Meehan

    Replied to the thread Forms App and redirection.
    Post
    Update...

    I always like to use novalidate on perch:form

    My opening tag looks like this
    (Code, 4 lines)


    Things I've tried
    (Code, 5 lines)


    (Code, 5 lines)


    I suppose I could use perch:success tags, but it would involve changing the structure of the…
  • Stephen Meehan

    Posted the thread Forms App and redirection.
    Thread
    Hi

    I'm using a Collection and the Forms App to create a lead magnet/landing page. On form submission the page redirects to a 'download' page.

    This is the page structure:
    • www.domain.com/unique-slug
    • www.domain.com/unique-slug/downloads

    The problem…
  • Stephen Meehan

    Replied to the thread Before and After inside perch if.
    Post
    Yes, I've just tried a simple demo

    (Code, 7 lines)


    You're right, perch:after is recognised, but perch:before isn't?

    I'd expect both to work, not just one?

    Any reason for this? Is there a workaround? :/
  • Stephen Meehan

    Thread
    Hi

    I'm using perch_collection to output a list of posts. I'd like to be able to style the first post (the newest post) in the list a bit different that the rest.

    (Code, 3 lines)


    I was hoping to use perch_item_first like this:

    (Code, 8 lines)


  • Stephen Meehan

    Like (Post)
    (Quote from Stephen Meehan)

    I always suggest to use what makes more sense to the content structure. If it makes sense in your use-case to have them all in one category set, I'd do that. Otherwise I'd use two sets.

    If tags need to be their own thing,…
  • Stephen Meehan

    Replied to the thread Tags in a collection.
    Post
    Hi Hussein,

    Yes, I was thinking I might just use a second category set.

    I wonder, would there be any reason to not include all the categories in one category set? I guess it'll be more of a user interface issue than limiting any filtering I might need…
  • Stephen Meehan

    Posted the thread Tags in a collection.
    Thread
    Hi

    The Blog App has perch_blog_tags() is there anything similar for collections?

    I'm using a collection, instead of the Blog App and the only feature I'm missing is the ability to tag posts.

    Is this possible?

    :/