Posts by SimonClay

    Hi Ian,


    I can see that you have slightly different markup for the two, eg:


    ThinkServer:

    <a href="<perch:blog id="postURL" />" rel="bookmark" class="button-hero"><span>Read more</span></a>


    Sentinel however, is a button wrapped in an anchor tag:

    <a href="main_news/Making_the_transition"><button class="button-hero"><span>Read more</span></button></a>


    and


    ThinkServer:

    <h5><a href="<perch:blog id="postURL" />" rel="bookmark" class="entry-title"><perch:blog id="postTitle" /></a></h5>


    Sentinel is a strong tag wrapped in H5:

    <h5><strong>Field Trial Success</strong></h5>



    Perhaps the CSS is targeting these differences.

    Hi, I managed to solve it by adding a specific rule before the runway ones:


    Code
    1. # Perch Runway
    2. RewriteEngine On
    3. RewriteRule ^book/?$ /book/index.php [L] # ADDED
    4. RewriteCond %{REQUEST_URI} !^/perch
    5. RewriteCond %{REQUEST_FILENAME} !-f
    6. RewriteRule .* /perch/core/runway/start.php [L]

    Hi all,


    Does anyone know how to allow access to a 'physical' page in Runway?


    I have a Runway site which is working fine, but want to be able to visit a 'physical' directory in the root too:


    /book/index.php


    But trying to visit that page results in 'Page not found'. I'm sure it's because Runway is routing all queries through it's controller. Can anyone help?


    My .htaccess has:


    Code
    1. # Perch Runway
    2. RewriteEngine On
    3. RewriteCond %{REQUEST_URI} !^/perch
    4. RewriteCond %{REQUEST_FILENAME} !-f
    5. RewriteRule .* /perch/core/runway/start.php [L]

    Thanks Byron, I didn't know that.


    I will leave as is. It just doesn't make much sense to the end user. In this instance it is a list of Company names. Sometimes the names start with lower case, eg. eHealth.


    On the front end, perch_content_custom sorts them as expected. It's just in the backend it looks a bit odd.


    Thanks very much for the info.

    In Perch Admin I have a multi item region, with Region options set to Sort by: Name and Sort order: Ascending (A-Z, oldest to newest).


    But if the 'Name' starts with a lowercase letter it is displaying them last in the list.


    Eg:

    Alpha

    Bravo

    Delta

    charlie


    Is this a known bug. Does anyone else experience this?

    Stay tuned. I’ve set up a Region that allows us to build out a page from scratch with sections rows and columns. It works great with Bootstrap. Using Regions, Blocks and Repeaters.


    Will post how I’ve set it up here soon.

    I have a SnipCart App developed that needs updating to Perch 3 and probably new SnipCart APIs. You can view orders, customers and even discounts all from within the Perch admin. I will dig it out and see if I can get it up and running.

    Thanks Hussein Al Hammad. Happy New Year to you too. Your 2020 Wrap Up was a good read and congratulations on your achievements.


    Very smart site Clive and thanks as always for Perchology.


    A Perch site I created in 2020 that I've been proud to be a part of is Your Voice Wall https://www.yourvoicewall.co.uk It shows posts by people with learning difficulties, expressing themselves with words, pictures and art, telling of how they have struggled and grown during the pandemic. They are truly amazing. I've been in tears at times as I see their resilience, talents and creativity.


    My passion has always been creating sites that are easy and intuitive for client editors. Perch does it so well, so I've been sad to see very little communication from Perch devs. I have kept a eye on a couple of other CMS' to keep as options moving forward.


    Best wishes for 2021 all.

    I have a template field for Redactor text limiting it to display only 20 words.


    Code
    1. <perch:content id="text" type="textarea" label="Text" html editor="redactor" words="20" append="...">


    The actual text entered into the Redactor field contains a long list of short paragraphs often with a <br /> eg:




    What I am finding is that the output of the region limited to 20 words shows the first few paragraphs and correct number of words as expected, but then also adds a number of <br>s at the end. eg:




    Interestingly the number of extra <br>s at the end always relates to the number of paragraphs that are shown.


    Has anyone noticed this or have an explanation why it's occurring?