Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Excerpt Questions
I am running into a little problem. here’s the details of what I want to do:
I have a section thats just for posting pics. I have code on my default page to show the exceprts from articles posted to just that section (header image of the site). Now… I would like to include text to the body of the pic post (I am linking to the image in the excerpt and putting text in the main body). I created a new form to use for pic posts and it contains:
<blockquote> < txp:if_article_list>
< txp:if_excerpt>
< txp:permlink>< txp:excerpt />< /txp:permlink>
< txp:else />
< txp:body />
< /txp:if_excerpt>
< txp:else />
< txp:body />
< /txp:if_article_list> </blockquote>
Now… when I go the articles page… It shows the excerpt along with the body. I’m trying to not show the excerpt again when you go to the post.
here’s the examples:
http://words.idontblameyou.com if you click on the image… it will go to the permalinked post….
Offline
Re: Excerpt Questions
I figured it out… I forgot to change what form to use in the actual post… it was using the default post…
but now I have another problem. The site is acting how I want… but when I click on an article post it doesnt display the excerpt or comment areas.
I’m using :
< txp:article_custom form=“default” limit=“1” section=“article” sortby=“Posted” sortdir=“desc” excerpted=“y” listform=“default” />
in my main section to display only posts in the “article” section.
Last edited by rekkid (2006-02-02 17:37:06)
Offline
Pages: 1