I'm experiencing a little problem with the NewsListing Snippet. It look like the $lentoshow doesn't really work. To my understanding it is supposed to show the no. of $lentoshow characters of my text, but it doesn't.
Maybe I'm doing something wrong but here is what I did.
I created a chunk called "lorem" which hold some lorem ipsum dummy text - two paragraphs actually. This way I can easily create some dummy text in my documents. Even with a $lentoshow of e.g. 12 only, I can still see the whole two paragraphs. It looks to me that the snippet is doing the cut off before the chunk content gets even added to the document.
Your input is very much appreciated.
NewsListing Snippet Problem
Started by mmjaeger, Aug 19 2004 08:27 PM
1 reply to this topic
#1
Posted 19 August 2004 - 08:27 PM
#2 Guest_Alex_*
Posted 19 August 2004 - 08:33 PM
It does it in this order:
1. Combine template and content, we'll call this the content from now.
2. Combine the content with the settings.
3. Combine the content with the chunks.
4. Combine the content with the snippets.
This means the snippet writes the chunk to the new document, and after that's happened, the chunk is evaluated.
If you put regular content in the news pages, it'll strip it properly.
1. Combine template and content, we'll call this the content from now.
2. Combine the content with the settings.
3. Combine the content with the chunks.
4. Combine the content with the snippets.
This means the snippet writes the chunk to the new document, and after that's happened, the chunk is evaluated.
If you put regular content in the news pages, it'll strip it properly.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











