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.

#2 Backlight 3 Support » Breadcrumb Font Size » 2020-05-05 11:38:11

jackm
Replies: 2

Is there a way to increase the size of the Breadcrumb font?. I can't find a setting for it.

Thanks,

Jack

#3 Re: Backlight 3 Support » Lazy-loading throttle » 2020-05-01 03:44:14

Thanks Rod.

I may get around to changing to Pangolin album templates at some point. Right now the Okapi albums are good.

Jack

#4 Backlight 3 Support » Lazy-loading throttle » 2020-05-01 03:31:03

jackm
Replies: 3

Just upgraded to Backlight 3.

Where do I access the lazy-loading throttle?

I am using Okapi albums.

Thanks,

Jack

#5 Re: Backlight 2 Support » New problem after upgrading to Blacklight 2 » 2020-02-11 02:49:48

Daniel,

Nice. That was it all along!

Thank you.

Rod,

Also, thanks for your help.

Jack

#6 Re: Backlight 2 Support » New problem after upgrading to Blacklight 2 » 2020-02-10 23:55:53

I apologize as I am not CSS or PHP literate.

As suggested. I removed the loose 'white' and changed the pixel value for 'bottom' to 200 (I changed the value once before to no avail). The button does not move. It seems stuck at a given position at the bottom of the screen.

Two questions.

1. There is a .masthead statement at the end of the CSS file (as posted above). What does that do/mean and should it be changed?

2. Is the "main_bottom" function in the php somehow freezing the button position? If so can I change that?

Any other suggestions?

Thanks,

Jack

#7 Re: Backlight 2 Support » New problem after upgrading to Blacklight 2 » 2020-02-10 14:12:29

OK. Here is where I am. I removed the '?>' and that did the trick! I also had the site crash when that was in the php file. I have 2 Page templates, the full screen template and the regular page template. I enabled the CSS and PHP functionality back and forth as I was trying to get things working.

Once it was working again, the button was in the upper right corner of the page and almost off the page. I tried some things and finally removed the 'masthead_primary_bottom' function and replaced it with the 'main_bottom' function in the PHP file. That put the button at the bottom right on the page, same as where it was in Backlight 1.

On a desktop browser it is OK, but on my iPhone and iPad (in portrait mode) the bottom is slightly off the bottom of the page, unless I scroll up a bit. I looked at the CSS file and it is a "fixed" position.I tried to modify the 'bottom' setting to move the button up a bit higher, but that setting change to more pixels did nothing to the button position on the screen.

Any idea how I can move the button up higher on the screen?

The CSS file contents are below;

#enter-field {
   position: fixed;
   bottom: 20px;
   right: 20px;
   background-color:rgba(255,255,255,0.7);
   font-size:1em;
   border-color: white; 
   white; border-width:4px;
   border-style:solid;
}
#enter-field:hover {
   border-color: black; 
}
#enter-field a {
    display: block;
    padding: 24px;
    color:black;
}
#enter-field a:hover {
   text-decoration: none;
}

.masthead {
    display: inherit;
}

The site is https://stuffbyjack.com

Thanks,

Jack

#8 Re: Backlight 2 Support » New problem after upgrading to Blacklight 2 » 2020-02-10 03:34:00

I have the CSS turned on in the template. It is the same CSS as the one in Backlight 1, as per your instructions.

I will remove the ‘?>’ and give it a go.

Jack

#9 Re: Backlight 2 Support » New problem after upgrading to Blacklight 2 » 2020-02-10 02:55:29

Note: The very similar script that Daniel provided to me a while back worked fine in Blacklight 1.

Jack

#10 Re: Backlight 2 Support » New problem after upgrading to Blacklight 2 » 2020-02-10 02:52:44

In the renamed phplugins-pangolin-sample.php file, I added the 'function lines', as per Daniel's post. The stuff above and below this are is the same as in the phplugins-pangolin-sample.php file. I also tried this with all the "DELEAT THIS LINE" below my new ruction. Nothing works.

*    single_bottom
*      - return value ignored
*      - called after the single image display
*      - encompasses nothing; use to insert content following the single image display
*      - available only on single-image HTML pages for applicable album templates
*
*/

// SET USER FUNCTIONS BELOW
// Some example functions are included below. Feel free to delete or modify unwanted functions.
// ****************************************************************************************************

function masthead_primary_bottom () {
    echo '
        <div id="enter-field" ><a href="https://stuffbyjack.com/galleries/">ENTER</a></div>   
    ';
} // end masthead_primary_bottom


?>

/* DELETE THIS LINE
// Basic structure for a PHPlugins function
function _HOOK_() {
    echo '

    ';
    return false;
} // END /**/



