Posts by richythomas

    Just FTP'd my site to a staging sub-domain on my server and I'm getting the following errors.

    Any ideas?

    Staging enviroment for website


    Code
    1. Warning: include(__DIR__/core/runtime/runtime.php) [function.include]: failed to open stream: No such file or directory in /var/sites/s/staging.breconboutiquebreaks.co.uk/public_html/cms/runtime.php on line 2
    2. Warning: include(__DIR__/core/runtime/runtime.php) [function.include]: failed to open stream: No such file or directory in /var/sites/s/staging.breconboutiquebreaks.co.uk/public_html/cms/runtime.php on line 2
    3. Warning: include(__DIR__/core/runtime/runtime.php) [function.include]: failed to open stream: No such file or directory in /var/sites/s/staging.breconboutiquebreaks.co.uk/public_html/cms/runtime.php on line 2
    4. Warning: include() [function.include]: Failed opening '__DIR__/core/runtime/runtime.php' for inclusion (include_path='.:/usr/local/php-5.2.17-flock/lib/php') in /var/sites/s/staging.breconboutiquebreaks.co.uk/public_html/cms/runtime.php on line 2
    5. Fatal error: Call to undefined function perch_layout() in /var/sites/s/staging.breconboutiquebreaks.co.uk/public_html/index.php on line 2

    My navigation markup looks as follows: As you can see I have my branding in between the nav list items.. Is there anyway I can use perch's dynamic navigation where it builds from pages created but keep my <li id="nav-brand"> in between the nav list?


    I get what you're saying there.

    But actually that's part of my problem..

    If the user does refresh the page.

    Then in chrome (At least) they get the following alert :

    'Confirm form Resubmission - The page that you're looking for used information that you entered. Returning to that page might cause any action you took to be repeated. Do you want to continue?'

    If they Click yes it submits a duplicate entry. If they click cancel then it just returns them to the site.

    Maybe that is the correct behavior and I'm looking at this as a problem that doesn't exist?

    I have a one page website with a perch contact form at the bottom.

    On submission of the form I want the page to scroll back down to the form so that it can display the success message where the form used to be.


    I've achieved this by adding:

    Code
    1. <perch:form action="#contact-us"

    And it works.. The problem is.. it's adding #contact-us to my URL and I don't want this to happen. Any ideas how I can do this?


    Here's my full form below. I also have a basic preventDefault script running:

    Code
    1. $(function(){
    2. $('a[href="#"]').click(function(event){
    3. event.preventDefault();
    4. });
    5. });


    Hey.

    Sorry to be the bearer of bad news. But there are quite a few issues with your site on mobile.

    Mainly that there is a horizontal scrolling bar meaning your content is too wide/grid system not working. Also the burger navigation doesn't work at all.