tonyastley Beginner

  • Member since Sep 3rd 2019
  • Last Activity:
Posts
5
Points
45
Profile Hits
5
  • Is it possible to display regions combined from multiple pages. Then sort the results based upon the order of the pages in the menu?

    So if the user promotes a page upwards in the menu the results of the combined regions are altered to reflect this.
  • tonyastley

    Thread
    Hello,

    I'm trying to use perch_content_custom to select the first two items from a combined set of regions, then sort the items in reverse order:

    (Code, 4 lines)

    However this is selecting the last two items from the list.

    Is it possible to select the…
  • tonyastley

    Post
    Above resolved this. Don't seem to be able to edit the post to mark as resolved?
  • tonyastley

    Post
    This code works for me:

    I think it will only work to the second level but it works OK at the moment.
    (Code, 12 lines)

  • tonyastley

    Post
    I’m looking to set htaccesss so that the following url

    /any-section?page=sub-section

    Looks like the following

    /any-section/sub-section

    Both '/any-section' and '/sub-section' could be anything.

    There is already the standard Perch htaccess (below)…
  • tonyastley

    Thread
    Above resolved this. Don't seem to be able to edit the post to mark as resolved?