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.

#53 Backlight Support » What controls the color for image titles in an album? » 2017-01-28 08:19:05

andacar
Replies: 9

Quick question: Which control changes the color of an image's metadata title in an album or album set?

Thanks!

Darrell Leland

#54 Re: Backlight Support » php error while adding Matt's example for social media icons » 2017-01-27 13:06:38

Looks like you were right again! It was; when I copied and pasted I inadvertently left the old  ttg_user_load in and added a second. I also had to fix some syntax errors.

Thanks again!

Darrell Leland

#55 Backlight Support » php error while adding Matt's example for social media icons » 2017-01-27 11:50:22

andacar
Replies: 12

Argh! Sorry to keep bothering you guys. I'm trying to implement Matt's example for adding social media icons to the footer of my Backlight page. When I load the page I get the following error:

Something went wrong
Unexpected error: Cannot redeclare ttg_user_load() (previously declared in /hermes/walnaweb06a/b2683/moo.gothic1/creepyhouse/backlight/custom/phplugins/creepyhouse.php:10) in creepyhouse.php on line 108

Here's the php script I'm using:

<?php

function ttg_user_load( $style, $path ) {
	$g_tsvrl = explode( ' ', $style );                          // Extract gallery type
	define ( 'G_STYLE', strtoupper($g_tsvrl[1]) );              // and set global for later
	$g_path = str_ireplace('\\','/',$path);                     // change \ to / 
	$chunks = explode('/',$g_path);                             // and put into array
	define ( 'G_PATH', strtoupper($chunks[count($chunks)-2]) ); // gallery folder name is second to last
	//define ( 'TTG_SITE', '');                                   // set new site root for navigation, resources, etc.
	}



function ttg_scripts( $style, $path ) { 
	echo '

	<script>var __adobewebfontsappname__="dreamweaver"</script>
<script src="http://use.edgefonts.net/metamorphous:n4:default.js" type="text/javascript"></script>

	';
	return false;
} // END

function ttg_footer_top( $style, $path ) { 
    echo '
<div class="custom_footer">
<div class="content clearfix">

    <p style="margin-bottom:0;"></p>

    <div class="grid_12">

        <div class="col_9 alpha">

            <p></p>

            <p>

                <a target="_blank" href="https://www.facebook.com/SirAndacar/"><span><img src="http://creepyhouse.net/images/icon-facebook.png" width="40" height="40" alt=""/></span></a>

                <a target="_blank" href="https://www.linkedin.com/in/darrell-leland-2a8bb616"><span><img src="http://creepyhouse.net/images/icon-linkedin.png" width="40" height="40" alt=""/></span></a>

            </p>

        </div>   
    </div><!-- .grid_12 --> 

</div>
</div><!-- .my_footer -->
    ';
    return true;
} // END
________________________________________



} // END




// ****************************************************************************************************
// END USER FUNCTIONS

?>

Thanks in advance,

Darrell Leland

#56 Re: Backlight Support » Adding Adobe Typekit fonts » 2017-01-26 12:05:43

I put "metamorphous" in the Prepend field and it worked!

Thanks again Rod, I've learned a lot from you.

Darrell Leland

#57 Re: Backlight Support » Adding Adobe Typekit fonts » 2017-01-26 08:46:03

OK, I'm mostly there. Here's what I have so far:

<?php


function ttg_user_load( $style, $path ) {
	$g_tsvrl = explode( ' ', $style );                          // Extract gallery type
	define ( 'G_STYLE', strtoupper($g_tsvrl[1]) );              // and set global for later
	$g_path = str_ireplace('\\','/',$path);                     // change \ to / 
	$chunks = explode('/',$g_path);                             // and put into array
	define ( 'G_PATH', strtoupper($chunks[count($chunks)-2]) ); // gallery folder name is second to last
	//define ( 'TTG_SITE', '');                                   // set new site root for navigation, resources, etc.
	}


function ttg_scripts( $style, $path ) { 
	echo '

	<script>var __adobewebfontsappname__="dreamweaver"</script>
<script src="http://use.edgefonts.net/metamorphous:n4:default.js" type="text/javascript"></script>

	';
	return false;
} // END


?>

Clearly I need to change the adobewebfontsappname from Dreamweaver. To what? Backlight? Would that make the Metamorphous font show up in the font selector in Backlight? In the normal HTML, Dreamweaver invokes the font like this:

<body style="font-family: metamorphous; font-style: normal; font-weight: 400;">
</body>

Would that be required somewhere else? In a css file?

#58 Re: Backlight Support » Adding Adobe Typekit fonts » 2017-01-26 07:52:08

Thanks Rod. I'll work on it and holler if I have questions.

#59 Backlight Support » Adding Adobe Typekit fonts » 2017-01-26 07:10:04

andacar
Replies: 5

