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.

#226 Backlight Support » Backlight 101 throws this error on startup » 2016-05-11 20:46:31

markh
Replies: 10

Just updated to 101 from 100. Logging in to backlight goes well. Starting the site gives me this error:

Something went wrong

Unexpected error: Class 'Album' not found in PageController.php on line 80

Please report error at http://community.theturninggate.net

There a way around this?
Thanx, Mark

Oh, by the way, this is now running in a subdomain for testing here:
http://backlightmhp.markhoffmanphotography.com

#227 Re: Backlight Support » Top level directories still a bit confusing » 2016-05-10 23:49:41

That helps.  I'm going to take your other suggestion as well. The one about taking backlight semi-live in a subdomain on my webserver before going all-live with it.
Much appreciated.

#228 Re: Backlight Support » Top level directories still a bit confusing » 2016-05-10 22:56:46

Thanks Rod, think I've got that. So I really don't need an album set in a top level directory if I don't want one?

#229 Backlight Support » Top level directories still a bit confusing » 2016-05-10 21:45:20

markh
Replies: 4

In a fresh installation of backlight + pages I have a top level directory of /galleries visible on my webserver, but it does not appear within backlight and is, in fact, an empty directory. In lightroom publisher I create a new instance tp publish to the top level gallery called "galleries". Do I also have to create an album set in that publisher instance called "galleries" or do I just create albums within that publisher instance?
New question: If I want a second top level directory called "gallery2" obviously I need to create a new instance of publisher to publish to that directory. Will that automatically create a top level directory on my webserver or does that require an album set as well, or do I just physically add a directory on the server called Gallery2.
Thought I had this figured out once but I've been gleefully trying all sorts of things on my testing server and now I've created a confusing mess so I'm starting over with a fresh installation and want to make sure I'm clear on this.

#230 Re: Backlight Support » Have empty Albums I can't delete from gallery » 2016-05-10 10:57:55

Not sure how I created them, I was playing around trying all sorts of new things on this testing server. The top level galleries no longer exist in the file structure on the hard drive but they show up in backlight as top level directories and in the database also. None of this is critical because this isn't yet a live site, just me making a mess, but I'm curious how I'd go about getting them out of there.

#231 Re: Backlight Support » Have empty Albums I can't delete from gallery » 2016-05-10 10:29:58

I have a couple top level galleries that I cannot delete either from within backlight or by accessing the database. Using the database method when I try to delete them I get an error that says the database table is locked. These galleries are the result of me trying different things with this while I get it going. The galleries I can't delete were actually album sets with no albums in them.
Mark

#232 Re: Backlight Support » Error Unable to perform action: getThumbnails » 2016-05-10 02:02:07

It is a very small, very interconnected world indeed.

#233 Re: Backlight Support » Error Unable to perform action: getThumbnails » 2016-05-09 23:09:52

I've seen that phrase "regular expression" before somewhere. I think a guy named Jeffrey Friedl wrote a book about them. Haven't read the book but I'm acquainted with Jeffrey, a photography-type fella from Japan. Writes some cool code for Lightroom plugins etc. Also wrote the code for Wigglegrams,  examples of which can be found here: http://blog.photophart.com/?p=462 and here: http://blog.photophart.com/?p=481 and here: http://blog.photophart.com/?p=516
Perhaps just another example of how everything on earth seems to be tied, tenuously, to everything else.
Regards, Mark

#234 Re: Backlight Support » Error Unable to perform action: getThumbnails » 2016-05-09 22:17:49

Rod, I'm using a similar testing arrangement in XAMPP (WAMP's cousin, I guess) so you're probably right. Things are going so well with Backlight that I'm considering taking this site live very soon and replacing my CE4 site with it. We'll see if that error goes away then.

#235 Re: Backlight Support » Error Unable to perform action: getThumbnails » 2016-05-09 20:36:29

Can't. It's running on my local testing server. More info: I was using a new instance of publisher to edit an album in a top level gallery that was originally created in CE4. Thought that might be the issue so I created another new instance of publisher that created a new top level gallery of a different name on the site. Then added a new album to that top level gallery. All went well with that. When I try to edit that album I get the same error again, but I can still edit the album, add and remove photos, republish, or edit the album's other settings. So the error doesn't seem to be stopping anything.
Mark

