Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-06-18 01:40:18

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

implementing textpattern correctly

hello all. im working on a simple indie record label site and im trying to use textpattern as its backbone. this is my first time so bare with me! i have to admit im pretty much reading the documentation and winging it as i go along.

firstly the site is at http://www.ambulancerecords.com/news (incomplete/no content/not live yet)

you can see that for each section you visit (i have news/tours/bands/media/links/about), there are always 3 sections in total on display (just shuffled around in different areas depending on where you are).

the issue is im not sure im going about displaying all the ‘side’ content correctly (for ex. in the NEWS section, the MERCH and VIDEO&PODCASTS areas would be considered the side content).

im using this as the side output (for ex. the MERCH section on the side):

<txp:article_custom section="merch" form="merch_excerpt" />

now this displays them correctly on the side as far as i can tell. the merch_excerpt form i have set up forces it to display only its excerpt. when clicking the actual merch item it displays the actual article content in the main window correctly. BUT whenever i want to be able to HIDE an entry on the side content, selecting “hidden” for that article doesnt do anything. i tried adding a “status=“live” tag to the article_custom tag but it doesnt restrict the list output to only live articles at all. im assuming the article_custom tag ignores the whole live/sticky/hidden statuses?

basically is there a ‘correct’ way for me to display the side content correctly and still have the available status (live/hidden etc) work?

Last edited by iblastoff (2007-06-18 02:03:07)

Offline

#2 2007-06-18 14:20:36

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

Re: implementing textpattern correctly

No, it shouldn’t, it should only display sticky and live articles.

One possibility: what is your send last modified header preference set to?

Offline

#3 2007-06-18 16:08:34

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: implementing textpattern correctly

ahh there we go! i turned the last modified header preference to off and now the hidden/live settings can be seen working. thanks!

Offline

Board footer

Powered by FluxBB