Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-01-15 11:36:49

sams101
Member
Registered: 2009-11-09
Posts: 23

Excerpt question

Hi there,

Had to put down the development of my site for a while. But just before I did, i ran into a small issue with the except. Just wondering if anyone has had a similar issue (and solution hopefully!).

I am calling my rss_auto_except with the below form:

<h4><txp:permlink class="ptext"><txp:title /></txp:permlink></h4><span class="ptext">
<txp:rss_auto_excerpt length="333" showlinkwithexcerpt="1" linktext="Read article" ending="... " overrideexcerpt="1" striptags="0" wrapreadmore="1" skipparagraphs="1" linkwraptag="span" linkclass="ptext" /></span>

It is all working perfectly, but I am trying to make it skip the first paragraph (which is a title within the blog post, just normal text wrapped in a strong). For some reason it ignores the skipparagraphs part.

I’m not sure if it makes any difference but this is the code I am calling the form with:

<txp:article_custom category="blog" limit="1" form="ss_footer_blog" />

Nearly finished creating my website now, so would be very happy to hear your thoughts on this

Sam

p.s. here is what I am referring to (bottom left) – http://hellosam.co.uk/textpattern/

Offline

#2 2010-01-15 18:00:43

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Excerpt question

As far as I know, if you are using length, you can only use skiplength. The same goes for words with skipwords, sentences with skipsentences and paragraphs with skipparagraphs. I think that makes sense :)

For future reference: plugin support questions are better asked in the plugin thread.

Offline

Board footer

Powered by FluxBB