(I hope this isn't explained somewhere else. I did search for it...)

I'd like to add an Adobe typekit font to my Backlight page. Where would I save the script it invokes?

Thanks as always,

Darrell Leland

#60 Re: Backlight Support » Weird error when I put HTML in any Page Copy area » 2017-01-26 07:07:38

Rod, I tried your solution and it fixed my problem! Thanks to both you and Ben for help on this issue!

Darrell Leland

#62 Re: Backlight Support » Weird error when I put HTML in any Page Copy area » 2017-01-25 04:13:55

OK, I'm back. My isp says that this is an internal error from the Backlight software. It also gives me the same error on Edge, Firefox, ie11, and Chrome, so it isn't a browser issue. I'm sorry there isn't more information, but it isn't giving me any kind of error code. Suggestions?

Thanks folks!

#63 Re: Backlight Support » Weird error when I put HTML in any Page Copy area » 2017-01-25 02:41:15

Thanks for the responses. Now it won't save anything, so I need to call up the server. Joy.

Darrell Leland

#64 Backlight Support » Weird error when I put HTML in any Page Copy area » 2017-01-24 15:44:28

andacar
Replies: 10

Whenever I put any HTML in a Page Copy area I get this error:

y3mBGB3jPfIivDVmkt7yiCpwiUWEV2_QR_ZZ_W4nwYwPiSTK_t_X_SY4EYY8ZgGw6YGKtgQeB4xqDjmh9Qo0hoChDietGjthx13PqQ2Zvnp0qorcjoIkN5QNHt3KjZBcrkVcyBwILsEtIZtDb5BwKr63uaTeZLZ4ECQj8Ob0PFZMYU?width=1920&height=1080&cropmode=none

Is this some kind of server thing? It's pretty vague.

Ideas?

Thanks!

#65 Re: Backlight Support » Unable to Publish a Gallery » 2017-01-08 10:37:38

No, I don't Rod. To be honest I don't even know what that is! However, it has mysteriously started working again. I think it happened when I went to the Web section of Lightroom and switched around a few times between different templates. All of a sudden there were a million uploads. If somebody fixed this for me, thanks! If it was the mysterious computer repair elves, thanks to you!

Darrell Leland

#67 Re: Backlight Support » Unable to Publish a Gallery » 2017-01-07 10:44:29

My website is at http://www.creepyhouse.net/. The hosting service is http://www.fatcow.com/. I can set up a guest account if you need one. Backlight login is at: http://creepyhouse.net/backlight/admin/?a=login

Thanks!

Darrell Leland

#68 Re: Backlight Support » Unable to Publish a Gallery » 2017-01-07 07:32:10

The tech at the other end says they have increased the upload setting to 128 Meg, still the same error. This worked perfectly before, and I haven't changed anything. Stumped.

#69 Re: Backlight Support » Edge, Chrome, explorer » 2017-01-07 06:19:19

Your slideshow works fine on all browsers from my end.

Darrell Leland

#70 Backlight Support » Unable to Publish a Gallery » 2017-01-07 05:31:12

andacar
Replies: 20

I've begun to encounter an error when trying to upload galleries from Lightroom. The program will just sit there for a while and the return the following error:

error.jpg

I have no other errors with FTP, the internet, or other web based functions.

TTG Backlight version: 1.1.1
Backlight Publisher version: 3.1.1
API key identification works fine.

Ideas?

Thanks!

Darrell Leland

#71 Re: Backlight Support » Social Media? » 2016-06-15 08:22:34

What's a good approach to creating a PHPlugins script to do this?

#72 Re: Backlight Support » Templates Doing Strange Things » 2016-06-15 02:53:59

Yes I did Rod. It looks like this was some kind of odd refresh problem on the server side. Thanks for checking. The black on black text and other issues just means I'm not finished yet. Thanks a whole lot!

Darrell Leland

#73 Re: Backlight Support » Templates Doing Strange Things » 2016-06-14 15:57:13

Thanks Rainer! I looked at Home, About, and Contact. They all are set to the same template, and yet now Home and About look correct, but the Contact page is incorrectly formatted. Am I missing something? Is this the fault of very slow response at my hosting site?

#74 Backlight Support » Templates Doing Strange Things » 2016-06-14 13:39:52

andacar
Replies: 6

My current backlight page is http://creepyhouse.net. I have been editing the basic default template, but it appears to have no effect on the existing pages. The About page is different from the rest and has no tray, but it is on the same template as everything else, so why should it look different? I have followed the instructions as exactly as I can, but keep getting the same results. Could somebody please tell me what I'm doing wrong?

Thanks,

Darrell Leland

#75 Re: Backlight Support » Social Media? » 2016-06-14 07:55:26

I'd like to see this feature too. Could somebody post an example of how to accomplish this for us code impaired individuals? Thanks!

Darrell Leland

Board footer

Powered by FluxBB