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-07-25 13:16:42

bcobb10b
Member
From: Sandy Springs GA
Registered: 2014-03-28
Posts: 77

CE4 Publisher uses outdated Auto Index template when building gallery

I converted a gallery from CE3 to CE4 after building and uploading new CE4 templates for the gallery and its auto index per instructions on the site here.  The published gallery's albums are properly built using the new CE4 template.  Unfortunately the Auto Index is not -- it was built using a prior obsolete auto index template.  You can see the live auto index at http://www.nfarl.org/nfarlPhotoAlbum/gallery/; drill through to one of its albums to see the CE4 presentation (first cut).

The following was displayed when I scanned the album using Matthew's handy debugging tool -- ?debug:

TTG CE3 Auto Index PHP function v1.7 (2012-01-10)
DOCUMENT ROOT '/home3/nfarl/public_html'
REALPATH(ROOT)  '/home3/nfarl/public_html'
Filepath   = './'
Realpath = '/home3/nfarl/public_html/nfarlPhotoAlbum/gallery/*'
URL Root = '/home3/nfarl/public_html'
Scanning '/home3/nfarl/public_html/nfarlPhotoAlbum/gallery/2014-holiday-party'
OS Path = '/home3/nfarl/public_html/nfarlPhotoAlbum/gallery/2014-holiday-party' URL Path = '/nfarlPhotoAlbum/gallery/2014-holiday-party'
Thumbnail <XML> ''

How do I recover from this?

Bill Cobb

Last edited by bcobb10b (2015-07-25 13:19:57)

Offline

#2 2015-07-25 14:05:45

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

Re: CE4 Publisher uses outdated Auto Index template when building gallery

have you tried replacing the old CE3 autoindex template with one created with CE4 autoindex?


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

Offline

#3 2015-07-25 23:03:21

bcobb10b
Member
From: Sandy Springs GA
Registered: 2014-03-28
Posts: 77

Re: CE4 Publisher uses outdated Auto Index template when building gallery

I have - a number of times. That included making a number of versions of the CE4 template.

And I have deleted every copy of CE3 templates I can find hoping to trip something that will cause it to recognize the CE4 auto index.

I have completely republished the gallery and all of its albums.

I have removed the CE3 .lrengine files.

I cannot figure out where publisher is getting the CE3 auto index template info to use when I republish. Is it left in the database? I've refrained from messing with it. .

I can build a new publisher instance and recreate the gallery, but am trying to avoid the pain. Is there a way to "move" or "copy" albums from one publisher instance to another? Similar to the process I used when I created a duplicate of the CE4 default template I used as a base and moved the duplicate to my user templates area for mods.

Thanks for your quick response Rod.

Offline

#4 2015-07-25 23:12:34

bcobb10b
Member
From: Sandy Springs GA
Registered: 2014-03-28
Posts: 77

Re: CE4 Publisher uses outdated Auto Index template when building gallery

rod barbee wrote:

have you tried replacing the old CE3 autoindex template with one created with CE4 autoindex?

I did. I placed it in the ttg-be auto index template folder. Should it have gone elsewhere?

Offline

#5 2015-07-25 23:33:48

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

Re: CE4 Publisher uses outdated Auto Index template when building gallery

it should be in the /ttg-be/templates/autoindex/ folder. Can you post a link to it?


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

Offline

#6 2015-07-25 23:39:54

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

Re: CE4 Publisher uses outdated Auto Index template when building gallery

this page: http://www.nfarl.org/nfarlPhotoAlbum/gallery/
looks to be an exported and uploaded CE3 autoindex and not a Publisher controlled Album Set. It won't be controlled by the autoindex you upload to ttg-be/templates/autoindex.

You need to export a new CE4 autoindex named 'gallery' and replace the existing autoindex.

I'm also guessing the it's the top-level galleries folder for Publisher?


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

Offline

#7 2015-07-26 00:05:41

bcobb10b
Member
From: Sandy Springs GA
Registered: 2014-03-28
Posts: 77

Re: CE4 Publisher uses outdated Auto Index template when building gallery

rod barbee wrote:

this page: http://www.nfarl.org/nfarlPhotoAlbum/gallery/
looks to be an exported and uploaded CE3 autoindex and not a Publisher controlled Album Set. It won't be controlled by the autoindex you upload to ttg-be/templates/autoindex.

Ah ha!  At least I now know which sandbox to play in!

Album Sets are new with CE4 latest release, right?  Is an Album Set required for a gallery?  I read it as a feature to be used when its capabilities were required.

rod barbee wrote:

You need to export a new CE4 autoindex named 'gallery' and replace the existing autoindex.

