Community @ The Turning Gate

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.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2015-06-30 22:17:35

markh
Member
From: Center of The US
Registered: 2012-09-24
Posts: 380
Website

Updated pages to 7.0.14 today, Galleries broken

Upadate to pages today broke the galleries, not the autoindex galleries which seem to be working fine. Here's what appears where the galleries should be:

    <% if model.autoindex.type.desktop == 'descriptive' then %>
    <div class="album grid_<%= math.floor( 12 / model.albumodel.settings.columns ) %> clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>></a>
    <div class="album-core clearfix">
    <div class="album-thumbnail clearfix" style="background-image: url(<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>);">
    <a href="<% write("<?php print $albums[$i]['url']; ".."?"..">")%>"><img alt="Album Title" src="<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>" class="album-image" /></a>
    </div>
    <div class="album-info">
    <p class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></p>
    <p class="album-description"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></p>
    <% if model.album_info.fade then %>
    <p class="album-overlay"></p>
    <% end %>
    </div>
    </div>
    </div>
    </div><!-- .album -->
    <% elseif model.autoindex.type.desktop == 'ce4-freewall' then %>
    <div class="brick" style="height: <% write("<?php print floor($height + ".. math.floor(model.freewall.margin * 2 + model.album.border.width * 2) .."); ".."?"..">")%>px;">
    <div class="album clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>><img alt="Album Title" src="<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>" class="album-image" /></a>
    <ul>
    <li class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></li>
    <% if model.mosaic.Title == 'titleanddescription' then %>
    <li class="album-desc"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></li>
    <% end %>
    </ul>
    </div>
    </div><!-- .brick -->
    <% elseif model.autoindex.type.desktop == 'iconic' then %>
    <div class="album grid_<%= math.floor( 12 / model.albumodel.settings.columns ) %> clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>></a>
    <div class="album-core clearfix">
    <div class="album-image mosaic-backdrop"
    style="background-image: url(<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>);">
    </div>
    <div class="mosaic-overlay">
    <div class="album-info">
    <p class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></p>
    <% if model.mosaic.Title == 'titleanddescription' then %>
    <p class="album-description"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></p>
    <% if model.album_info.fade then %>
    <p class="album-overlay"></p>
    <% end %>
    <% end %>
    </div>
    </div>
    </div>
    </div>
    </div><!-- .album -->
    <% elseif model.autoindex.type.desktop == 'text-only' then %>
    <div class="album grid_<%= math.floor( 12 / model.albumodel.settings.columns ) %> clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>></a>
    <div class="album-core clearfix">
    <div class="album-info">
    <p class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></p>
    <p class="album-description"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></p>
    <% if model.album_info.fade then %>
    <p class="album-overlay"></p>
    <% end %>
    </div>
    </div>
    </div>
    </div><!-- .album -->
    <% end --[[ autoindex.type ]] %>

