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.
You are not logged in.
Pages: 1
yes, this works of course. But involves making hard copies if you want to keep the original names. You have to also rename these back if exchange them with new renamed ones. Works, but not for lazy people..
Maybe i can 'set up' a phplugin script that automatically change the (published) image file names into a sequence (sequentially named) ?? Order of resulting sequence should/could be irrelevant.
Hi Ben !
That's a pitty.
I just tried the same: Export/publish a gallery with publisher and renaming the image files with 'somename+sequence'; - and realized the 'sequence renaming' really doesnt work.
What i was trying to achieve:
In short: A publisher controlled website background image (animation).
--
I have a website background image (slideshow) animation - powered by some css in the 'phplugins/css/custom.css' . The script needs (obviously) a folder of images. The image names are 'hard coded' in the css script. - But if (in css) i hardcode the image names as a sequence (img-1.jpg, img-2.jpg ...), i could use the images in the 'photos' folder of a (hidden) publisher controlled gallery; -- but only if i can rename them as a sequence (which is hardcoded in css).
I there some tweak for this?
Best, Derk.
Hi Ben,
thanks for your reply and the URLHelper-fix.
It's working now with port 8888.
I also can work on port 80 now; simply, Websharing was running - as you suggested.
Thanks for that hint. (So now i won't find any off the road bugs in the future;)
Best, Derk.
Hello Rod,
i nailed it down a little bit (being due to other 'issues'):
Problems described here are due to offline testing ports used.
Had the same problem some time ago and Ben provided a URLHelper.php-fix back then.
I reversed the old fix (which solved another problem but) which resultued in problems with crg gallery.
I posted and am describing it here:
http://community.theturninggate.net/post/33006/#p33006
I think we should close this topic here.
Best, Derk.
Hi,
i am testing a new site locally in a MAMP environment with port set to default 8888.
(cannot change to 80, since then apache will not start;; cannot figure this out)
I have one publisher controlled home page gallery (slug: page-gallery; type: full-flip) and a client response gallery.
In both galleries the gallery pictures will not show up.
Plugins in use: ttb-ge203, publisher231, crg610, pages6014a, stage614
(.. now, funny things go one ..)
I posted a similar problem some time ago (2014-11-14):
http://community.theturninggate.net/post/24674/#p24674
There BEN advised to change/add to the file ttg-be/framework/helpers/URLHelper.php (then ttg-be201)
adding:
$resolvedURL .= $parsedURL['port'] ? ':'.$parsedURL['port'] : '';
below line 225:
$resolvedURL = $parsedURL['scheme'] ? $parsedURL['scheme'].'://'.$parsedURL['host'] : '';
so that it read together:
$resolvedURL = $parsedURL['scheme'] ? $parsedURL['scheme'].'://'.$parsedURL['host'] : '';
$resolvedURL .= $parsedURL['port'] ? ':'.$parsedURL['port'] : '';
Line 225 of URLHelper.php in ttg-be201 is now Line 235 of URLHelper.php in ttg-be203.
The 'fix' made it into ttg-be203, so that line 235 and 236 are now:
$resolvedURL = $parsedURL['scheme'] ? $parsedURL['scheme'].'://'.$parsedURL['host'] : '';
$resolvedURL .= $parsedURL['port'] ? ':'.$parsedURL['port'] : '';
Now:
IMAGES WILL SHOW UP IF i reverse the 'old fix' - commenting out line 236 - so that there is only:
$resolvedURL = $parsedURL['scheme'] ? $parsedURL['scheme'].'://'.$parsedURL['host'] : '';
Nice, BUT: This results in 'new issues'::
- In the CRG gallery i can NOT use any button (selecting image, commenting, sending feedback, dim ...)
though i can see and enlarge the images.
- the breadcum link to the parent (autoindex) folder goes wrong (it points to 'localhost/customers/' - but should point to 'localhost:8888/customers/').
IF CHANGE URLHelper.php BACK to original 235/236 lines:
$resolvedURL = $parsedURL['scheme'] ? $parsedURL['scheme'].'://'.$parsedURL['host'] : '';
$resolvedURL .= $parsedURL['port'] ? ':'.$parsedURL['port'] : '';
then:
- i can use the selection/comment/dim/feedback etc. buttons again.
But i cannot see or enlarge the gallery pictures.
- The breadcum link from this gallery to the parent (autoindex) folder then pointx to 'nowhere' (opens a site 'about:blank')
In short:
If i reverse the 'old fix' i can see the gallery pictures but cannot use the crg gallery features.
If leave the ULRHelper.php (203) original i can see no images.
And in both cases there is an issue with the breadcum link to the parent forlder.
Is a 'unifying fix' possible?
(Sorry for this 'special' offline testing question!)
Thanks, Derk.
Hi,
in my publisher controlled ce4 client response galleries i cannot use any of the 'small' buttons.
what's not working (though the cursor indicates that these are buttons):
Image grid:
- selecting an image
- commenting to an image
Status bar: (neither of these buttons work)
- sending feedback
- hiding/dimming etc
what is working:
- i can click on the pictures to enlarge them;but there i also cannot use the selection button.
options/adjustments i have set:
-Creating the crg gallery template in LR. I defenitely enabled options to select images und feedback features (under Appearance/ClientResponseSetup)
- shared resources are disabled everywhere
- creating the (standalone) albums in publisher 'enable feedback' is selected under 'Integration'
- /publisher and /crg folders (from plugin downloads) are inside /ttg-be/ folder (/ttg-be/publisher/ ; /ttg-be/crg/
PluginVersions in use:
ttg-be 2.03
ce4 crg 610
publisher 231
pages 7014a
Environtment:
I am testing offline within a MAMP / LR 4.6
I think i am missing some options that have to be set !?
Thanks, Derk.
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.
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.
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.
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.
I am using a ce4-stage 'full auto' gallery as a template to manage the entry home page via publisher.
Is there a possibility to edit the exported gallery(template) to make it show the image titles in the slide show(like the 'full flip' stage gallery) ?
Hi Rob and Ben !
Ben, editing the URLHelper.php as you said solves the issue.
Thanks for your prompt advise, effort and help !
Best, Derk (from north of Germany).
Hi!
I am testing ce4 plugins within a local MAMP environment on my Macbook.
So the root/url of my testsite as shown in the Browser is 'localhost:8888' (this is the htdocs' folder within local MAMP environment).
When i publish a gallery with ce4-publisher (Version 2.13) , it creates that gallery but neither the thumbnails nor the images show up.
Thats because somehow ce4-publisher 'attributes' wrong filepathes to them -
When i hover over a 'broken' image thumbnail the browser shows as its path eg:
' http://localhost/theater/testgallery/photos/myImage.jpg '
But the proper path should be as follows:
' http://localhost:8888/theater/testgallery/photos/myImage.jpg '
Trying to figure it out it shows that:
1. When i just export the 'testgallery' form LR to the desktop and throw its folder into the 'theater'-autoInex-Folder (http://localhost:8888/theater/ which is the folder '/htdocs/theater/' ) it works perfectly !?
2. Publishing with ce3-publisher works also without any problems (- thumbs and images show up having the proper filepaths)
So this must be a problem with with ce4-publisher.
(I tried to reinstall ce4-publisher plugin and the 'publisher' folder into the 'ttg-be' folder located in root of site (htdocs/).
Have i missed something or is this a bug?
Thanks for advice !
Pages: 1