hus_hmd Registered Developer

  • Male
  • from Dubai
  • Member since Jan 27th 2019
  • Last Activity:
Posts
605
Likes Received
173
Points
3,318
Profile Hits
1,327
  • (Quote from Dan Brown)

    perch_content_create() creates a region if it doesn't already exist. So this won't prevent you from using the dataselect field type.


    (Quote from Dan Brown)

    If the dataselect field type does not support selecting multiple items,…
  • hus_hmd

    Post
    (Quote from pixelnaut)


    The issue with the Gallery app is not only that it is not being maintained, but also the fact that it does not use the central assets system. This means if the editor wants to use the same image in different parts of the site…
  • hus_hmd

    Replied to the thread html code in a textarea.
    Post
    You can use the html attribute for this:

    (Code, 1 line)


    In fact, Perch ships with a sample template for this perch/templates/content/code_block.html
  • hus_hmd

    Replied to the thread Cross-selling in Perch Shop App.
    Post
    (Quote from LisaM)


    This can be achieved in different ways.

    For example, these items can be added as options and you'd have variants like:
    • Flowers
    • Flowers + [colour] balloon
    • Flowers + [colour] balloon + card

    The UI on the page doesn't have to be a…
  • hus_hmd

    Like (Post)
    hus_hmd Wrote this reply and must have forgotten to hit the 'REPLY' button – sorry! Running the manual update has added the regionPublishRoles column! Thank you very much 🙂
  • hus_hmd

    Replied to the thread Limits to Pages.
    Post
    (Quote from peterfm)

    Yes, possibly! PHP by default has a maximum of 1000 input variables (CMS fields in this case) - see max_input_vars. So by having that many items in a single form yo'll eventually hit that maximum. I would uncheck the option and…
  • hus_hmd

    Replied to the thread Limits to Pages.
    Post
    449 items is probably more than what a multiple-items region was designed to handle. Though this doesn't explain why you are unable to add more items.

    Which editing mode do you have enabled? Do you edit all items on a single page (i.e. you have the…
  • hus_hmd

    Liked drewm’s post in the thread Any Version 4 News?.
    Like (Post)
    Up next, I'm looking at putting some of the add-ons into GitHub. That's not always as straightforward as you think, as I need to check the licensing for any dependancies etc. But my intention is to begin with Blog.
  • hus_hmd

    Liked drewm’s post in the thread Any Version 4 News?.
    Like (Post)
    I've just put out a 3.1.7 release fixing what I hope is the last of any PHP 7.4 compatibility issues that have been reported. I've also addressed an issue for MySQL 8.0.4 and up that was flagged.

    I've been looking as to how I can accelerate the…
  • hus_hmd

    Like (Post)
    (Quote from drewm)

    I've just popped you an email Drew with an image that should help reproduce the issue - hopefully it helps :)
  • hus_hmd

    Like (Post)
    Thanks for the detailed notes, all. They've helped me identify and fix nearly all the above issues.

    The only ones I've not been able to address are the weird PhotoShop EXIF issue (need to source some images to reproduce) and the CSP issue, which I'm…
  • hus_hmd

    Replied to the thread Processed Images Missing?.
    Post
    If these image variations used to exist and now do not, it might be worth looking into what happened. Does the resources table still have a record of the missing variations?

    If you know a Perch asset with ID 37 has missing variations, you can query the…
  • hus_hmd

    Replied to the thread Limits to Pages.
    Post
    Hi Peter,

    Can you share more details on how this content is managed? Are you using a multiple-item region? Or a single-item region that contains perch:blocks?
  • hus_hmd

    Replied to the thread Search Results Order.
    Post
    (Quote from dosa)


    When I suggested that approach in that thread I think I was under the impression you were searching content from multiple sources (not just the blog app). Now that I realise you're only searching blog posts, I'm suggesting you simplify…
  • hus_hmd

    Replied to the thread Search Results Order.
    Post
    Since you're now using perch_blog_custom(), your template needs to be in templates/blog/. You can use your regular blog list template for instance:

    (Code, 20 lines)

  • hus_hmd

    Replied to the thread Search Results Order.
    Post
    If you are only searching blog posts, you probably can simply things by using perch_blog_custom() instead of perch_content_search() to perform the search:

    (Code, 19 lines)

  • hus_hmd

    Replied to the thread Search Results Order.
    Post
    Hi,

    I think this is related to your other search thread in which you use perch_content_search() to perform the search and use perch_blog_custom() to render the blog results within the search. In this case perch_blog_custom() does not control the order,…
  • hus_hmd

    Replied to the thread v3.1.6 compatibility issues.
    Post
    (Quote from nascent)

    Can you share what they are?
  • If you're following the same approach, yYou need to use the skip-template and return-html options. I don't know how well supported they are in the Events app (it is an old app):

    (Code, 8 lines)

  • (Quote from SixTillNine)

    Perhaps categories is a good option. You create the categories via the control panel, then you can add a category field to wherever you want the editor to select them from (page attributes, regions, etc):

    (Code, 1 line)


    You can…