Article Teaser Size
Board index / PHP Melody - Video CMS / PHP Melody 1.6.x (old version)
4 posts • Page 1 of 1
Not sure what happened, but on my article landing page, it displays the full article. On the PHP Melody demo, it shows the teasers on the article landing page, then the full article on the main article page. Is there a setting somewhere that I need to set so the full article doesn't display on landing and category pages? thanks.
- phpguy98
- Verified Customer
- Posts: 31
- Joined: Nov 12, 2010 10 pm
- Reputation points: 0
here's an update to a discovery of the solution I found.
{$article.content}
Places entire article content in that area, including the 1st photo and formatting of links, style, etc.
{$article.excerpt}
Places the excerpt of the article in the area. No formatting or pictures come through
{smarty_fewchars s=$article.content length=500}
Brings in the content, along with the photos and style, link, etc. But you can limit it by the enclosed attribute. 500 seems like a decent size.
{$article.content}
Places entire article content in that area, including the 1st photo and formatting of links, style, etc.
{$article.excerpt}
Places the excerpt of the article in the area. No formatting or pictures come through
{smarty_fewchars s=$article.content length=500}
Brings in the content, along with the photos and style, link, etc. But you can limit it by the enclosed attribute. 500 seems like a decent size.
- phpguy98
- Verified Customer
- Posts: 31
- Joined: Nov 12, 2010 10 pm
- Reputation points: 0
When you make a article in your admin panel, use "Delimeter" (The button on the right side of the "HTML" button).
Everything on top of this line will show on your article landing page, everything show on the article detail page.
Everything on top of this line will show on your article landing page, everything show on the article detail page.
-
chatflash - Verified Customer
- Posts: 977
- Joined: Nov 24, 2007 1 pm
- Location: Netherlands
- Reputation points: 132
Thanks Chatflash!
- phpguy98
- Verified Customer
- Posts: 31
- Joined: Nov 12, 2010 10 pm
- Reputation points: 0
4 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests