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.
You are not logged in.
Pages: 1
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
Andy Ogden
www.andyogdenphotography.co.uk
Offline
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
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
Andy Ogden
www.andyogdenphotography.co.uk
Offline
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
Pages: 1