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-08-11 09:01:39

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

Titles not displaying

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

Last edited by paulpegg (2015-08-13 01:49:48)

Offline

#2 2015-08-11 14:48:46

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

Re: Titles not displaying

Have you set up metadata for Publisher in your template?
(See Publisher docs)

The broken web fonts (those boxes) is addressed here: http://ce3wiki.theturninggate.net/doku. … _web_fonts


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-08-12 02:19:38

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

Re: Titles not displaying

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.

Last edited by paulpegg (2015-08-12 02:23:24)

Offline

#4 2015-08-12 02:52:26

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

Re: Titles not displaying

I'm seeing the down arrows in the menu on the CE3 albums in both Firefox and Chrome. Have you tried clearing browser cache?

For the Creator metadata, is this something you recently changed in the template? If so, did you remember to republish the images in the albums?

(in my tests, the Creator metadata is showing up on large images in albums)


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-08-12 23:59:11

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

Re: Titles not displaying

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.

Offline

#6 2015-08-13 00:13:03

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

Re: Titles not displaying

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.

Last edited by paulpegg (2015-08-13 01:48:52)

Offline

#7 2015-08-13 02:19:42

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

Re: Titles not displaying

.htaccess has nothing to do with the phplugins file. .htaccess affects the whole site

Is the site root (in Site Info > Page Setup) the same for both your CE3 and CE4 sites?

I don't really know what's going on in the CE3 pages, all the assets in the resources/ folder seem to be available.

I doubt this has anything to do with it, but I did notice a structural problem with your "Our Menus" drop down.

Looking at the html for the CE3 pages, it looks like you've got a closing </li> tag before a closing </ul> tag when it needs to be the other way around:

<li><a href="#">Our Menus</a>
            <ul class="sub-menu clearfix">
            <li><a href="http://www.lesmarmitonsnj.com/menu2015.php">2015-16 Menus</a></li>
            <li><a href="http://www.lesmarmitonsnj.com/menu2014.php">2014-15 Menus</a></li>
            <li><a href="http://www.lesmarmitonsnj.com/menu2013.php">2013-14 Menus</a></li>
            <li><a href="http://www.lesmarmitonsnj.com/menu2012.php">2012-13 Menus</a></li>
            <li><a href="http://www.lesmarmitonsnj.com/menu2011.php">2011-12 Menus</a></li>
            <li><a href="http://www.lesmarmitonsnj.com/menu2010.php">2010-11 Menus</a></li>
            <li><a href="http://www.lesmarmitonsnj.com/menu2009.php">2009-10 Menus</a></li>
            <li><a href="http://www.lesmarmitonsnj.com/menu2008.php">2008-09 Menus</a></li>
            <li><a href="http://www.lesmarmitonsnj.com/menu2007.php">2007-08 Menus</a></li>
            <li><a href="http://www.lesmarmitonsnj.com/menu2006.php">2006-07 Menus</a></li>
</li>
</ul>

so you've got:

<li>
<ul>
a bunch of list items...
</li>
</ul>

when it should be:

<li>
<ul>
a bunch of list items...
</ul>
</li>

so try fixing that first and see if it helps. (I don't think it will, but you might as well fix it anyway)


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-08-13 03:30:56

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

Re: Titles not displaying

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.

Offline

#9 2015-08-13 03:40:06

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

Re: Titles not displaying

have you tried altering your .htaccess file?
Or disabling it by renaming it?

Could help if you posted the contents of that file. Ben or Matt might be able to tell something from 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

#10 2015-08-13 03:41:08

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

Re: Titles not displaying

were you able to resolve the title issue?


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-08-13 03:58:53

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

Re: Titles not displaying

rod barbee wrote:

were you able to resolve the title issue?

Yes. I found I needed to put ©{Creator} in both Image Info and Publisher.

Offline

#12 2015-08-13 04:03:54

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

Re: Titles not displaying

rod barbee wrote:

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>

Offline

#13 2015-08-13 04:27:00

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

Re: Titles not displaying

Is your .htaccess file still renamed? Because the web fonts are no longer broken when the url starts with http://www.

if the url is just http://lesmarmitonsnj.com/galleries/05-2014/  (without the www), then the fonts are broken

(I think that your link above was yielding the non-www address earlier)

you may need to rewrite the htaccess file so that the www address is forced rather than the non-www address
(there should be examples either in Matt's reference article or by searching the web)


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

Offline

#14 2015-08-13 05:10:34

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

Re: Titles not displaying

Wow. No THAT is a piece of detective work!!

i will work on that fix.

Thanks,

Paul

Offline

#15 2015-08-13 09:04:37

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

Re: Titles not displaying

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

Last edited by paulpegg (2015-08-13 09:04:56)

Offline

#16 2015-08-13 23:43:31

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

Re: Titles not displaying

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.

Offline

#17 2015-08-14 00:10:41

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

Re: Titles not displaying

It looks to me that only the CE3 Autoindex pages are exhibiting the broken web fonts. The CE3 Galleries look good (and they're using the same menu it appears)
this has nothing to do with the menu itself as the fonts are broken throughout the page (just look at the footer).

I'm afraid the ins and outs of .htaccess are bit beyond me. But yesterday, without the rewrite turned on, it all looked to be working. Maybe not though as I didn't look at all pages.


Just a matter of curiosity, but can I ask why you used Pages to create all your Menu pages? This seems like a lot of work since you'd have to manually rename one of the exported pages. Looks like you've also edited the file to change the body ID and Class.
It just seems to me that this would have been a lot easier and faster using Autoindex or Stage.


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

Offline

#18 2015-08-14 10:53:42

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

Re: Titles not displaying

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.

Offline

#19 2015-08-14 13:04:33

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

Re: Titles not displaying

it might be worth it, now that this thread has morphed way off the topic of the title, to start a new topic on the subject of the web fonts being broken, but only in CE3 Autoindex pages. It might get more attention from anyone who knows more about the .htaccess file


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