ERROR
Switch View

    <% if model.autoindex.type.desktop == 'descriptive' then %>
    <div class="album grid_<%= math.floor( 12 / model.albumodel.settings.columns ) %> clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>></a>
    <div class="album-core clearfix">
    <div class="album-thumbnail clearfix" style="background-image: url(<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>);">
    <a href="<% write("<?php print $albums[$i]['url']; ".."?"..">")%>"><img alt="Album Title" src="<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>" class="album-image" /></a>
    </div>
    <div class="album-info">
    <p class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></p>
    <p class="album-description"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></p>
    <% if model.album_info.fade then %>
    <p class="album-overlay"></p>
    <% end %>
    </div>
    </div>
    </div>
    </div><!-- .album -->
    <% elseif model.autoindex.type.desktop == 'ce4-freewall' then %>
    <div class="brick" style="height: <% write("<?php print floor($height + ".. math.floor(model.freewall.margin * 2 + model.album.border.width * 2) .."); ".."?"..">")%>px;">
    <div class="album clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>><img alt="Album Title" src="<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>" class="album-image" /></a>
    <ul>
    <li class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></li>
    <% if model.mosaic.Title == 'titleanddescription' then %>
    <li class="album-desc"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></li>
    <% end %>
    </ul>
    </div>
    </div><!-- .brick -->
    <% elseif model.autoindex.type.desktop == 'iconic' then %>
    <div class="album grid_<%= math.floor( 12 / model.albumodel.settings.columns ) %> clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>></a>
    <div class="album-core clearfix">
    <div class="album-image mosaic-backdrop"
    style="background-image: url(<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>);">
    </div>
    <div class="mosaic-overlay">
    <div class="album-info">
    <p class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></p>
    <% if model.mosaic.Title == 'titleanddescription' then %>
    <p class="album-description"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></p>
    <% if model.album_info.fade then %>
    <p class="album-overlay"></p>
    <% end %>
    <% end %>
    </div>
    </div>
    </div>
    </div>
    </div><!-- .album -->
    <% elseif model.autoindex.type.desktop == 'text-only' then %>
    <div class="album grid_<%= math.floor( 12 / model.albumodel.settings.columns ) %> clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>></a>
    <div class="album-core clearfix">
    <div class="album-info">
    <p class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></p>
    <p class="album-description"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></p>
    <% if model.album_info.fade then %>
    <p class="album-overlay"></p>
    <% end %>
    </div>
    </div>
    </div>
    </div><!-- .album -->
    <% end --[[ autoindex.type ]] %>

    if model.autoindex.type.desktop == 'descriptive' then write( [[
    <div class="album grid_]] )write( math.floor( 12 / model.albumodel.settings.columns ) )write( [[ clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" ]] ) write("<?php print $AI_TARGET; ".."?"..">") write( [[></a>
    <div class="album-core clearfix">
    <div class="album-thumbnail clearfix" style="background-image: url(]] ) write("<?php print $albums[$i]['thumbnail']; ".."?"..">") write( [[);">
    <a href="]] ) write("<?php print $albums[$i]['url']; ".."?"..">") write( [["><img alt="Album Title" src="]] ) write("<?php print $albums[$i]['thumbnail']; ".."?"..">") write( [[" class="album-image" /></a>
    </div>
    <div class="album-info">
    <p class="album-title">]] ) write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">") write( [[<span class="locked"><i class="fa fa-fw fa-lock"></i> </span>]] ) write("<?php } ".."?"..">") write("<?php print $albums[$i]['title']; ".."?"..">") write( [[</p>
    <p class="album-description">]] ) write("<?php print $albums[$i]['description']; ".."?"..">") write( [[</p>
    ]] ) if model.album_info.fade then write( [[
    <p class="album-overlay"></p>
    ]] ) end write( [[
    </div>
    </div>
    </div>
    </div><!-- .album -->
    ]] ) elseif model.autoindex.type.desktop == 'ce4-freewall' then write( [[
    <div class="brick" style="height: ]] ) write("<?php print floor($height + ".. math.floor(model.freewall.margin * 2 + model.album.border.width * 2) .."); ".."?"..">") write( [[px;">
    <div class="album clearfix">
    <a class="album-link" ]] ) write("<?php print $AI_TARGET; ".."?"..">") write( [[><img alt="Album Title" src="]] ) write("<?php print $albums[$i]['thumbnail']; ".."?"..">") write( [[" class="album-image" /></a>
    <ul>
    <li class="album-title">]] ) write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">") write( [[<span class="locked"><i class="fa fa-fw fa-lock"></i> </span>]] ) write("<?php } ".."?"..">") write("<?php print $albums[$i]['title']; ".."?"..">") write( [[</li>
    ]] ) if model.mosaic.Title == 'titleanddescription' then write( [[
    <li class="album-desc">]] ) write("<?php print $albums[$i]['description']; ".."?"..">") write( [[</li>
    ]] ) end write( [[
    </ul>
    </div>
    </div><!-- .brick -->
    ]] ) elseif model.autoindex.type.desktop == 'iconic' then write( [[
    <div class="album grid_]] )write( math.floor( 12 / model.albumodel.settings.columns ) )write( [[ clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" ]] ) write("<?php print $AI_TARGET; ".."?"..">") write( [[></a>
    <div class="album-core clearfix">
    <div class="album-image mosaic-backdrop"
    style="background-image: url(]] ) write("<?php print $albums[$i]['thumbnail']; ".."?"..">") write( [[);">
    </div>
    <div class="mosaic-overlay">
    <div class="album-info">
    <p class="album-title">]] ) write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">") write( [[<span class="locked"><i class="fa fa-fw fa-lock"></i> </span>]] ) write("<?php } ".."?"..">") write("<?php print $albums[$i]['title']; ".."?"..">") write( [[</p>
    ]] ) if model.mosaic.Title == 'titleanddescription' then write( [[
    <p class="album-description">]] ) write("<?php print $albums[$i]['description']; ".."?"..">") write( [[</p>
    ]] ) if model.album_info.fade then write( [[
    <p class="album-overlay"></p>
    ]] ) end write( [[
    ]] ) end write( [[
    </div>
    </div>
    </div>
    </div>
    </div><!-- .album -->
    ]] ) elseif model.autoindex.type.desktop == 'text-only' then write( [[
    <div class="album grid_]] )write( math.floor( 12 / model.albumodel.settings.columns ) )write( [[ clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" ]] ) write("<?php print $AI_TARGET; ".."?"..">") write( [[></a>
    <div class="album-core clearfix">
    <div class="album-info">
    <p class="album-title">]] ) write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">") write( [[<span class="locked"><i class="fa fa-fw fa-lock"></i> </span>]] ) write("<?php } ".."?"..">") write("<?php print $albums[$i]['title']; ".."?"..">") write( [[</p>
    <p class="album-description">]] ) write("<?php print $albums[$i]['description']; ".."?"..">") write( [[</p>
    ]] ) if model.album_info.fade then write( [[
    <p class="album-overlay"></p>
    ]] ) end write( [[
    </div>
    </div>
    </div>
    </div><!-- .album -->
    ]] ) end --[[ autoindex.type ]]

