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.

#51 Re: CE4 Showcase » Website updated to CE4 » 2016-04-21 23:08:04

Thanks Rod. I was tired of having the same image in multiple galleries as well. I also wanted to offer more options to view the images (like aspect ratio). I had seen this on quite a few other photographers sites (especially those done by Wide Range Galleries).

You do have to be very disciplined on keywords. I have a set of keywords grouped under a top level keyword of WEBSITE. Under that are the respective keywords used to create the galleries, REGION (for Location), SEASON, ASPECT, and Personal Favorite (to make the home page collections). I am probably going to add Recent when I start getting some processing done too! Before an image can go on the website, I go through the list and assign each keyword before publishing. I have Smart Collections setup that show what should be in the search gallery online to keep track. What is cool is that you can just change keywords and publish just metadata to add or remove an image from a gallery.

Monte

#52 Re: CE4 Showcase » Website updated to CE4 » 2016-04-21 21:46:47

Thanks Matt! No big deal on switching to Backlight in the future. At least I can carry over the basic design and a lot of the background stuff. Looking forward to not having to wait on Lightroom!

The only real galleries on my galleries menu are the categories. All of the rest are search based. I really like how it came out. What would be nice is to be able to do a little customization for each search such as title, etc. but I am sure that would be some work.

Thanks again for the great work you have done with the templates. I had thought about switching over a lot of stuff to ArtStoreFronts, but couldn't give up the ability to really customize my site.

#53 Re: PHPlugins (CE4) » Help with targeting Home Page » 2016-04-21 06:58:31

Thanks Rod! Yeah, I figure I will have to toy with the timing.

#54 Re: PHPlugins (CE4) » Help with targeting Home Page » 2016-04-20 23:30:52

Thanks Rod! Targeting the slug worked. By the way I did see that you can only use a function once while reading the entire documentation this time (always helps!). You are now treated to a popup after 25 seconds on the home page (which still requires work, but at least I can see it now).

Thanks again - Monte

#55 Re: PHPlugins (CE4) » Help with targeting Home Page » 2016-04-20 22:26:52

Hey Rod. Yes, there is another section with ttg_head, so I went ahead and tried the conditional statements. It doesn't lock up, but it never inserts the added code on the home page. Here is the new code (I have tried it with and without the return false statements):

function ttg_head_end( $style, $path ) {
      if (G_STYLE == 'CE4-PAGES-HOME') { // Popup Form on Home Page
        echo '
        <link rel="stylesheet" href="https://www.montetrumbull.com/phplugins/css/custom.css">
        <link href="https://fonts.googleapis.com/css?family=Marcellus" rel="stylesheet" type="text/css">
        <link href="https://fonts.googleapis.com/css?family=Marcellus+SC" rel="stylesheet" type="text/css">   
        <link rel="stylesheet" href="https://www.montetrumbull.com/phplugins/css/jquery.kyco.googleplusfeed2.css">
        <script src="https://www.montetrumbull.com/resources/js/jquery.kyco.googleplusfeed2.min.js"></script>
        <meta name="msvalidate.01" content="57C199CAA37B29A675E57F15450D64B1" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
            <link rel="stylesheet" href="./popup/colorbox/colorbox.css" />
            <script src="./popup/common/libs_js/jquery-1.4.4.min.js"></script>
            <script src="./popup/colorbox/jquery.colorbox.js"></script>
            <script>
                var $fb_pop = jQuery.noConflict();

                $fb_pop(document).ready(function(){
                    setTimeout( function(){ $fb_pop.colorbox({href:"./popup/popup.html", iframe:true, innerWidth:"432px", height:"80%", maxHeight:"435px", fixed:true}) }, 25000 );
                    $fb_pop(".fb_iframe").colorbox({iframe:true, innerWidth:"432px", height:"80%", maxHeight:"435px", fixed:true });
                });
            </script>
        ';
        return false;
    }
    else {
        echo '
        <link rel="stylesheet" href="https://www.montetrumbull.com/phplugins/css/custom.css">
        <link href="https://fonts.googleapis.com/css?family=Marcellus" rel="stylesheet" type="text/css">
        <link href="https://fonts.googleapis.com/css?family=Marcellus+SC" rel="stylesheet" type="text/css">   
        <link rel="stylesheet" href="https://www.montetrumbull.com/phplugins/css/jquery.kyco.googleplusfeed2.css">
        <script src="https://www.montetrumbull.com/resources/js/jquery.kyco.googleplusfeed2.min.js"></script>
        <meta name="msvalidate.01" content="57C199CAA37B29A675E57F15450D64B1" />
        ';
        return false;
    }
    return false;
} // END

#56 Re: PHPlugins (CE4) » Help with targeting Home Page » 2016-04-20 12:03:16

I don't think it matters Rod. I pasted the same code into the ttg-head function I already had and it works. The issue is just getting it to load on the home page only.

Thanks!

#57 Re: PHPlugins (CE4) » Help with targeting Home Page » 2016-04-20 11:46:02

Hi Rod. I have tried it with all combinations, from none to both. The existing code for the ttg_head function I am already using for all pages doesn't don't have any and that is what I started out with.

Thanks - Monte

#58 PHPlugins (CE4) » Help with targeting Home Page » 2016-04-20 10:22:06

trummonte
Replies: 13

I am trying to insert code into the head of just the home page. I can insert it just fine if I don't try to target a page, but otherwise it renders the site unavailable. Here is the code. I have tried adding and removing the return true and false statements.

