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.

#2 Re: General » End body tag in CE3 Blog » 2015-01-23 05:07:21

Thanks for your reply Rod, just got around to trying this and can't seem to make it work!
The code I am putting in the phplugins.php is

<?php
/*
 *    TTG Core Elements "PHPlugins" User Hooks v1.2 - initialization mainline
 *
 *    developed by john bishop images (http://johnbishopimages.com)
 *    for Matthew Campagna of The Turning Gate (http://theturninggate.net)
 *
 */

// 
function ttg_body_bottom( $style, $path ) {
    
   if (
        
   G_STYLE == 'CE3-WORDPRESS'
   
   ) {
        echo '

   <script src="https://www.dwin2.com/pub.225491.min.js"></script>
       
     ';
    }
} // END

// ****************************************************************************************************
// END USER FUNCTIONS
?>

The above is everything which is on the page!

When I try to reload the website I just get a blank page.
The website is nathanweekesphoto.com it is my blog only site running Wordpress CE3 from the root.

#3 General » End body tag in CE3 Blog » 2015-01-21 08:48:50

ndweekes
Replies: 4

Hi
I need to past some code to do with affiliate tracking into my CE3 blog. The instructions say it needs to go just before the end body tag in footer.php, however I can't find that tag!

#4 Re: General » Drop down vertical menus. » 2013-12-31 00:36:07

Thanks for your help so far. I have been trying the approaches suggested and currently I am tending to favour a jquery accordian. I am assuming that I need to reference javascript and jquery files in the head function of the phpplugin file. Various examples of such menus that I have looked at use a jquery script similar to the one below but I can't work out where I should put! I have tried putting it in the head and also in the site wide drop down menu function directly above the menu html and in both cases I just get a blank page.

<script type="text/javascript">
    $(document).ready(function () {
        $('.accordion li').click(function (ev) {
            if (!$(ev.target).is('a')) {
                if (!$(this).find('> ul').is(':visible')) {
                    $(this).find('> ul').show();
                    $(this).find('> span.spanarrowdown').addClass('spanarrowup');
                    $(this).find('> span.spanarrowdown').removeClass('spanarrowdown');
                } else {
                    $(this).find('> ul').hide();
                    $(this).find('> span.spanarrowup').addClass('spanarrowdown');
                    $(this).find('> span.spanarrowup').removeClass('spanarrowup');
                }
                return false;
            }
        });
    });
</script>

#5 Re: General » Drop down vertical menus. » 2013-12-28 10:24:13

I do see the indentations, I have tried it out online, and the menu structure closely mirrors that shown in the TTG tutorial. However when I  look at Daniel Leu's site if I click on Blog for example, a sub menu appears, if I then click on Galleries a different sub menu appears whilst that under Blog disappears. That was the effect I was hoping to be able to recreate.

#6 General » Drop down vertical menus. » 2013-12-26 09:09:37

ndweekes
Replies: 6

I am in the process of upgrading my site from CE2 to CE3. Having looked at the various implementations I particularly like the vertical menu structure as use by Daniel Leu. I followed both the tutorials by Matthew and Daniel and was able to create and style a vertical menu. However what  I would like to achieve is to have a drop down function when clicked on the way Daniel has been able to. I tried activating the various site wide menu functions in the php plugins hoping this would do it but no luck, am I missing something? My new site is not online yet but the old CE2 version is at http://www.nathanweekes.com Any help would be appreciated, and must remember to make that contribution to Daniels wine and pizza fund.

Board footer

Powered by FluxBB