hus_hmd Registered Developer

  • Male
  • from Dubai
  • Member since Jan 27th 2019
  • Last Activity:
Posts
333
Likes Received
112
Points
1,862
Profile Hits
737
  • hus_hmd

    Replied to the thread Collection item URL.
    Post
    Stephen Meehan posted about another use-case in which it is not easy to output the collection item URL in a template when outputting items from multiple collections with a single perch_collection() call: collectionKey question
  • hus_hmd

    Replied to the thread [Headless] Accessible API.
    Post
    For things that do not currently have API classes, you can use the normal runtime functions (and the skip-template option) to fetch the data.

    Sets take arrays from any source. The docs includes a hardcoded array example to demonstrate this:
    (Code, 10…
  • hus_hmd

    Replied to the thread Invalid Licence.
    Post
    This often happens when using old versions of Perch with PHP 7: https://grabaperch.com/blog/ar…-perch-installs-and-php-7

    What version of Perch/PHP are you using?
  • hus_hmd

    Post
    Does the file perch/addons/apps/perch_events/admin.php exist?


    (Quote from ckfs)


    You can download it from here: https://addons.perchcms.com/addons/ckeditor
    And follow the instructions for installing editors:
  • hus_hmd

    Post
    Hi Andrew,

    Double check that you all have one instance of the app in perch/addons/apps/. Then try rebuilding the app menu by going to Settings > Diagnostics > Add-ons (tab) > click on the "Rebuild now" button.
  • hus_hmd

    Replied to the thread News images not displaying.
    Post
    Hi,

    [cms:asset XXXX] is a shortcode for the image. It is the expected behaviour. You can learn more about this here: https://grabaperch.com/blog/ar…5-03-perch-cms-shortcodes

    What text editor are you using?
  • hus_hmd

    Post
    If you are on standard Perch, try rebuilding the app menu by going to Settings > Diagnostics > Add-ons (tab) > click on the "Rebuild now" button.

    If you are on Runway, you can go to Settings > Menu Manager and enable the Events app.
  • hus_hmd

    Replied to the thread Perch Shop redirect.
    Post
    Ok it sounds you're getting closer to the issue. I'm not sure what would cause this. If you can share the full debug message and your diagnostics report (Settings > Diagnostics), perhaps drewm can help you further with this.
  • hus_hmd

    Replied to the thread Perch Shop redirect.
    Post
    If you are on standard Perch, you will also need to add the following at the bottom of the page:

    (Code, 1 line)



    You may also need to hold the redirects to see the debug message like so:

    (Code, 13 lines)

  • hus_hmd

    Replied to the thread Perch Shop redirect.
    Post
    Do you get any errors? You can check your error log or enable Perch debug mode.

    And have you added your PayPal config to perch/config/shop.php?
  • hus_hmd

    Replied to the thread Perch Shop redirect.
    Post
    You need to call perch_shop_checkout() before outputting any HTML or whitespace to the page. In fact, you don't need to output anything. You either redirect to PayPal or perhaps back to the cart or payment confirmation page. This is, more or less, all…
  • hus_hmd

    Replied to the thread Perch Shop redirect.
    Post
    How are you initiating the PayPal checkout? Can you share your master page where you do this?
  • hus_hmd

    Post
    This is how related items data is fetched. If you need the related item's data, you'll need to fetch that separately.

    perch_collection() behaves the same way. However, inside a template the perch:related tags fetches the related items (and renders the…
  • hus_hmd

    Replied to the thread Various templates within content.
    Post
    Blocks would be the way to go. You'd set up a single content region to manage the blocks. The editors will be able to add/remove/reorder blocks as they wish.
  • hus_hmd

    Replied to the thread Invalid Licence.
    Post
    What does the error message say?
  • hus_hmd

    Post
    Hi,

    I don't think Perch ships with the language packs. You need to download it. This is the German translation.

    Place the file in /perch/addons/plugins/editors/redactor/langs/.

    In /perch/addons/plugins/editors/config.js, specify the language and load…
  • hus_hmd

    Post
    Generally the perch_pages_navigation() function is what you'd use to get other pages data. What are you hoping to achieve? Would you like to pass this data to a content region?
  • hus_hmd

    Post
    Hi Tony,

    A possible option could be to skip the templating when you fetch the items, reverse the array and then render the template with perch_template():

    (Code, 13 lines)

  • hus_hmd

    Replied to the thread Perch v4 license model.
    Post
    (Quote from nascent)


    There is nothing stopping you from reassigning older licenses to new projects. I'm not sure whether the license agreement even prohibits you from doing so.

    As for reselling a license, the license terms do not allow that. You
  • hus_hmd

    Replied to the thread Perch v4 license model.
    Post
    (Quote from nascent)

    You can reassign the license to a different domain. This normally happens when one an old project dies or stops using Perch, so the owner of the license reassigns the license to a new domain for a new project instead of purchasing a…