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.
I'm wondering if the variable $pageNum_Names_Pics is visible inside your php function?
Have to try this! That makes it so much easier to create my custom thumbnails.
In ./lib/css/style-component.css, I don't see any definitions for the album components for the gallery autoindex. I would revisit the autoindex inside the CE4-PAGES, re-export and upload the content of /lib/css.
Found the error in the galleries while checking out your search. Cool that the Google Analytics tracking works!
Thank you, Richard!
In case you are curious, wikipedia has an entry about the query parameter or query string http://en.wikipedia.org/wiki/Query_string. For short this is the way to tell the TTG backend what you are looking for.
Btw, found an error on some of your galleries.... http://www.pretty-flash-photography.co. … eddies_48/
You can use Google Analytics to keep track of the search queries. I have a blog entry that shows how it works with GallerySearch for CE3; this works as well with search in CE4: http://danielleu.com/blog/2014/03/googl … erysearch/
Perfect! Have fun with Lr6!
How about just including a link to an image in the product description?
Doug, my 100k+ images took a few minutes and all my publishing services were preserved. But you mention that you imported the Lr5 catalog. What you want to do is just opening the Lr5 catalog in Lr6 and then it will do the conversion. Good luck!
In this case I would add the "ISO" string:
{Caption} - ISO{ISO} {ShutterSpeed} at {Aperture}Cool! Looking at your images reminds me that I have to revisit route 66...
A subdomain requires a separate TTG installation. You can't just point the subdomain directory to your existing gallery. I would just create a redirect page in rt-66.com that redirects the site to your current gallery.
Let's assume that you have a /public_html/subdomains/rt-66 directory that is the root for your subdomain. In there you would have a simple one line index.php file:
<?php header( 'Location: http://photographs-now.com/galleries/003-route-66' ) ; ?>So whenever one loads rt-66.com it will immediatly go to your main page and display the route 66 gallery.
You have to escape the single quotes inside the echo '...':
// CUSTOM STYLESHEET
// This function implements a custom stylesheet from which users may provide additional page styling or override existing styling set by the plugin
// Edit the custom.css file in /phplugins/css/ to define styles
// Serves as an example of a function being applied globally
function ttg_head_end( $style, $path ) {
echo '
<link href=\'http://fonts.googleapis.com/css?family=Lobster\' rel=\'stylesheet\' type=\'text/css\'>
<link rel="stylesheet" href="/phplugins/css/custom.css" />
';
} // ENDIs the gallery directory an autoindex gallery? It doesn't look like. See step 3 and 4 inhttp://ce4.theturninggate.net/docs/doku … auto_index
On my Mac, they are located in /Users/YOU/Library/Application Support/Adobe/Lightroom/Web Templates
Search seems to be working: http://www.sportmackan.se/search/
Rod wrote about this on his blog how to add a search box to a gallery or another page: http://ttg-tips-and-tricks.barbeephoto. … -ttg-page/
I agree with Rod that there is no benefit of using separate css files if they are identical.
I would use the $path variable to check for the location of the pages. First do a simple echo '$path' to get the server path. Then use everything up to and including .../fr/ for the selector.
Something like this:
if (strpos($path, '/xx/xx/fr/') !== false){
echo '<link rel="stylesheet" href="http://lucnadeau.ca/fr/phplugins/css/fr.css" />';
} elseif (strpos($path, '/xx/xx/en/') !== false){
echo '<link rel="stylesheet" href="http://lucnadeau.ca/fr/phplugins/css/en.css" />';
} else {
echo '<link rel="stylesheet" href="http://lucnadeau.ca/fr/phplugins/css/custom.css" />';
}In Lr, Publishing Services > TTG CE4 Publisher: your service > Settings > Top-level gallery
I would size the image according to the required size for the contact page. Right now it is much bigger and this slows down the loading time.
The CSS for the background should be
background-image: url("http://www.jayclappphotography.co.uk/bron/2.jpg");If you want just to find Per Ledin, you have to use double quotes: "Per Ledin"
More on search and its features at http://ce4.theturninggate.net/docs/doku … ith_search
I would use one phplugins file and a separate dynamic_masthead.css for all pages but AutoIndexes:
function ttg_head_end( $style, $path ) {
echo '<link rel="stylesheet" href="/phplugins/css/custom.css" /> ';
if (G_STYLE != 'CE4-AUTOINDEX') {
echo '<link rel="stylesheet" href="/phplugins/css/dynamic_masthead.css" /> ';
}
} In dynamic_masthead.css you would just have the respective CSS code to support the dynamic masthead generation.
Well, there is always something......
Events from one or more calendars could not be shown here because you do not have the permission to view them.
It works better if the calendar is public ;-)
You might not need phplugins for this. But I recommend to activate it anyway even if you don't need it right now!!!
According to https://support.google.com/calendar/answer/41207?hl=en, it is easy to create the code you need to add to your site. I just did it and put them in the Page Copy section of a gallery. It works!
If you wait a week or two, I wouldn't be surprised if Rod creates a little write-up on his ttg-tips site.
In my installation, the file is at this location. I would try to reinstall the publisher plugin and restart Lr.