Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-05-16 18:31:25

annasue
New Member
Registered: 2008-05-16
Posts: 7

Insert blog into existing web page format

This is probably covered somewhere but I cannot locate it. How do I simply have the blog come up on an existing page of a web site? Do I use Frames to include it?

Offline

#2 2008-05-16 18:53:06

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: Insert blog into existing web page format

You could simply install Txp in a subdirectory named “blog” and leave the rest of your site untouched. You would then link to it as domain.com/blog/

Last edited by masa (2008-05-16 18:53:36)

Offline

#3 2008-05-16 18:55:40

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Insert blog into existing web page format

article_custom

<txp:article_custom section="blog"/>

edit: whoops. thought you meant an existing section. You could parse the XML feed with SimpleXML (or SimplePie) on your non-TXP page.

Last edited by jm (2008-05-16 18:56:45)

Offline

#4 2008-05-16 18:59:08

annasue
New Member
Registered: 2008-05-16
Posts: 7

Re: Insert blog into existing web page format

I don’t think I made myself clear. For instance, if you go to www.bobsmithmusic.org, can I take that format and imbed the blog in the center of the page?

Offline

#5 2008-05-16 19:02:12

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Insert blog into existing web page format

Yes – just modify your page templates and forms with the HTML of that page.

Offline

Board footer

Powered by FluxBB