ERROR
Switch View

    <% if model.autoindex.type.desktop == 'descriptive' then %>
    <div class="album grid_<%= math.floor( 12 / model.albumodel.settings.columns ) %> clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>></a>
    <div class="album-core clearfix">
    <div class="album-thumbnail clearfix" style="background-image: url(<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>);">
    <a href="<% write("<?php print $albums[$i]['url']; ".."?"..">")%>"><img alt="Album Title" src="<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>" class="album-image" /></a>
    </div>
    <div class="album-info">
    <p class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></p>
    <p class="album-description"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></p>
    <% if model.album_info.fade then %>
    <p class="album-overlay"></p>
    <% end %>
    </div>
    </div>
    </div>
    </div><!-- .album -->
    <% elseif model.autoindex.type.desktop == 'ce4-freewall' then %>
    <div class="brick" style="height: <% write("<?php print floor($height + ".. math.floor(model.freewall.margin * 2 + model.album.border.width * 2) .."); ".."?"..">")%>px;">
    <div class="album clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>><img alt="Album Title" src="<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>" class="album-image" /></a>
    <ul>
    <li class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></li>
    <% if model.mosaic.Title == 'titleanddescription' then %>
    <li class="album-desc"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></li>
    <% end %>
    </ul>
    </div>
    </div><!-- .brick -->
    <% elseif model.autoindex.type.desktop == 'iconic' then %>
    <div class="album grid_<%= math.floor( 12 / model.albumodel.settings.columns ) %> clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>></a>
    <div class="album-core clearfix">
    <div class="album-image mosaic-backdrop"
    style="background-image: url(<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>);">
    </div>
    <div class="mosaic-overlay">
    <div class="album-info">
    <p class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></p>
    <% if model.mosaic.Title == 'titleanddescription' then %>
    <p class="album-description"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></p>
    <% if model.album_info.fade then %>
    <p class="album-overlay"></p>
    <% end %>
    <% end %>
    </div>
    </div>
    </div>
    </div>
    </div><!-- .album -->
    <% elseif model.autoindex.type.desktop == 'text-only' then %>
    <div class="album grid_<%= math.floor( 12 / model.albumodel.settings.columns ) %> clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>></a>
    <div class="album-core clearfix">
    <div class="album-info">
    <p class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></p>
    <p class="album-description"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></p>
    <% if model.album_info.fade then %>
    <p class="album-overlay"></p>
    <% end %>
    </div>
    </div>
    </div>
    </div><!-- .album -->
    <% end --[[ autoindex.type ]] %>

    if model.autoindex.type.desktop == 'descriptive' then write( [[
    <div class="album grid_]] )write( math.floor( 12 / model.albumodel.settings.columns ) )write( [[ clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" ]] ) write("<?php print $AI_TARGET; ".."?"..">") write( [[></a>
    <div class="album-core clearfix">
    <div class="album-thumbnail clearfix" style="background-image: url(]] ) write("<?php print $albums[$i]['thumbnail']; ".."?"..">") write( [[);">
    <a href="]] ) write("<?php print $albums[$i]['url']; ".."?"..">") write( [["><img alt="Album Title" src="]] ) write("<?php print $albums[$i]['thumbnail']; ".."?"..">") write( [[" class="album-image" /></a>
    </div>
    <div class="album-info">
    <p class="album-title">]] ) write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">") write( [[<span class="locked"><i class="fa fa-fw fa-lock"></i> </span>]] ) write("<?php } ".."?"..">") write("<?php print $albums[$i]['title']; ".."?"..">") write( [[</p>
    <p class="album-description">]] ) write("<?php print $albums[$i]['description']; ".."?"..">") write( [[</p>
    ]] ) if model.album_info.fade then write( [[
    <p class="album-overlay"></p>
    ]] ) end write( [[
    </div>
    </div>
    </div>
    </div><!-- .album -->
    ]] ) elseif model.autoindex.type.desktop == 'ce4-freewall' then write( [[
    <div class="brick" style="height: ]] ) write("<?php print floor($height + ".. math.floor(model.freewall.margin * 2 + model.album.border.width * 2) .."); ".."?"..">") write( [[px;">
    <div class="album clearfix">
    <a class="album-link" ]] ) write("<?php print $AI_TARGET; ".."?"..">") write( [[><img alt="Album Title" src="]] ) write("<?php print $albums[$i]['thumbnail']; ".."?"..">") write( [[" class="album-image" /></a>
    <ul>
    <li class="album-title">]] ) write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">") write( [[<span class="locked"><i class="fa fa-fw fa-lock"></i> </span>]] ) write("<?php } ".."?"..">") write("<?php print $albums[$i]['title']; ".."?"..">") write( [[</li>
    ]] ) if model.mosaic.Title == 'titleanddescription' then write( [[
    <li class="album-desc">]] ) write("<?php print $albums[$i]['description']; ".."?"..">") write( [[</li>
    ]] ) end write( [[
    </ul>
    </div>
    </div><!-- .brick -->
    ]] ) elseif model.autoindex.type.desktop == 'iconic' then write( [[
    <div class="album grid_]] )write( math.floor( 12 / model.albumodel.settings.columns ) )write( [[ clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" ]] ) write("<?php print $AI_TARGET; ".."?"..">") write( [[></a>
    <div class="album-core clearfix">
    <div class="album-image mosaic-backdrop"
    style="background-image: url(]] ) write("<?php print $albums[$i]['thumbnail']; ".."?"..">") write( [[);">
    </div>
    <div class="mosaic-overlay">
    <div class="album-info">
    <p class="album-title">]] ) write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">") write( [[<span class="locked"><i class="fa fa-fw fa-lock"></i> </span>]] ) write("<?php } ".."?"..">") write("<?php print $albums[$i]['title']; ".."?"..">") write( [[</p>
    ]] ) if model.mosaic.Title == 'titleanddescription' then write( [[
    <p class="album-description">]] ) write("<?php print $albums[$i]['description']; ".."?"..">") write( [[</p>
    ]] ) if model.album_info.fade then write( [[
    <p class="album-overlay"></p>
    ]] ) end write( [[
    ]] ) end write( [[
    </div>
    </div>
    </div>
    </div>
    </div><!-- .album -->
    ]] ) elseif model.autoindex.type.desktop == 'text-only' then write( [[
    <div class="album grid_]] )write( math.floor( 12 / model.albumodel.settings.columns ) )write( [[ clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" ]] ) write("<?php print $AI_TARGET; ".."?"..">") write( [[></a>
    <div class="album-core clearfix">
    <div class="album-info">
    <p class="album-title">]] ) write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">") write( [[<span class="locked"><i class="fa fa-fw fa-lock"></i> </span>]] ) write("<?php } ".."?"..">") write("<?php print $albums[$i]['title']; ".."?"..">") write( [[</p>
    <p class="album-description">]] ) write("<?php print $albums[$i]['description']; ".."?"..">") write( [[</p>
    ]] ) if model.album_info.fade then write( [[
    <p class="album-overlay"></p>
    ]] ) end write( [[
    </div>
    </div>
    </div>
    </div><!-- .album -->
    ]] ) end --[[ autoindex.type ]]