/* DELETE THIS LINE
// Display the Backlight logo in pallet_top
function pallet_top_title()
{


Jack

#12 Re: Backlight 2 Support » New problem after upgrading to Blacklight 2 » 2020-02-10 02:19:07

Daniel,

I took the phplugins-pangolin-sample.php file, and added the content from my post from above, after the SET USER FUNCTIONS BERLOW line. Still doesn't work.

Page link is:  https://stuffbyjack.com

Jack

#13 Re: Backlight 2 Support » New problem after upgrading to Blacklight 2 » 2020-02-10 01:32:19

The file contents;

function masthead_primary_bottom () {
    echo '
        <div id="enter-field" ><a href="https://stuffbyjack.com/galleries/">ENTER</a></div>   
    ';
} // end masthead_primary_bottom


?>

Jack

#14 Re: Backlight 2 Support » New problem after upgrading to Blacklight 2 » 2020-02-09 11:38:19

Matthew,

I can confirm that I have have done all 3 of your items.

Still doesn't work as intended.

Thanks,

Jack

#16 Re: Backlight 2 Support » New problem after upgrading to Blacklight 2 » 2020-02-09 06:37:05

Daniel,

Thanks for the quick reply. I had tried a version of what you posted. I changed to your posted modification, but it still does not work.

Suggestions?

Thanks,

Jack

#17 Re: Backlight 2 Support » New problem after upgrading to Blacklight 2 » 2020-02-08 09:55:17

Rod,

They are enabled.

Yes Backlight 1 file. What needs changing? I think Daniel wrote the files for me.

Jack

#18 Re: Backlight 2 Support » New problem after upgrading to Blacklight 2 » 2020-02-08 07:32:17

It is a custom css and php file. I think they are in the right place, they don’t show when I enable the buttons in the template design settings.

I will keep trying stuff.

Jack

#19 Re: Backlight 2 Support » New problem after upgrading to Blacklight 2 » 2020-02-08 06:10:24

Hello Ben,

I did that after the upgrade.

However. I did it again, and cleared the template cache again, and now it seems to be working OK.

Still fiddling with the home page format. I lost my "ENTER" button.

I think it is a custom css?

I will keep looking.

Thanks,

Jack

#20 Backlight 2 Support » New problem after upgrading to Blacklight 2 » 2020-02-08 05:31:35

jackm
Replies: 34

I upgraded 3 of my 4 sites to Backlight 2. All 3 are OK.

The fourth, my main site, has problems. When I try to go to the galleries, I get this error.

Warning: require_once(./../backlight/framework/Framework.php): failed to open stream: No such file or directory in /home/jackphoto11/public_html/galleries/lib.php on line 48

Fatal error: require_once(): Failed opening required './../backlight/framework/Framework.php' (include_path='.:/opt/alt/php71/usr/share/pear') in /home/jackphoto11/public_html/galleries/lib.php on line 48

Really stuck as to what to do.

My site is

www.stuffbyjack.com

Thanks,

Jack

#21 Re: Backlight Support » Embedded YouTube videos not playing after switching to SSL site. » 2020-02-08 03:26:36

Rod, Ben, Matthew and Daniel,

Thanks for all the help with the SSL and upgrade to Backlight 2 issues I was having. I better understand how it works now.

My 2 upgraded-to-Backlight 2 sites are working as they should, including SSL and Theater YouTube embedded video links. I will upgrade the remaining 2 sites in the next few days, with the appropriate new templates where needed, and will be running Backlight 2 on everything. A long journey from the CE3 days when I started with TTG!

One suggestion for documentation, I could not find anything that indicated Backlight 1 Theater add-on would not carry over and work in Backlight 2. There was also no indication, that I could find, that Backlight 2 Pangolin Theater add-on will not work in Backlight 1.

Obviously that means that all theater embedded video albums will have to be updated in Backlight2 with a new template, as indicated. I have a couple of hundred such albums across all 3 of my sites, so some additional unplanned work will be needed to upgrade to Backlight 2 to get it all working.

That explanation in the upgrade documentation for Backlight 1 to Backlight 2 would be helpful for others. It would have saved me and you support guys a lot of time.

Again thanks again. I appreciate it.

Jack

#23 Re: Backlight Support » Embedded YouTube videos not playing after switching to SSL site. » 2020-02-07 12:54:15

Ben, Matthew,

Now I understand the issues with the old module theater and the hard coded http.

I am in the process of tying to upgrade to Backlight 2.

I have 2 of my 4 sites upgraded to Backlight 2. The first one was a test site and had some problems that Ben sorted out for me. Thanks again Ben.

The second site was successfully upgraded today, and I installed the Pangolin Theater module. The problem I see is the Backlight Theater template did not carry over. So none of my videos on that site work as the template does not exist anymore.

Question #1, for that upgraded site, do I have to go into each album with an embedded video and manually switch it to the Pangolin Theater template?

That site is www.stuffbyjack.com/oneview

Question #2, for the other 2 Backlight 1 sites, is there a way do that before I upgrade to Backlight 2? And not manually.

The reason is I have a lot (hundreds) of embedded videos on those 2 sites. A lot of work to upgrade.

All the photo albums are fine.

Thanks,

Jack

#24 Re: Backlight Support » Embedded YouTube videos not playing after switching to SSL site. » 2020-02-07 06:10:13

I called my host, Godaddy, no caching one their end. They said from what they see, the "front end" of the call to YouTube in the Theater Add On I suppose has the http in it.

I did sent this link and FTP stuff in an email to Ben, as he just fixed a problem with one of my other sub domain sites I upgraded to Backlight 2. I use that site to test stuff. I put a video up on that site and it played!?!

Not sure what is different. I am going to upgrade another sub domain site that currently is in Backlight 1 with existing video links in it to see if that makes a difference.

Jack

#25 Re: Backlight Support » Embedded YouTube videos not playing after switching to SSL site. » 2020-02-07 01:03:33

Daniel's suggestion didn't work. I am on the latest version of Backlight (124) and Theater (126). I change the site URL to https.

Suggestions?

Jack

Board footer

Powered by FluxBB