Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-06-23 18:31:21

econohead
New Member
Registered: 2006-06-23
Posts: 6

Accessing TXP tags from subdirectory install

I have installed TXP under ../blog/textpattern as I wish to have a specific blog component of my website. However, on the initial landing page (www.boatzilla.com) i also wish to pull in recent article titles and excerpts. I am having trouble figuring out how to properly access the TXP tags with this installation. Any help is greatly appreciated.

Offline

#2 2006-06-23 21:29:42

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,393
Website GitHub Mastodon

Re: Accessing TXP tags from subdirectory install

No way to make this happen.

Offline

#3 2006-06-23 22:28:33

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Accessing TXP tags from subdirectory install

Without PHP, that is.

Offline

#4 2006-06-24 12:48:50

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

Re: Accessing TXP tags from subdirectory install

Each entry in the database is stored already converted into HTML. You can use php to select this field from the database, and display it on your main page. You can use the various textpattern functions to do this. Checkout the last chunk of code on this post from this post to see how. I use the safe_query() function for example.

Last edited by ramanan (2006-06-24 12:51:39)

Offline

#5 2006-06-24 15:07:11

econohead
New Member
Registered: 2006-06-23
Posts: 6

Re: Accessing TXP tags from subdirectory install

Thanks all. Going to give the PHP route a try.

Offline

Board footer

Powered by FluxBB