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.
After you edit the css file as Matt suggested, you have to run Designer > Clear Template Cache.
Ben, shouldn't it be sufficient to give write permission only to /backlight/data?
Looking nice, Monte! Always good source for inspiration. Now I will spend the weekend wondering if I should move the logo into the top-bar.... ![]()
Unfortunately, the menu is not accessible with Chrome and Safari on a Mac. It is covered by other elements (.page__pallet__top: z-index 2) on your page. Something Matt needs to look at.
The 1.2.1 update fixed it. Thank you!
ok. thanks. i had that but then read that /public_html was the only place it should be. this should fix the issue.
Backlight needs to be at the root of your site. In your case, /public_html is the root for the main domain and /public_html/nfyt is the root of your second domain.
Note to others: This is very Bluehost specific to have a secondary domain or a subdomain root directory located in /public_html!
And to have an inline link instead of a button use
<a data-fancybox data-src="#popup" href="javascript:;">popup</a>
<div id="popup" style="display:none;"><p> Stuff and things ... </p><p>Sed maximus enim felis, et interdum risus vehicula vel. Mauris vitae ligula vulputate, facilisis odio eget, accumsan lacus. Pellentesque suscipit ante leo, sed consectetur magna aliquet at. Fusce consectetur ullamcorper rhoncus. Fusce ac aliquam nisl. Vestibulum ac congue lorem.</p></div> You need a second installation of backlight in /publich_html/nfyt/backlight setup for the notfromyourtribe.net domain.
Little coffee break exercise. Might not be the most efficient, but it works:
function ttg_single_bottom( $style, $path) {
$img = substr(strrchr(substr($_SERVER["REQUEST_URI"], 0, strrpos($_SERVER["REQUEST_URI"],"-single.php")), '/'), 1);
$imgpath = substr($_SERVER["REQUEST_URI"], 0, strrpos($_SERVER["REQUEST_URI"],$img)) . 'photos/' . $img . '.jpg';
echo '<a href="'.$imgpath.'">'.$imgpath.'</a>';
}You are not working on 'share to social media' buttons by chance?
Unfortunately, the image name or any additional image data are not exposed by the phplugins API. But at least from the page URL, it is easy to derive the image filename and then create the image path.
OK, I figured it out. I was using "=" instead of "==" in my comparison so I was actually assigning the variable instead of comparing them. Obviously I've forgotten my C/C++ days.
Great! Don't know how many hours total I lost overlooking this type of typo.... ![]()
I would suggest caution using red. I am one of some 15-20% males with some form of color deficiency. That may also explain my color pallet on my web site and my wife's odd looks when I try to color correct an image. Seriously, a red text on anything but white may as well be invisible. I also cannot tell a red highlighted word in a sea of black text.
http://jfly.iam.u-tokyo.ac.jp/color/ and http://www.colour-blindness.com/general/prevalence/ are excellent references.
Jim.
Hi Jim,
Interesting. My site makes heavy use of red... So I assume that when you browse it, you don't see color changes when hovering over a link such like the menu or the image gallery. Does it make any difference when you are switching to 'dark' mode (moon symbol on top right of page)? I appreciate your input.
Something I have to think about!
Hi Charlie,
I use following function to determine if I am on the home page:
function is_home_page() {
if ( $_SERVER["REQUEST_URI"] == '/' ) {
return 1;
} else {
return 0;
}
}Based on what you wrote, this doesn't seem to work for your host ![]()
There might be an option with your widget to set the color, otherwise you can use some custom css:
select#archives-dropdown-8 {
background-color: #59ca1e;
}Perfect! Thank you!
Hi Matt,
I'm using the Classic gallery style and enable Enforce Coverage at 2560. It shows the regular thumbnail over the enlarged thumbnail in the back: 
The gallery link is http://pangolin.danielleu.com/projects/tree/index.php. I noticed the same behavior in one of Rod's galleries when reducing the size of the browser: http://pangolin.barbeephoto.com/galleries/auroras/.
When I added a z-index to the thumbnail background, I fixed it, but this might be just a hack:
.gallery .thumbnail-background {
z-index: 1;
} This is with Backlight-Pages-120a.
Thanks!
Indeed, I had my installation messed up ![]()
Yes, I have updated them all... maybe I copied the wrong files... I'll try again.
No, I don't have any custom CSS there. I just copied what Chrome inspector reported.
Hi Matt,
I expected that Text Color in the Footer section applies to the entire footer including the copyright text and not only the TTG notice. Currently,
.page__pallet__wide > .content > ul > li {
color: rgb(255, 255, 255);
}overrides
.copyright, .page__pallet__bottom li.logo h1 {
color: #ff8000;
}And my copyright is white instead of orange.
Some files are missing.... I would re-upload all files from the 1.2 release. It seems that backlight/modules/okapi-core does not exist.
The site works for me.
The only concern that I have is modifying or republishing an existing gallery... I am assuming that existing galleries will be intact as long as you don't modify or republish them!
The existing galleries are based on okapi templates while the new galleries are based on pangolin templates. They are separate. While creating new pangolin page templates, you can continue to edit and add new images to your existing galleries. They can exist side-by-side with newly created pangolin galleries.
Alan, some pages need more work.... eg, http://alansislenphotography.com/galler … ndandtime/.
I would copy /home/alansisl/public_html/lib/php/Parsedown.php to /home/alansisl/public_html/ttg-be/framework/lib/Parsedown.php and then the galleries should work, hopefully.