ERROR
Switch View

    <% if model.autoindex.type.desktop == 'descriptive' then %>
    <div class="album grid_<%= math.floor( 12 / model.albumodel.settings.columns ) %> clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>></a>
    <div class="album-core clearfix">
    <div class="album-thumbnail clearfix" style="background-image: url(<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>);">
    <a href="<% write("<?php print $albums[$i]['url']; ".."?"..">")%>"><img alt="Album Title" src="<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>" class="album-image" /></a>
    </div>
    <div class="album-info">
    <p class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></p>
    <p class="album-description"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></p>
    <% if model.album_info.fade then %>
    <p class="album-overlay"></p>
    <% end %>
    </div>
    </div>
    </div>
    </div><!-- .album -->
    <% elseif model.autoindex.type.desktop == 'ce4-freewall' then %>
    <div class="brick" style="height: <% write("<?php print floor($height + ".. math.floor(model.freewall.margin * 2 + model.album.border.width * 2) .."); ".."?"..">")%>px;">
    <div class="album clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>><img alt="Album Title" src="<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>" class="album-image" /></a>
    <ul>
    <li class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></li>
    <% if model.mosaic.Title == 'titleanddescription' then %>
    <li class="album-desc"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></li>
    <% end %>
    </ul>
    </div>
    </div><!-- .brick -->
    <% elseif model.autoindex.type.desktop == 'iconic' then %>
    <div class="album grid_<%= math.floor( 12 / model.albumodel.settings.columns ) %> clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>></a>
    <div class="album-core clearfix">
    <div class="album-image mosaic-backdrop"
    style="background-image: url(<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>);">
    </div>
    <div class="mosaic-overlay">
    <div class="album-info">
    <p class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></p>
    <% if model.mosaic.Title == 'titleanddescription' then %>
    <p class="album-description"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></p>
    <% if model.album_info.fade then %>
    <p class="album-overlay"></p>
    <% end %>
    <% end %>
    </div>
    </div>
    </div>
    </div>
    </div><!-- .album -->
    <% elseif model.autoindex.type.desktop == 'text-only' then %>
    <div class="album grid_<%= math.floor( 12 / model.albumodel.settings.columns ) %> clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>></a>
    <div class="album-core clearfix">
    <div class="album-info">
    <p class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></p>
    <p class="album-description"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></p>
    <% if model.album_info.fade then %>
    <p class="album-overlay"></p>
    <% end %>
    </div>
    </div>
    </div>
    </div><!-- .album -->
    <% end --[[ autoindex.type ]] %>

    if model.autoindex.type.desktop == 'descriptive' then write( [[
    <div class="album grid_]] )write( math.floor( 12 / model.albumodel.settings.columns ) )write( [[ clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" ]] ) write("<?php print $AI_TARGET; ".."?"..">") write( [[></a>
    <div class="album-core clearfix">
    <div class="album-thumbnail clearfix" style="background-image: url(]] ) write("<?php print $albums[$i]['thumbnail']; ".."?"..">") write( [[);">
    <a href="]] ) write("<?php print $albums[$i]['url']; ".."?"..">") write( [["><img alt="Album Title" src="]] ) write("<?php print $albums[$i]['thumbnail']; ".."?"..">") write( [[" class="album-image" /></a>
    </div>
    <div class="album-info">
    <p class="album-title">]] ) write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">") write( [[<span class="locked"><i class="fa fa-fw fa-lock"></i> </span>]] ) write("<?php } ".."?"..">") write("<?php print $albums[$i]['title']; ".."?"..">") write( [[</p>
    <p class="album-description">]] ) write("<?php print $albums[$i]['description']; ".."?"..">") write( [[</p>
    ]] ) if model.album_info.fade then write( [[
    <p class="album-overlay"></p>
    ]] ) end write( [[
    </div>
    </div>
    </div>
    </div><!-- .album -->
    ]] ) elseif model.autoindex.type.desktop == 'ce4-freewall' then write( [[
    <div class="brick" style="height: ]] ) write("<?php print floor($height + ".. math.floor(model.freewall.margin * 2 + model.album.border.width * 2) .."); ".."?"..">") write( [[px;">
    <div class="album clearfix">
    <a class="album-link" ]] ) write("<?php print $AI_TARGET; ".."?"..">") write( [[><img alt="Album Title" src="]] ) write("<?php print $albums[$i]['thumbnail']; ".."?"..">") write( [[" class="album-image" /></a>
    <ul>
    <li class="album-title">]] ) write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">") write( [[<span class="locked"><i class="fa fa-fw fa-lock"></i> </span>]] ) write("<?php } ".."?"..">") write("<?php print $albums[$i]['title']; ".."?"..">") write( [[</li>
    ]] ) if model.mosaic.Title == 'titleanddescription' then write( [[
    <li class="album-desc">]] ) write("<?php print $albums[$i]['description']; ".."?"..">") write( [[</li>
    ]] ) end write( [[
    </ul>
    </div>
    </div><!-- .brick -->
    ]] ) elseif model.autoindex.type.desktop == 'iconic' then write( [[
    <div class="album grid_]] )write( math.floor( 12 / model.albumodel.settings.columns ) )write( [[ clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" ]] ) write("<?php print $AI_TARGET; ".."?"..">") write( [[></a>
    <div class="album-core clearfix">
    <div class="album-image mosaic-backdrop"
    style="background-image: url(]] ) write("<?php print $albums[$i]['thumbnail']; ".."?"..">") write( [[);">
    </div>
    <div class="mosaic-overlay">
    <div class="album-info">
    <p class="album-title">]] ) write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">") write( [[<span class="locked"><i class="fa fa-fw fa-lock"></i> </span>]] ) write("<?php } ".."?"..">") write("<?php print $albums[$i]['title']; ".."?"..">") write( [[</p>
    ]] ) if model.mosaic.Title == 'titleanddescription' then write( [[
    <p class="album-description">]] ) write("<?php print $albums[$i]['description']; ".."?"..">") write( [[</p>
    ]] ) if model.album_info.fade then write( [[
    <p class="album-overlay"></p>
    ]] ) end write( [[
    ]] ) end write( [[
    </div>
    </div>
    </div>
    </div>
    </div><!-- .album -->
    ]] ) elseif model.autoindex.type.desktop == 'text-only' then write( [[
    <div class="album grid_]] )write( math.floor( 12 / model.albumodel.settings.columns ) )write( [[ clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" ]] ) write("<?php print $AI_TARGET; ".."?"..">") write( [[></a>
    <div class="album-core clearfix">
    <div class="album-info">
    <p class="album-title">]] ) write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">") write( [[<span class="locked"><i class="fa fa-fw fa-lock"></i> </span>]] ) write("<?php } ".."?"..">") write("<?php print $albums[$i]['title']; ".."?"..">") write( [[</p>
    <p class="album-description">]] ) write("<?php print $albums[$i]['description']; ".."?"..">") write( [[</p>
    ]] ) if model.album_info.fade then write( [[
    <p class="album-overlay"></p>
    ]] ) end write( [[
    </div>
    </div>
    </div>
    </div><!-- .album -->

Something I did perhaps??
regards Mark

Sorry, forgot the link: http://www.photophart.com/galleries.php

Last edited by markh (2015-06-30 22:19:27)

Offline

#2 2015-06-30 22:29:49

alfred
Member
Registered: 2013-06-08
Posts: 134

Re: Updated pages to 7.0.14 today, Galleries broken

Same for me - glad that I can stop debugging ... Reverting to 7013 fixes it, but I have left in the broken state for tonight:
http://www.fotowarkstee.de/galleries.php The rest of the website seems to work fine.

Last edited by alfred (2015-06-30 22:40:53)

Offline

#3 2015-06-30 22:47:48

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Updated pages to 7.0.14 today, Galleries broken

I can also confirm this happening on the Galleries page of Pages.

For Autoindex, Album Sets and stand-alone indexes seem to be working fine


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#4 2015-07-01 11:12:45

markh
Member
From: Center of The US
Registered: 2012-09-24
Posts: 380
Website

Re: Updated pages to 7.0.14 today, Galleries broken

Have reverted to Pages 7.0.13 for the time being. Galleries errors are gone.
Regards Mark

Offline

#5 2015-07-01 20:58:47

markh
Member
From: Center of The US
Registered: 2012-09-24
Posts: 380
Website

Re: Updated pages to 7.0.14 today, Galleries broken

Updated to Pages 7.0.14a early this AM and all seems right with the world...or..the galleries rather.
Regards Mark

Offline

#6 2015-07-01 22:00:22

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Updated pages to 7.0.14 today, Galleries broken

Glad to hear it. Sorry about all that.


Matt

The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB