Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
This error shows up on the bottom of my web page after doing some edits and additions on the Menu Set.
~ Tomf
Something went wrong
Unexpected error: Undefined variable: logged_in in 95-page-1.1.1-1-82-menu_47-83-content-1.2.0-6-13-admin.view.template on line 166
Please report error at http://community.theturninggate.net
Offline
Hi Tomf, can you email me the file 95-page-1.1.1-1-82-menu_47-83-content-1.2.0-6-13-admin.view.template found under backlight/data/designer/cache so that I can look into this?
Offline
Emailed the file.
thanks,
~ Tommy
Offline
Thanks Tommy. This is an issue with the Okapi Page module. We'll need to update this. For my own reference, the fix is to add the $logged_in = ... line in the following in modules/standard-page/dynamic/view/page.php
$is_private = $album->passwordEnabled();
}
$logged_in = isset($logged_in) ? $logged_in : false;
</thp>
<body class="<?php echo $this->getProductSuite(); ?><?php echo $type ? ' type-'.$type : ''; ?><thp>echo $slug ? ' slug-'.$slug : '';</thp><thp>echo $is_private ? ' private-album ' . ($logged_in ? 'logged-in' : 'logged-out') : '';</thp><?php echo $module__ui . $module_crg ?>" data-effect="<?php echo $model->value('page_layout.effect'); ?>" data-layout="<?php echo $model->value('page_layout.columns'); ?> <?php echo $model->value('page_layout.layout'); ?>">
Another fix is to make sure the embedded album is not password protected. Is it?
Offline
Ah yes. The album set is password protected. I have actually password protected the highest level Album Set only, but not anything underneath it. Did I do it the wrong way? I set the pw in the Lightroom Album Set.
Thanks,
~ Tommy
Offline
I don't think you did anything wrong. Embedding password-protected albums is an edge case that probably doesn't work perfectly.
Offline
Thanks for the info and insight. This is not going to be a public site, only for my kids to see their childhood memories, so I'm not too worried about the error.
~ Tommy
Offline