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 2016-06-03 08:43:21

jherman
Member
From: Kingsport, TN USA
Registered: 2012-12-09
Posts: 95
Website

Forced to rebuild main site after a self inflicted crash

I had been testing Backlight on in a sub directory on my Bluehost main site running CE4. A cascade of bonehead moves resulted in my crashing my CE4 site. Ultimately, I chose to reconstruct using Backlight rather than rebuilding from CE4 backups.

I have generally tried to mimic my CE4 site but with the improved menu system. Looks reasonable. Some minor issues with embedded links as I also took the opportunity to reorganize some of the galleries to decrease clutter. Alas, I still have a few links that fail. Interestingly, i do not get an error page with a bad link, rather Backlight presents the next upward working directory. Unexpected but adds reliability to the overall site.

I am anxiously waiting for the Stage and WP updates. I have chosen not to try the Stage tweak elegantly presented by aebolzan, but am looking forward to the retrun of the Flip Home page.

I rarely, meaning once in 4 years and to my wife, have used FotoMoto, but also would like to implement on the new site.

Also still not happy with the thumbnails.


http://jamesherman.net

Last edited by jherman (2016-06-03 08:44:38)


User with too little time but coding is therapeutic.

Offline

#2 2016-06-03 09:01:10

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

Re: Forced to rebuild main site after a self inflicted crash

