Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-06-20 10:42:11
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
article status="hidden"
i created article, set status hidden but it doesn’t show up
my page:
<txp:article_custom id=“3” status=“hidden” />
Offline
Re: article status="hidden"
So it works as expected. What’s your point?
Offline
Re: article status="hidden"
status=“hidden” would only show the article if you didn’t specify the ID and I wonder if that’s a bug or a feature. Why set something hidden if you want to show it to people?
Offline
#4 2007-06-20 11:27:52
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
Re: article status="hidden"
wet wrote:
So it works as expected. What’s your point?
i want that this article (contains contact information) would show up at the bottom of each different language (3 of them) pages. i don’t want to create 3 copies of this article for each different (language) section
Offline
Re: article status="hidden"
I see.
- Create a 4th section
- Set it to “on frontpage? no” “in feeds? no” in search? no”, which basically makes it a container for all internal stuff.
- Save your article there
- Add
<txp:article_custom id="3" />
to the page template for all other three sections to drag a specific article into visibility.
Last edited by wet (2007-06-20 11:35:20)
Offline
#6 2007-06-20 12:59:21
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
Re: article status="hidden"
ruud wrote:
status=“hidden” would only show the article if you didn’t specify the ID
that is excactly what i ment. …and it’s visible. thank’s
Offline
#7 2007-06-20 13:05:25
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,308
Re: article status="hidden"
wet wrote:
- Create a 4th section
and which page template i specify for this new section? when english, all menu items will be in english in german pages too…..
Offline
Re: article status="hidden"
Gallex wrote:
i want that this article (contains contact information) would show up at the bottom of each different language (3 of them) pages. i don’t want to create 3 copies of this article for each different (language) section
Why not use a form (containing the contact info) instead of an article and include that at the bottom of the page?
Offline
Re: article status="hidden"
Gallex wrote:
and which page template i specify for this new section?
The page template does not matter at all. This section serves only as a container for articles which aren’t displayed on the front page, included in feeds or search results.
Last edited by wet (2007-06-20 18:28:15)
Offline
#10 2007-06-21 03:42:59
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: article status="hidden"
If you specify an id
, the status
attribute (which is really only mean to allow you to display live
versus sticky
articles) is ignored and it displays the article if its’ status
is live
or sticky
.
I would use a form and output_form too, rather than an article.
Last edited by Mary (2007-06-21 03:44:00)
Offline
Pages: 1