Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-27 23:47:04

wii
Member
Registered: 2005-05-08
Posts: 77

Display the same article throughout the website ?

I´ve used Textpattern for a while and I love it, but I always wondered if I could create an article and use a tag in the HTML to show this article throughout the website ? An example would be a footer with the same info on all pages.

Thanks

Offline

#2 2007-01-28 00:03:10

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

Re: Display the same article throughout the website ?

TextBook: article_custom

Offline

#3 2007-01-28 04:10:22

hcgtv
Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Display the same article throughout the website ?

I’m curious, why not create a Form of type misc and include it in your page like:

<txp:output_form form="footer" />

Last edited by hcgtv (2007-01-28 04:11:29)

Offline

#4 2007-01-28 08:35:19

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Display the same article throughout the website ?

As you might not want the ‘footer’ to appear in the feeds you can have something like

<txp:article_custom form="body" status="sticky" id="50" />

you can have the above code wherever you want in your template…

The ‘body’ form looks like this:

<txp:body />

Last edited by colak (2007-01-28 08:36:57)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB