Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Permanent Link... where does it really take you?
I have an article that only displays its title, excerpt, and a “Read More” button using the <txp:permlink/>
tag.
When you click the perm link button to read more, it still displays only the excerpt (along with comments, etc..). Why is it not expanding the article and displaying the body text?
I dont really understand how to control the form of an article in its “permanent” state…
any help is greatly appreciated. thanks
(edited to show your code. -Els)
Last edited by els (2006-05-09 19:55:29)
Offline
#2 2006-05-09 18:32:32
- saturnflyer
- Member
- Registered: 2006-01-22
- Posts: 40
Re: Permanent Link... where does it really take you?
Is this a new installation?
Is it possible that the exerpt and article text are the same?
Check the “Advanced Options” in Content > Write and see if there is anything selected for “Override form”
Sorry if they sound like dumb questions, I’m just not sure what you have.
I’m new to this as well, but the forum is generally very helpful. I would try to change the forms slightly and see where the change shows up.
Offline
Re: Permanent Link... where does it really take you?
i am using an override form that i created called “article_excerpt”. The form is exactly the same as the “default” article form except that instead of “txp:body /” i am using “txp:excerpt/”.
the problem is that after click the permanent link button, it still only displays the excerpt.
is it possible to set up a conditional statement that says if you are viewing the permanent link, then display “txp:body/” or and display “txp:excerpt/” for everything else?
Last edited by alittle116 (2006-05-09 18:53:55)
Offline
#4 2006-05-09 18:55:48
- KurtRaschke
- Plugin Author
- Registered: 2004-05-16
- Posts: 275
Re: Permanent Link... where does it really take you?
http://textpattern.com/faq/43/how-do-i-post-tags-and-code-on-the-forum
http://textpattern.com/faq/24/how-do-i-show-only-an-excerpt-in-article-lists
-Kurt
kurt@kurtraschke.com
Offline
Re: Permanent Link... where does it really take you?
thanks for the links kurt, they explained everything. to key to my success was this…
<code><txp:article form=“default” listform=“excerpt” /></code>
Offline