Thread tagged as: Problem, Runway

Members app with runway

Hi Drew,

I'm having a problem with runway and the members app.

On a fresh install of runway, I've added the members app, and then put the members/ folder into /perch/templates/pages

When I create a new page with members/register.php as the master template, the html doesn't load properly. It cuts off after the primary content div.

<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Perch Example Page</title> </head> <body> <header class="layout-header"> <div class="wrapper"> <div class="company-name">Perch Members App</div> <img src="/perch/addons/feathers/quill/img/logo.gif" alt="Your Logo Here" class="logo"/> </div> <nav class="main-nav"> <ul> <li> <a href="/">Home page</a> </li> <li class="selected"> <a href="/register">Register</a> </li> </ul> </nav> </header> <div class="wrapper cols2-nav-right"> <div class="primary-content">

It looks like it gets stuck on

        if (perch_member_logged_in()) {

Am I doing something wrong?



Robert Yedlin

Robert Yedlin 1 points

  • 7 years ago

Robert Y,

Have you removed call to perch runtime ...

<?php include('../perch/runtime.php'); ?>

from register.php? Perch Runway does not require this runtime...

Drew McLellan

Drew McLellan 2638 points
Perch Support

Have you added the Members app to config/apps.php ?

Yes, and I did it like this

    $apps_list = array(

I also removed the call to perch runtime with no luck. It's still only rendering the partial page.

Are you able to confirm that the members app works with runway?

I should have been using perch_members. Sorry.

    $apps_list = array(

Good Deal... All working well now?

Everything is working. Thanks for the help Robert and Drew!