In Firefox (Damn Firefox, it's been causing all sorts of mischief with Backlight) your galleries page is not accessible from your home page because the drop-down menu is behind that "Search" image and your Galleries link looks like it's set to Non-Interactive.

Which version of Backlight are you using? I thought that the menu z-index issue had been fixed.

How did you construct the menu for the gallery links? Did you not set it to link to the galleries album set?


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 2016-06-03 09:07:47

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

Re: Forced to rebuild main site after a self inflicted crash

Yep, to accommodate Firefox, it looks like the z-index on .sub-menu needs to be set at greater than one.


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 2016-06-03 14:36:04

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

Re: Forced to rebuild main site after a self inflicted crash

Hi James,

Looking good, though I've stumbled upon a cross-domain issue loading fonts.

When visiting your site at http://www.jamesherman.net/, all is well. And visiting at http://jamesherman.net/, without the "www", the fonts don't load, citing cross-domain errors.

You should be able to resolve this issue by editing the .htaccess file at the root of your site. We have information on this in our CE4 documentation:
http://ce4.theturninggate.net/docs/doku … s_creation

Specifically, you might try either or both of:

# ------------------------------------------------------------------------------
# | Web fonts access                                                           |
# ------------------------------------------------------------------------------

# Allow access from all domains for web fonts

<IfModule mod_headers.c>
    <FilesMatch "\.(eot|font.css|otf|ttc|ttf|woff)$">
        Header set Access-Control-Allow-Origin "*"
    </FilesMatch>
</IfModule>

Or:

# ------------------------------------------------------------------------------
# | Suppressing / Forcing the "www." at the beginning of URLs                   |
# ------------------------------------------------------------------------------

# The same content should never be available under two different URLs especially
# not with and without "www." at the beginning. This can cause SEO problems
# (duplicate content), therefore, you should choose one of the alternatives and
# redirect the other one.

# 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>

Matt

The Turning Gate, http://theturninggate.net

Offline

#5 2016-06-04 19:23:25

jherman
Member
From: Kingsport, TN USA
Registered: 2012-12-09
Posts: 95
Website

Re: Forced to rebuild main site after a self inflicted crash

rod barbee wrote:

In Firefox (Damn Firefox, it's been causing all sorts of mischief with Backlight) your galleries page is not accessible from your home page because the drop-down menu is behind that "Search" image and your Galleries link looks like it's set to Non-Interactive.

Which version of Backlight are you using? I thought that the menu z-index issue had been fixed.

How did you construct the menu for the gallery links? Did you not set it to link to the galleries album set?

Backlight v1.0.1 downloaded 05/15/2016

Top level gallery links in the menu. I started with relative URL "galleries/" and now have tried absolute URL "http://jamesherman.net/galleries/" and finally with album set, current. They all seem to work and not significantly impact load time.

I have also now installed Firefox 64b on my WIn10 machine and I see your point on the drop-down menu. None of the above variations seem to have any impact on the menu problem in FireFox. I use Chrome almost exclusively where it works well as well as on IE 11

jim.

Last edited by jherman (2016-06-04 19:43:36)


User with too little time but coding is therapeutic.

Offline

#6 2016-06-04 19:56:25

jherman
Member
From: Kingsport, TN USA
Registered: 2012-12-09
Posts: 95
Website

Re: Forced to rebuild main site after a self inflicted crash

Matthew wrote:

Looking good, though I've stumbled upon a cross-domain issue loading fonts.

When visiting your site at http://www.jamesherman.net/, all is well. And visiting at http://jamesherman.net/, without the "www", the fonts don't load, citing cross-domain errors.

Tried several variations and found that adding the Suppressing / Forcing the "www." module along with a change in how I linked my top level galleries in the menu to either an absolute URL or to the album-set resulted in the fonts being loaded correctly.

Adding either or both modules did not seem to correct the problem if I were using relative URL in the menu.

Thank you,
Jim.

PS - I may have just needed to clear the cache. Now I'm not sure if the menu change made any difference.

Last edited by jherman (2016-06-04 22:53:47)


User with too little time but coding is therapeutic.

Offline

#7 2016-06-11 08:20:07

jherman
Member
From: Kingsport, TN USA
Registered: 2012-12-09
Posts: 95
Website

Re: Forced to rebuild main site after a self inflicted crash

Updated to version 1.0.2 last night. No difficulty with update and installed a new CRG module.

Like others have reported, some difficulty with the Photoswipe presentation and as noted elsewhere I appended to the URL in the top line of my browser "?reloadModel&skipCache."
For example for the gallery page:
http://www.jamesherman.net/galleries2/a … hday-2012/
I added the instruction so it looked like:
http://www.jamesherman.net/galleries2/a … &skipCache

Worked as expected. Needs performed only once. I also found that I needed to perform the same procedure on a mobile device to have all the Photoswipe galleries update. I do not have access to an Apple device, so they remain an unknown.

The good news is that Chrome, IE and Firefox all seem to have functioning menus and the menu load time is very quick. I had some issues in 1.0.1, now resolved.

I still have some issues trying to use font-awesome fonts on both the built in and mp page and template data. I added the .htaccess modules recommended by Matt and they work well on Chrome both desktop and mobile and on the native android internet app. Remains hit and miss on desktop IE and Firefox. MTF.

Overall, excellent work with an entirely new web application which can easily become a core for expansion beyond LR where web plugin development has remained an afterthought at Adobe for far too long. Nearly lost relevance.


User with too little time but coding is therapeutic.

Offline

#8 2016-06-11 08:40:29

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

Re: Forced to rebuild main site after a self inflicted crash

I do not have access to an Apple device, so they remain an unknown.

I took a look on my iPad and Photoswipe is working!


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 2016-06-11 20:12:45

jherman
Member
From: Kingsport, TN USA
Registered: 2012-12-09
Posts: 95
Website

Re: Forced to rebuild main site after a self inflicted crash

jherman wrote:

I still have some issues trying to use font-awesome fonts on both the built in and mp page and template data. I added the .htaccess modules recommended by Matt and they work well on Chrome both desktop and mobile and on the native android internet app. Remains hit and miss on desktop IE and Firefox.

Rod was kind enough to test on his iPad. The font awesome font loads without problem on Chrome and FireFox on the desktop and Chrome and the native internet app on my Samsung Note 5 and now iPad.

I remain puzzled why IE 11 remains resistant to displaying them consistently. On further investigation IE has odd behavior when loading a top level gallery album set from the menu. I changed the menu from album set to the URL and everything seems to load correctly on all tested platforms.

I miss the slideshow feature of CE4 and am anxiously waiting for Stage, WP theme, FotoMoto, ....

Thanks
Jim.


User with too little time but coding is therapeutic.

Offline

Board footer

Powered by FluxBB