Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
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
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