#236 Backlight Support » Error Unable to perform action: getThumbnails » 2016-05-09 11:11:30

markh
Replies: 10

In lightroom, in publisher, when I try to edit a published album I get this:

Error
Unable to perform action: getThumbnails
Message: preg_replace(): Compilation failed: a numbered reference must not be zero at offset 43 in ThumbnailFinder.php on line 32

I respond OK and can continue to edit the published album without further incident, so the error is not critical, but what is it? and can I fix it?

Mark

#237 Backlight Support » Shock And Awe! Really! » 2016-05-07 08:36:13

markh
Replies: 1

Backlight is SO much better than clubbing away at the Lightroom Web Module, there is simply no comparison. I've been fooling around with this most of the day and love it! Design changes provide instant gratification and who isn't into that?
Great job!
Mark

#239 Backlight Support » Identity plate for masthead not showing up in design mode » 2016-05-06 23:51:11

markh
Replies: 5

I've placed a .png image and a .jpeg image in the backlight/templates/upload images directory. They do not appear as choices in the drop down box for identity plate. Is a different file type required?

#240 Re: Backlight Support » Migrating Albums From CE4 to Backlight » 2016-05-06 19:26:25

Thanks Ben. I'll try that....with care.

Seemed to work just fine.
Mark

#241 Re: Backlight Support » Migrating Albums From CE4 to Backlight » 2016-05-06 18:52:30

But...Clicking the Migrate link I get this:
"CE4 Publisher was not found"
I have been using CE4 publisher with this site for quite a long time so I'm confused as usual. I can't provide links as this is running in a testing environment. Root directory looks like this:
/backlight
/galleries
/ttg-be/publisher
etc.
This isn't absolutely critical as I'd planned to re-publish all the galleries from scratch but since this is a test site having the galleries migrate easily would have been nice.
Any idea where that error is coming from?

#242 Re: Backlight Support » Migrating Albums From CE4 to Backlight » 2016-05-06 17:53:02

Um...Just got Backlight and pages and have it installed and running, but I don't see the link in Backlight to migrate albums from CE4. Perhaps it is hiding in plain sight?
Mark

Oooops! Never mind, there it is.
M

#244 CE4 Stage » Sell images directly from a galleria slideshow? » 2015-10-13 05:36:32

markh
Replies: 2

A visitor to my site wants to buy an image that appears in a galleria slideshow on my home page. The home page is controlled by stage and is updated via publisher. I can, of course, add a navigation item to go to a gallery of slide show images for sale. But was wondering if anyone knows a way to actually enable cart functionality for the images in the slideshow directly: like, say, have the cart icon appear on the image while it is in the slide show? To complicate this issue I change the images in the galleria slide show from time to time from within lightroom publisher, just to keep things interesting. Tried clicking on the enable cart box in publisher but that seemed to have no effect.
Thanks, Mark

#245 Re: CE4 Pages » Updated pages to 7.0.14 today, Galleries broken » 2015-07-01 20:58:47

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

#246 Re: CE4 Pages » Updated pages to 7.0.14 today, Galleries broken » 2015-07-01 11:12:45

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

#247 CE4 Pages » Updated pages to 7.0.14 today, Galleries broken » 2015-06-30 22:17:35

markh
Replies: 5

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

#248 Re: CE4 Client Response Gallery » CRG 604 kills ttg-be login with redirect loop » 2015-02-27 23:59:26

To the casual observer it is not apparent that the space between my left ear and my right ear is actually occupied by solid bone. Move along people. Pay no attention to the moron uploading file directories to the wrong place. Thanks Rod for the knock on the head.
Mark

#249 Re: CE4 Showcase » my Website created with CE4 now up and running » 2015-02-27 23:28:12

I like it, and am quite taken by the color scheme, although, as in all matters of personal taste, I have no idea why I'm drawn to it. Your logo is especially cool.
Regards, Mark

#250 Re: CE4 Cart » Open Question - How do people deal with selling different aspect ratio » 2015-02-27 22:42:44

Well, mine's not very elegant but it seems to suffice. I just add the phrase: IMAGE MAY BE CROPPED, to the image description if I don't feel like creating individual products for a particular image. Which brings up my second method: if I have an image I don't want to crop I create a product for just that size and offer that image in only that size.

Board footer

Powered by FluxBB