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-09-04 00:04:14

derk
Member
Registered: 2014-11-13
Posts: 13

cannot replace index page with gallery page

Hi !

I am desperately trying to setup a 'publisher managed "Home Page"'.
(.. i have done this month ago and than it worked perfectly)

I have set up a testsite with ce4-pages and am now triying to replace the index site with a 'full-flip'-or 'full-auto'-gallery.
I followed the exat steps described on the ttg-site:
http://theturninggate.net/2014/07/the-p … home-page/

1. exported the pages site with "Allow Page Replacement by CE4 Publisher" set to yes.
2. exported a fullflip-template from ce4-stage and placed it in ttg-be/templates/gallery/
3. in publisher i set up an album with the above template seleted, with base setting "slug: 'pages-gallery'" and feature hide from auto index.
4. the gallery exported/published fine to /galleries folder

But it doesnt replace the index/Home site; means: 'old' index/Home site (form initial pages-export) always still shows up.
( .. i tried at least 30 times .. and am getting mad on this ..)

Is there something i am completely missing ?

Another glitch: When i tell publisher to go to the published gallery, it is shown in the browser.
But in case of 'full-auto'-template the images are not shown but only the loading/turning wheel.

Offline

#2 2015-09-04 00:32:24

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

Re: cannot replace index page with gallery page

how about a link to your site?

are you using the latest versions of Pages, Stage, Publisher, and TTG-BE


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-09-04 01:35:36

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

Re: cannot replace index page with gallery page

also check your image file names. they should contain only letters, numbers, dashes, and underscores. If they contain anything else, like spaces, periods, quote marks, parentheses, etc, those can break the gallery.


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-09-04 02:20:32

derk
Member
Registered: 2014-11-13
Posts: 13

Re: cannot replace index page with gallery page

Hi Rob,
thanks for your suggestions.

i am testing a site locally within a mamp (pro) environment (on a mac).
(with local site root being:   localhost:8888/htdocs/index.php)

i am also using the new versions of the plugins:  publisher(2.31), pages(7014a), stage(614).
Lightroom (Mac)Version is 5.6.

I would like to fix the problem of a 'publisher controlled homepage' first.
Can't get this to work (again)... wondering what i am doing wrong this time.


(I think the problem with images not loading in a gallery is due to a problem with the 8888 port of the local environment:
Ben suggested a fix for this some time ago:
http://community.theturninggate.net/top … vironment/
Funny thing is: if i reverse his fix (taking out the suggest line of code ) then images show up,
but other issues emerge.
But.. i would like to postpone this problem here)

Thank, Derk.

Offline

#5 2015-09-04 02:45:46

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

Re: cannot replace index page with gallery page

Sorry, but I can't really help very much without being able to see something.

One thing to look at is the Publisher API url, it will need to reflect your localhost address

see if this post helps though: http://ttg-tips-and-tricks.barbeephoto. … e-in-wamp/


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-09-05 03:43:07

derk
Member
Registered: 2014-11-13
Posts: 13

Re: cannot replace index page with gallery page

I still need some help or hint with this!

.. it simply doesnt replace the 'home page' with the 'gallery-pages' slugged gallery
..

I do and can do everything as adviced to have a 'publisher controlled homepage':

- in  pages i set the option to allow page replacement to by publisher to Yes
- i exported a (eg) full flip gallery template with stage end put it in /ttg-be/templates/gallery
- i can set up a publisher instance with an album (api url o.k., created gallery template selected, slugged 'pages-gallery, excluded from auto-index)
- i can publish the album/gallery so that in /galleries there is now an album /galleries/pages-gallery/
- i can even tell publisher to go to that published  'pages-galery' (which is a stage-fullflip one) and it is rendered fine within the browser
- from there the bottomleft link directs me to the info page
(everything fine so far)

.. now if i use the menu to go back to Home (index) the galley doesnt show up, but only the original index/Home page  !?!

So..
everything works fine, but somehow the original Home/index page is not replaced by the publisher controlled gallery. (despite i set all the necessary options..)
The redirection doesnt work.

What am i  missing?
Is there probably a manual solution ? For example editing some php/html files so that it works!?

Thanks, Derk.

Offline

#7 2015-09-05 06:15:00

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

Re: cannot replace index page with gallery page

.. it simply doesnt replace the 'home page' with the 'gallery-pages' slugged gallery

double check things. It should be named "pages-gallery" (without the quotes)

I don't know what else to tell you without being able to see anything.
Any chance you can put this online, in a sub-domain perhaps?

Are these the settings you have (especially the Page assignment setting)

publisher-replace.jpg

Is there probably a manual solution ? For example editing some php/html files so that it works!?

No, it's probably some setting like the one above


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

Offline

#8 2015-09-05 13:36:56

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

Re: cannot replace index page with gallery page

rod barbee wrote:

It should be named "pages-gallery" (without the quotes)

The naming for this folder must be exactly this, or it will not work. This folder cannot have any other name. So if you've named it incorrectly, i.e. "gallery-pages", then it just won't work.


Matt

The Turning Gate, http://theturninggate.net

Offline

#9 2015-09-07 04:29:25

derk
Member
Registered: 2014-11-13
Posts: 13

Re: cannot replace index page with gallery page

Dear Rod and Mathew,

i simply missed to set the 'page assignment'. A stupid mistake of mine. Have to say sorry and thanks for your patience and instructive advice.
It now works flawlessly to replace a (Home)Page with a publisher controlled one.

Best, Derk.

Offline

#10 2015-09-07 04:30:33

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

Re: cannot replace index page with gallery page

at least it was an easy fix! smile


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