In the ttg-be/templates/autoindex folder?

rod barbee wrote:

I'm also guessing the it's the top-level galleries folder for Publisher?

I don't understand.

Offline

#8 2015-07-26 00:24:40

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

Re: CE4 Publisher uses outdated Auto Index template when building gallery

rod barbee wrote:

    You need to export a new CE4 autoindex named 'gallery' and replace the existing autoindex.

In the ttg-be/templates/autoindex folder?

No. replace the 'gallery' autoindex currently in the  /nfarlPhotoAlbum/ folder

rod barbee wrote:

    I'm also guessing the it's the top-level galleries folder for Publisher?

I don't understand.

In Publisher set up you need to identify the 'top-level galleries folder'. This is where Publisher puts albums and album sets.
Since you have albums inside this folder: http://nfarl.org/nfarlPhotoAlbum/gallery/ I'm assuming that it has to be your top-level gallery folder.

Album Sets are new with CE4 latest release, right?

No, they've been part of Publisher all along.

Is an Album Set required for a gallery?

No. Only if you want to organize your albums into related groups. Album Set will hold Albums. For example, on my site I have an album set named "National Parks". Inside that album set are my National Parks albums.

I read it as a feature to be used when its capabilities were required.

correct.


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

Offline

#9 2015-07-26 01:14:03

bcobb10b
Member
From: Sandy Springs GA
Registered: 2014-03-28
Posts: 77

Re: CE4 Publisher uses outdated Auto Index template when building gallery

rod barbee wrote: You need to export a new CE4 autoindex named 'gallery' and replace the existing autoindex.

bcobb10b wrote:  In the ttg-be/templates/autoindex folder?

rod barbee wrote:  No. replace the 'gallery' autoindex currently in the  /nfarlPhotoAlbum/ folder

The current contents of the /nfarlPhotoAlbum/ folder are:
   _workPages folder
   gallery folder
   ttg-be folder

Inside the /nfarlPhotoAlbum/gallery folder are several files and folders also found in the /nfarlPhotoAlbum/ttg-be/templates/autoindex/gallery folder such as:
  autoindex.xml
  galleries_ce3.xml (only in the /nfarlPhotoAlbum/gallery folder )
  index.php
  template_index.php
  photos folder
  thumbnails folder

Are you suggesting that I take the contents of the /nfarlPhotoAlbum/ttg-be/templates/autoindex/gallery folder and place them in the /nfarlPhotoAlbums/gallery folder?

Whew, I need another cuppa coffee after sorting that out  :-)

Last edited by bcobb10b (2015-07-26 01:15:25)

Offline

#10 2015-07-26 01:45:58

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

Re: CE4 Publisher uses outdated Auto Index template when building gallery

Are you suggesting that I take the contents of the /nfarlPhotoAlbum/ttg-be/templates/autoindex/gallery folder and place them in the /nfarlPhotoAlbums/gallery folder?

basically, yes. Though if you want to create album sets you should leave the 'gallery' autoindex in the ttg-be/templates/autoindex/ folder so it can be used as a template for Publisher.


inside the /nfarlPhotoAlbums/gallery/ folder you should also have folders for all your albums. You don't need to replace those. Just the files originally created by CE3 autoindex.


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

Offline

#11 2015-07-26 01:50:14

bcobb10b
Member
From: Sandy Springs GA
Registered: 2014-03-28
Posts: 77

Re: CE4 Publisher uses outdated Auto Index template when building gallery

rod barbee wrote:

Are you suggesting that I take the contents of the /nfarlPhotoAlbum/ttg-be/templates/autoindex/gallery folder and place them in the /nfarlPhotoAlbums/gallery folder?

basically, yes. Though if you want to create album sets you should leave the 'gallery' autoindex in the ttg-be/templates/autoindex/ folder so it can be used as a template for Publisher.


inside the /nfarlPhotoAlbums/gallery/ folder you should also have folders for all your albums. You don't need to replace those. Just the files originally created by CE3 autoindex.

Sounds good.  I will definitely leave the 'gallery' autoindex in the ttg-be/templates/autoindex/ folder.

Thanks for your guidance and patience.

Bill

Offline

#12 2015-07-26 02:36:31

bcobb10b
Member
From: Sandy Springs GA
Registered: 2014-03-28
Posts: 77

Re: CE4 Publisher uses outdated Auto Index template when building gallery

That worked, Rod.

My only issue was forgetting to add the markdown text to the Content / Description section of the template, and had to move things over a second time.

FYI, at Matthew's suggestion I started using Coda for modifications.  It saved me a bunch of time over previous methods.

Bill

Offline

Board footer

Powered by FluxBB