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.

#1 2015-05-01 03:27:05

gwlco
Member
From: Pensacola, Fl.
Registered: 2012-10-24
Posts: 337
Website

using ttg-be and creating a WP CE4 site

Somehow I have missed the boat. I created the ttg-be using Mathews video.
NOW: what do I do?

I have installed a Gallery using publisher when under TTG-BE and can get to it by http://garylittle.com/gallery/quick-collection/
but nothing else works. I guess I just don't understand the connection between TTG-BE and the other products.
Before TTG-BE I didn't have any problem and now all I have is problems.

the root site is http://garylittle.com/

but none of the links work except the HOME menu link. HELP.

Last edited by gwlco (2015-05-01 05:24:54)

Offline

#2 2015-05-01 15:50:23

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: using ttg-be and creating a WP CE4 site

Try not to get so hung up on TTG BE. The plugins work mostly as before, now with TTG BE helping to facilitate some new and improved features. If you're setting up a WordPress-based site, then follow the steps in this tutorial:
http://ce4.theturninggate.net/docs/doku.php?id=ce4_102


Matt

The Turning Gate, http://theturninggate.net

Offline

#3 2015-05-01 22:59:40

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: using ttg-be and creating a WP CE4 site

Also, it looks to me that your Contact, About, Info pages were made by using WordPress posts rather than WordPress pages. That's why they're showing up on your home page as posts, along why the standard "Hello World" post.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#4 2015-05-02 00:10:57

gwlco
Member
From: Pensacola, Fl.
Registered: 2012-10-24
Posts: 337
Website

Re: using ttg-be and creating a WP CE4 site

Thanks guys, but my REAL question is (and why I got away from TTG for awhile) is - I don't understand CE4 Theme for WordPress. When do you invoke it? Does it make the required pages?
I just never got the "HOW TO DO CE4 Theme for WordPress"
Thanks for  your help.

the root site is http://garylittle.com/

Last edited by gwlco (2015-05-02 00:11:29)

Offline

#5 2015-05-02 00:24:40

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: using ttg-be and creating a WP CE4 site

Theme for WordPress just creates the theme. You'll also need to learn how to use WordPress.
Theme for WordPress does not create the Info, About, Contact, Service, and Galleries pages (Pages does that)
But you can create any pages you want in WordPress.

(best practice with WordPress is to set your permalinks to Post Name, otherwise your page urls will just be ID numbers and won't make any sense to your visitors and won't help SEO: https://codex.wordpress.org/Settings_Permalinks_Screen )

When to invoke it? That depends on your site goals. Are you wanting to create the site using WordPress or do you just want a blog that fits in with the rest of your site.
If you're creating your site with WordPress (which it looks like you're doing), then you'll install WordPress at the root of the site.
If you're using Pages to create your site but you also want a blog, then you'd install WordPress in a sub-folder. Mine is installed in a folder I cleverly named "blog".


Following Matt's tutorial (which is for the WordPress site options), you'll also need to use Autoindex to create your Galleries page to act as an index for your albums.

does that make sense?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#6 2015-05-02 03:19:08

gwlco
Member
From: Pensacola, Fl.
Registered: 2012-10-24
Posts: 337
Website

Re: using ttg-be and creating a WP CE4 site

Yes this makes sense, but when I press the Galleries link I get the old menu setup ->Home Galleries Blog Services, etc.
Here is the /galleries/phplugins.php info  I added:

// GET FUNCTIONS FROM WORDPRESS
define('__ROOT__', '/home5/garyphot/public_html'); // SET PATH TO WORDPRESS
require_once(__ROOT__.'/wp-includes/version.php'); global $wp_version;
require_once(__ROOT__.'/wp-load.php');

// SITE-WIDE NAVIGATION FROM WORDPRESS
function ttg_header_navigation( $style, $path ) {
    if (G_STYLE != 'CE4-WORDPRESS') {
        echo '
<div id="navigation-container" class="navigation-container clearfix">

    <div id="navigation" class="block-id navigation clearfix">
    <div class="mantle clearfix">


        <div class="core clearfix">
        <div id="navigation-background">

        <div id="r2d2-menu" class="clearfix">
        <ul id="pull">
            <li><span>&nbsp;</span></li>
            <li><span>&nbsp;</span></li>
            <li><span>&nbsp;</span></li>
            <li><span>&nbsp;</span></li>
            <li id="open-nav"><a href="#r2d2-menu"><i class="fa fa-reorder"></i></a></li>
            <li id="close-nav"><a href="#"><i class="fa fa-times"></i></a></li>
        </ul>
        ';

        wp_nav_menu(array( 'theme_location' => 'site-navigation', 'container' => false, 'menu_id' => 'nav', 'menu_class' => '', 'fallback_cb' => false, 'walker' => new My_Walker_Nav_Menu() ));

        echo '   
        </div><!-- #r2d2-menu -->

        </div><!-- #navigation-background -->
        </div>
    </div>
    </div> <!-- #navigation -->

</div> <!-- #navigation-container -->
        ';

        return false; // Replaces normal menu for non-WordPress pages
    }
    return true; // WordPress returns normal menu
} // END

http://garylittle.com

Last edited by gwlco (2015-05-02 03:19:43)

Offline

#7 2015-05-02 04:49:01

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: using ttg-be and creating a WP CE4 site

Did you rename the phplugins-sample/ folder to phplugins/ so that the location of your phplugins.php file is at garylittle.com/galleries/phplugins/phplugins.php ?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#8 2015-05-02 04:58:13

gwlco
Member
From: Pensacola, Fl.
Registered: 2012-10-24
Posts: 337
Website

Re: using ttg-be and creating a WP CE4 site

Yes I did.

Offline

#9 2015-05-02 05:03:21

gwlco
Member
From: Pensacola, Fl.
Registered: 2012-10-24
Posts: 337
Website

Re: using ttg-be and creating a WP CE4 site

I figured out what happend. I redid the galleries (auto exec) and forgot to insert the code.
Thank you very much for sticking with me. I think I am on my way again.
Gary

Offline

#10 2015-05-02 05:05:18

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: using ttg-be and creating a WP CE4 site

That's easy to do!


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

Board footer

Powered by FluxBB