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-04-10 02:11:08

paulpegg
Member
Registered: 2013-03-07
Posts: 252

republish with changed template

I created a gallery template in CE4 and named it the same as the template that was used in a CE3 site. i migrated all the CE3 galleries to the CE4 site and it worked perfectly (good job). I have made some changes to the CE4 template and wonder if I can use the following procedure to remigrate the galleries.

1. Use CE4 Publisher to delete all the migrated galleries.
2. Put the new template in place using the original name as in CE3.
3. Migrate the galleries again.

I assume this will work. Are there any things to watch out for?

Thanks,

Paul

Offline

#2 2015-04-10 04:01:47

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

Re: republish with changed template

why remigrate? Just upload the revised template. It will overwrite the existing template (assuming they have the same name) and your changes will be applied.
If you happened to change thumbnail or large image sizes you'll have to republish the images.


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-04-10 04:48:37

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: republish with changed template

Thanks, that's the kind of information I was fishing for.

Offline

#4 2015-04-10 05:16:17

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

Re: republish with changed template

it's one of the great features of using Publisher. If you ever want to change design of your albums, just upload a new template and switch templates.


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

Offline

#5 2015-04-11 08:08:12

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: republish with changed template

It didn't work for me. i changed the style from Masonry to CE4 Standard, exported with the original name, put it in the server and there was no change in the appearance of the galleries. www.photoimpressions.org

Offline

#6 2015-04-11 08:30:17

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

Re: republish with changed template

this is the template the first album on the galleries page is using:
http://photoimpressions.org/ttg-be/temp … 4_1-27-14/
It's a Masonry layout.

make sure your FTP program is set to overwrite. Either that or just upload the new template with a new name and then just choose that template.
I like to name them so I know what they are, for example: ce4-gallery-masonry


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-04-11 22:32:16

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: republish with changed template

My mistake. I still have /publisher/templates from CE3 and put the changed template there.

I used that name because it was the name of the template from CE3 and it made it very simple to migrate the galleries. I used your naming convention when I exported them but copy and rename them to match the one from CE3 to make migration easy to do.

See you over at phplugins

Offline

#8 2015-04-12 00:05:25

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

Re: republish with changed template

so all is well now?


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-04-12 00:13:38

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: republish with changed template

Yes on this item. It looks good www.photoimpressions.org I have a few niggles to take care of.
1. I would like to make the drop shadow on the thumbnails larger but I can't get my custon css to be recognized.
2. I would like to get a slideshow running in the home page image box.

Neither of these are pertinent to this discussion. i posted the first in phplugins and have not yet worked on the second.

Thanks for all your help.

Paul

Offline

#10 2015-04-12 00:20:54

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

Re: republish with changed template

Slide shows can't replace the image. It will need to go either above or below the text.

You've also got the broken web-fonts issue that crops up in Firefox and IE.
See: http://ce3wiki.theturninggate.net/doku. … _web_fonts

the fix for which can sometimes cause this problem: http://ttg-tips-and-tricks.barbeephoto. … ess-oh-my/


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-04-12 00:36:06

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: republish with changed template

Well that item brings up another issue.  I created an .htaccess file in Notepad++ but it crashes the site so I ignored it until now. I have a later project to put up a few galleries with html5 videos which is when i planned on confronting that one.

I did see one or two of the sample sites with a slide show in home page left side image just like I had in CE3.

Offline

#12 2015-04-12 00:42:28

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: republish with changed template

Hi Paul, .htaccess files may crash a site if they attempt to set rules that aren't allowed by the web server.  Can you copy and paste the contents of the file here?  One strategy to finding the offending rule/s is to comment-out and un-comment-out lines by prepending them with a '#' symbol.

Offline

#13 2015-04-12 00:51:53

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: republish with changed template

This was to set up the video

AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm

SetEnvIfNoCase Request_URI \.(og[gav]|mp4|m4a|webm)$ no-gzip dont-vary

Offline

#14 2015-04-12 00:59:09

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

Re: republish with changed template

paulpegg wrote:

I did see one or two of the sample sites with a slide show in home page left side image just like I had in CE3.

Those were probably CE3 sites then.


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

Offline

Board footer

Powered by FluxBB