Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-12-08 23:21:16
- Spock
- New Member
- Registered: 2008-12-08
- Posts: 2
Creating Variable boxes
I’ve got a TXP website, however, I want to have a box in the bottom corner of each page but change the information in that box from time to time (say weekly), what sort of coding would I have to put on each page or how would I go about doing this without having to go to each individual page every time I decide to put new information in the box section.
Any help would be great.
Offline
Re: Creating Variable boxes
You could use <txp: article_custom limit="1" section="bottom-box" form="bottom-article" />
and put it on your page(s) – of course where you want it.
You would have to create a separate section called “bottom-box”, don’t let it display on the frontpage. Also create a form called “bottom-article”. Then when you want to change the information, you’d just write a new article, assign it to the section “bottom-box”, which replaces the former one (that’s what limit=“1” does).
…Prrrrrrrr…
Offline
Pages: 1