// Popup Form on Home Page
function ttg_head_end( $style, $path ) {
    if (G_STYLE == 'CE4-PAGES-HOME') {
        echo '
            <meta name="viewport" content="width=device-width, initial-scale=1.0" />
            <link rel="stylesheet" href="./popup/colorbox/colorbox.css" />
            <script src="./popup/common/libs_js/jquery-1.4.4.min.js"></script>
            <script src="./popup/colorbox/jquery.colorbox.js"></script>
            <script>
                var $fb_pop = jQuery.noConflict();

                $fb_pop(document).ready(function(){
                    setTimeout( function(){ $fb_pop.colorbox({href:"./popup/popup.html", iframe:true, innerWidth:"432px", height:"80%", maxHeight:"435px", fixed:true}) }, 25000 );
                    $fb_pop(".fb_iframe").colorbox({iframe:true, innerWidth:"432px", height:"80%", maxHeight:"435px", fixed:true });
                });
            </script>
        ';
        return false;
    }
    return true;
} // END

Any ideas?

Thanks - Monte

#59 Re: CE4 Gallery » Tool tips on Magnific large image not showing » 2016-04-19 08:05:51

Hey Rod. I just checked and they are now working in Highslide and there are no errors in the inspector. I turned Cloudflare back on last night to cache my site, so I should have given it some more time!

Thanks - Monte

#60 Re: CE4 Gallery » Tool tips on Magnific large image not showing » 2016-04-19 05:01:28

I decided to switch to the Highslide presentation and noticed the same errors are present.

Monte

#61 Re: CE4 Showcase » Website updated to CE4 » 2016-04-19 02:16:25

Thanks Daniel! Using search worked great.

#63 CE4 Showcase » Website updated to CE4 » 2016-04-19 00:44:51

trummonte
Replies: 21

I finally got my website updated from CE3 to CE4 (just in time for Backlight!). I changed things up a bit this time with a dark theme and cleaned up the galleries structure by using search based links. I used Stage for most of extra pages working with the responsive framework. I am real happy with how it all turned out and it breaks down nicely on smaller devices. Many thanks to Rod and Matthew for the help along the way! You can check it out at: https://www.montetrumbull.com/.

Monte

#64 CE4 Gallery » Tool tips on Magnific large image not showing » 2016-04-19 00:17:27

trummonte
Replies: 3

Are tool tips supposed to work in Magnific galleries? Upon inspecting the page, I am seeing this error: TSRInitToolTip not exists. There is also this error: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience.

By the way, I am also seeing those errors on my blog page as well.

Any ideas?

Thanks - Monte

#65 Re: CE4 Theme for WordPress » Drop-down menu not working on blog » 2016-03-31 22:32:28

Wish I would have found WP/LR Sync before messing with NextGen. I wouldn't have wasted a day!

#66 Re: CE4 Theme for WordPress » Drop-down menu not working on blog » 2016-03-31 07:25:55

I deleted NextGEN and found a cool Lightroom publish service called WP/LR Sync. It uses a companion plugin for Wordpress that lets you see the published images in the Media Library. All is fine now. Thanks Rod!

Monte

#67 Re: CE4 Theme for WordPress » Drop-down menu not working on blog » 2016-03-31 05:51:57

Great idea Rod. I swear I had tried that, but must have forgot to check in between activating each one. Figures it was the NextGEN gallery plugin. It always seems to cause problems. I am using it so that I can insert images from a published folder not in the wp-content folder. Back to the drawing board! Thanks for the help Rod!

Monte

#68 Re: CE4 Theme for WordPress » Drop-down menu not working on blog » 2016-03-31 05:33:25

Interesting. i spoke incorrectly. My menu isn't created dynamically. Mine is coded in phplugins just like yours. Page source for yours and mine looks the same. I will keep digging...

Thanks - Monte

#69 Re: CE4 Theme for WordPress » Drop-down menu not working on blog » 2016-03-31 04:47:31

Hi Rod. I am doing the dynamic menus now using phplugins and it works fine everywhere else. A lot of the errors have to do with incorrect links in images from old posts, which I will be getting cleaned up, but some of the errors are on coding in what seems like TTG functions. How are other people handling drop-down menus in Wordpress?

Thanks - Monte

#70 CE4 Theme for WordPress » Drop-down menu not working on blog » 2016-03-31 02:49:27

trummonte
Replies: 12

I have a site-wide drop-down menu implemented and it works fine except on the blog. If I view the page source, I can see that everything from my phplugins file is loaded. I also have a back-to-the-top button loaded that does not work. Any ideas?

Thanks - Monte

#71 Re: General » Search based galleries » 2016-03-30 09:31:23

Thanks Rod, that worked perfectly.

Thanks for the ideas Daniel. I will look into that.

Monte

#72 Re: General » Search based galleries » 2016-03-30 08:24:06

I realized that I was removing the block on all pages after posting that. I thought the following would target just the Search page which uses the template named "search".

// Search page //
function ttg_block_top( $style, $path ) {
    if (G_TEMPLATE == 'search') {
        echo '
        BLOCK
        ';
        return false;
    }
}  //END

Monte

#73 General » Search based galleries » 2016-03-30 07:18:58

trummonte
Replies: 4

I wasn't sure where to post this. I have created menu items that are shortcuts to a keyword search. I have a phplugin that removes the block on the search page so that the view looks like a standard gallery page. A couple of questions:

Would it be possible to create a dynamic title for the page based on the search term?

Would it be possible to still have a normal search show up with the block?

Here is a link: https://www.montetrumbull.com/. The galleries I am referring to are under Location, Season, and Aspect. Things are still under construction!

Thanks - Monte

#74 Re: PHPlugins (CE4) » Search form in masthead not accepting input » 2016-03-27 00:13:49

I got it to work by moving the code down to the beginning of my navigation.

Thanks - Monte

#75 Re: PHPlugins (CE4) » Search form in masthead not accepting input » 2016-03-26 11:45:05

Thanks for the ideas Rod and Matt. I will play with it tomorrow.

Monte

Board footer

Powered by FluxBB