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 2013-01-14 23:58:51

andy.ogden
Member
From: Grimsby, UK
Registered: 2013-01-14
Posts: 89
Website

Wordpress and TTG

Hi all

I have a TTG AutoIndex page in a subfolder of my wordpress installation which works great, but I'd like to gain access to some of my Wordpress data in the page.

I've found a tutorial on using wp-load.php (http://osamashabrez.com/load-wordpress- … -the-bolg/) which then would let me gain access to post information etc.  On a basic HTML page this works great, however when I insert this line into a TTG autoindex page I get a blank page, when previously I got a list of albums.

I turned on DEBUG in my wp-config.php file and it revealed a large number of errors http://www.andyogden.co.uk/dev/ttgtest/ … es/custom/

Can anyone suggest what might be causing the errors and how I might solve them?


Thanks
Andy

Offline

#2 2013-01-15 04:41:45

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

Re: Wordpress and TTG

No suggestions on what might be causing the error, but I would think that using phplugins might be an option here for inserting content from your blog into your autoindex page
http://wiki.theturninggate.net/doku.php … _phplugins


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

Offline

#3 2013-01-15 04:53:53

andy.ogden
Member
From: Grimsby, UK
Registered: 2013-01-14
Posts: 89
Website

Re: Wordpress and TTG

Thanks for the suggestion Rob, I hadn't looked into PHPlugins before and it seems it will save me a lot of effort when I need to republish for plugin updates.

Seems that I would still need to first gain access to WordPress content by including wp-load.php before I could include it in a PHPlugin hook.

Have you ever used or seen a post on how to use PHPlugins in this way?

Thanks
Andu

Offline

#4 2013-01-15 05:59:11

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

Re: Wordpress and TTG

I haven't, but Matt might have.


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