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.
Yes, it is the CE3 Autoindex pages that are not working correctly. When ckick on a CE3 album set the boxes appear, then click on one of the albums and the CE3 menu is still there but the arrows are back. This has me stumped.
Regarding the menu pages, force of habit I guess. i used Pages from the beginning of ttg to create a bunch of separate pages that I then renamed and customized as needed. I probably used the services page as a template and edited and copied away. I use AutoIndex to create album sets and the Autoindex template. I have Stage but really never paid much attention to it. I have plans to use it to create some html5 videos but just haven't gotten around to it yet.
I found lots of incorrect entries lacking the www in the site path. These all originated from Pages. I corrected them and the dropdown arrows are still inconsistent. I added (CE4) and CE3) to the respective phplugins files to illustrate what is happening. htaccess as above is active.
I messed with the htaccess file and really got things going crazy. i finally renamed it and let it go. The site seems to be ok. I did find several incorrect references in the phplugin files and corrected them.
Hopefully, all is well now.
Thank you again,
paul
Wow. No THAT is a piece of detective work!!
i will work on that fix.
Thanks,
Paul
have you tried altering your .htaccess file?
Or disabling it by renaming it?I renamed it and there was no difference.
Could help if you posted the contents of that file. Ben or Matt might be able to tell something from it.
This is the .htaccess file
<IfModule mod_headers.c>
<FilesMatch "\.(eot|font.css|otf|ttc|ttf|woff)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>
<IfModule mod_mime.c>
# Web fonts
AddType application/font-woff woff
AddType application/vnd.ms-fontobject eot
# Browsers usually ignore the font MIME types and sniff the content,
# however, Chrome shows a warning if other MIME types are used for the
# following fonts.
AddType application/x-font-ttf ttc ttf
AddType font/opentype otf
# Make SVGZ fonts work on iPad:
# https://twitter.com/FontSquirrel/status/14855840545
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
</IfModule>
# rewrite www.example.com _ example.com
<IfModule mod_rewrite.c>
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
</IfModule>
were you able to resolve the title issue?
Yes. I found I needed to put ©{Creator} in both Image Info and Publisher.
The site root is the same.
No change. with the out of order closings.
It looks like this is happening at the Album level since it only happens when you click on a CE3 Album. All of them use the ttg-be/templates/autoindex/SeasonIndex template. The index and template_index files had hooks to the CE4 phplugins file. I changed them to the _ce3 version but it had no effect.
Here is a clue to the arrows issue.
Upon loading the site the nav bar says Galleries. This comes from the CE4 phplugins.php file.
When you click on one of the CE3 dropdown items is says Our Events. This is from the phplugins_ce3.php file that is in a separate folder called phplugins_ce3. it seems to me that the phplugins_ce3 file does not see the htaccess fix that is in the root. Is there a way to fix this?
Thanks,
Paul
PS: I named the CE3 file phplugins_ce3.php to keep from getting confused with which file I was working on.
I do not see the arrows when I click on a CE3 dropdown item. If I then click on an Album Set they come back. and stay until I pick another CE3 dropdown.
I did not republish the images when I edited the template setting. I did so now and it is showing up correct in highslide in the CE4 Album.
Yes, I have tried lots of combinations of Caption and Creator in both Image Info and Publisher. I can get the captions to go from the top to the bottom but I cannot get the Creator to appear. What bugs me is that it worked fine in the CE3 Albums which all use Highslide.
The broken web fonts fix worked also, but not in the CE3 Albums. Click on one of the top four sets that are staying CE3 and the nav bar fonts go to squares. Open one of the Albums and they come back as arrows. This only happens with the CE3 Albums.
This website http://www.lesmarmitonsnj.com/galleries/ce4-test/ is finally working pretty well with a hybrid set of galleries. My new problem is probably a dumb questions but here goes.
I want to have each album in the CE4 set to display the creator and the caption in the highslide show. I have the captions working but the title (creator) is not displaying. The yellow captions are from the custom.css, so that is working.
Here is a shot of what it looks like in LR and in Chrome. http://www.lesmarmitonsnj.com/CE4-captions.jpg. The top image is from LR and the bottom is Chrome. As you can see, the creator appears at the top of the slide in LR but is not there in published site in Chrome.
If you look at the CE3 Albums http://www.lesmarmitonsnj.com/galleries/05-2014/01_may/ the highslide was correct.
What am I missing here?
Also, the dropdown arrows display on my PC as boxes instead of arrows. There is probably a missing tag in phplugins.php that is causing this. It looks fine if I load the site from the link in this message.
Thanks,
Paul
Thanks,
paul
Thank you. I am good now.
Best,
Paul
Thanks,
Any thoughts on the dragon faces?
I received this from Rod while he is in Alaska:
It looks to me that you have CE4 navigation structure on a page that was created with CE3. Are you using phplugins for navigation?
What's happening is that the page is calling for css from the CE3 resources/ folder. CE4's css is in a folder named lib/
So essentially you're trying to use page structure from CE4 (just the navigation part) with css styling from CE3. If you're going to keep your CE3 galleries you'll need to revert to the phplugins.php file you were using with CE3.
For CE4 based pages, you could have a folder named phplugins-ce4/ and use that for drop-down menus and custom css.
Either that your do what you need to do to get your galleries to migrate correctly and then replace the Publisher template you're using.
I am using phplugins.php for navigation.
I have put the CE3 resources folder on the root. I created a /phplugins_ce3 folder and put all the CE3 phplugins files in it. I renamed that phplugins.php to phplugins_ce3.php and edited the index.php and template_index.php files in the Event_Gallery_Template_8_10_2013 to HOOK to that folder and file. IT WORKED!! That template is in both /publisher/templates and ttg-be'/templates/gallery since I am not sure which one would be called from a CE4 nav bar.
BUT, the nav bar was still not called when you pick a dropdown item for the CE3 albums sets. Once in an album and through highslide the nav bar from phplugins_ce3.php is there. I guessed this is an autoindex issue. So I did the same edits to the files in the SeasonIndex that was used to create all the CE3 albums. IT WORKED!
I am done. This is a hybrid site but none of the CE3 Albums will ever be edited again so all is well. PHEW!
I can't redo the migration because my collaborator created the CE3 Albums on his remote computer and he is away until next month. At this point I think I will leave well enough alone.
Any thoughts?
Ben came to the conclusion that the migration failed for some reason. He reversed the migration of two of the CE3 album sets and had me put a copy of the CE3 resources folder off the root.
Now you will see that the CE3 albums load with no nav bar and all the album thumbnails are dragon faces. You will see the dropdown menu text flash as you open each one. This is probably something that has to be changed in phplugins.php but I don't know where to start.
The last one is pure CE4. Everything works fine except for the dragon face when you double click on the drop down..
I sent it to you yesterday.
Thanks.
How do we get to Ben?
I copied the data over but it still doesn't find all the albums. Some are found but the nav bar is missing. The top two do't fly at all. The next two load but the nav bar is missing or flashes the nav in text and then load with no bar. The bottom one is all new using CE4.
There must be something else I need to get. It would be nice to know where all the parts of the migration are to be found and what they do.
The documentation is pretty poor in this regard. What database? How do you move things in Publisher?
Is it even necessary to migrate albums if they are static and will not be changed in the future?
I didn't move the albums, I copied them, so I have many option available.. The original CE3 version is intact. Perhaps I could just copy the CE4 pages into the CE3 folder?
My strategy is the same as a subdomain. It is just not available all the time.
I have gotten the majority of my site http://lesmarmitonsnj.com to work in CE4.
To make testing easier, I created a new folder on the server called lesmCE4. The CE3 version is mapped as lesm. When I want to switch between them i simply rename lesm to lesmCE3 and then rename lesmCE4 to lesm. it works fine.
In the lesmCE4 folder I put all the pages except the galleries along with all their custom php and html files. Everything worked fine.
In the CE3 version, I migrated all the galleries to CE4 using the CE4 Publisher that I installed there. Migration was successful.
I then copied all the galleries to the lesmCE4 site and it fell apart.
The current version active on the server is the CE4 version.
Click on Our Events and you will see the drop down list from the phplugins menu.
Click on the top album and it is not found even though it is in the proper place. When I inspect the index.php in that album it is calling the CE3 css through the autoindex template SeasonIndex which has this line define( 'TTG_COMP', 'TTG CE3-AutoIndex 3.0' );. Is this correct? i do not have the CE3 css files in this version of the site. Some of the older albums run a slideshow ok and others do not.
The album entitled CE4-Test was published in the CE4 version using the CE4 Publisher. it doesn't work either. However, The Album Set entitled 2015-2016 Events was created totally in the CE4 version and works fine except that the thumbnail in the description is not shown. It should be random.
Double click on Our Events and all the albums are listed but only CE4 Test shows a thumbnail, and that album is not found!
I know you will probably find lots of things that I did wrong.
Should I have migrated the albums in the CE4 version instead?
Rod,
When i cut and pasted my menu I took everything from echo to END and pasted it in the new phplugin.php. This obliterated the closing div's and a few other items that are clearly marked EDIT ONLY ABOVE THIS LINE! My bad.
Thanks for your continued support. We would all be lost without you.
I think my problem is in the Navigation Container. My site is www.lesmarmitonsnj.com As you can see, it appears that the Nav container is expanding to cover the pages. The page container background is FFFFFF while the NAV container is 595959. Most other backgrounds are transparent. (I have not yet converted the CE3 Galleries to CE4 so they are not functioning.)
Here is a shot of what it is supposed to look like. www.lesmarmitonsnj.com/LesM_TTG.jpg
I have exported pages twice and copied the css files into the lib but nothing changes. What am I missing?
Thanks for your help.
it may or may not be. CSS classes and some page structure has changed from CE3 to CE4. So, for instance, if you were using phplugins to manage your navigation, you won't be able to use the code you were using in the CE3 version.
Yes, it is the navigation I want to preserve. www.lesmarmitonsnj.com
This has probably been answered before. I have a custom phplugins file in my CE3 /phplugins folder. Is this still a valid file to use with CE4 or do I have to migrate all the customization to a new file?
Thanks,
Paul