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.

#1251 Re: PHPlugins (CE4) » Comparison operators in php » 2015-06-24 02:29:49

I'm wondering if the variable $pageNum_Names_Pics is visible inside your php function?

#1252 Re: CE4 Publisher » Custom Thumbnails Album » 2015-06-23 04:12:40

Have to try this! That makes it so much easier to create my custom thumbnails.

#1253 Re: CE4 Publisher » Albums from publisher wont show on my galleries page » 2015-05-20 03:00:12

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.

#1254 Re: CE4 Publisher » Record search terms » 2015-05-19 09:40:55

Found the error in the galleries while checking out your search. Cool that the Google Analytics tracking works!

#1255 Re: CE4 Publisher » Record search terms » 2015-05-19 07:09:41

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/

#1256 Re: CE4 Publisher » Record search terms » 2015-05-18 09:03:03

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/

#1258 Re: PHPlugins (CE4) » Inserting "pop-up" info window in cart for photo / description » 2015-05-12 03:33:48

How about just including a link to an image in the product description?

#1259 Re: CE4 Publisher » Two Lightroom 6 issues » 2015-05-12 03:31:29

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!

#1260 Re: CE4 Gallery » Metadata ISO text missing » 2015-05-07 08:54:16

In this case I would add the "ISO" string:

{Caption} - ISO{ISO}  {ShutterSpeed} at {Aperture}

#1261 Re: CE4 Gallery » Domain "pointing to" a particular album » 2015-05-06 01:45:57

Cool! Looking at your images reminds me that I have to revisit route 66...

#1262 Re: CE4 Gallery » Domain "pointing to" a particular album » 2015-05-05 12:29:44

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.

#1263 Re: PHPlugins (CE4) » Google Fonts problem » 2015-05-01 03:36:54

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" />
    ';
} // END

#1264 Re: General » Other pages with Auto Index » 2015-05-01 03:27:09

Is the gallery directory an autoindex gallery? It doesn't look like. See step 3 and 4 inhttp://ce4.theturninggate.net/docs/doku … auto_index

#1265 Re: CE4 Client Response Gallery » CE2 Pages settings gone after installing CE4 CRG » 2015-04-29 05:51:18

On my Mac, they are located in /Users/YOU/Library/Application Support/Adobe/Lightroom/Web Templates

#1266 Re: General » Search I can not choose Template » 2015-04-29 05:46:55

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/

#1267 Re: CE4 Auto Index » Background image not showing on Windows systems » 2015-04-16 03:59:16

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" />';    
    }

#1268 Re: CE4 Client Response Gallery » Changing Upload Folder » 2015-04-15 06:54:50

In Lr, Publishing Services > TTG CE4 Publisher: your service > Settings > Top-level gallery

#1269 Re: CE4 Pages » Page Image Title » 2015-04-11 03:35:02

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.

#1270 Re: CE4 Pages » Background Texture Possible? » 2015-03-16 03:47:54

The CSS for the background should be

    background-image: url("http://www.jayclappphotography.co.uk/bron/2.jpg");

#1271 Re: CE4 Gallery » Enable / install the search form at the gallery » 2015-03-15 03:09:34

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

#1272 Re: CE4 Pages » Line image with transparent background » 2015-03-14 06:28:12

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.

#1273 Re: General » Google Calendar on website » 2015-03-12 07:25:22

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 ;-)

#1274 Re: General » Google Calendar on website » 2015-03-12 03:09:43

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.

#1275 Re: CE4 Publisher » Installation issue » 2015-03-12 02:51:30

In my installation, the file is at this location. I would try to reinstall the publisher plugin and restart Lr.

Board footer

Powered by FluxBB