Sub-category display capabilites of articles...

Search
Other Pre-Sale questions
Forum

Sub-category display capabilites of articles anywhere

R. Seay's Avatar R. Seay
Novice question. I have a category with multiple sub-categories. I want display a selected number of words from the first element in each of the sub-categories as a teaser. Each teaser has a readmore link to a display of all the elements in each category. I also want to be able to style the output and/or limit the number of characters listed on the blog page. Also with a readmore to read full article. Can this be done with articles anywhere?
Peter van Westen's Avatar Peter van Westen ADMIN
Yes, you can probably do that with Articles Anywhere.
number of words from the first element
What do you mean by first element? The first words of the category description? Or the first words of the first article in that category?


To display all sub-categories of category "Parent", with the title, the first 20 words and a link to that sub-category, you could do something like this with Articles Anywhere Pro:
{articles category="Parent" include-child-categories="true" one-per-category="true"}{if category != "Parent"}
[category]

[category:description words="20"]

[category:link]Read more...[/category:link]
{/if}{/articles}

Also see:
docs4.regularlabs.com/articlesanywhere/data-tags/category-data
docs4.regularlabs.com/articlesanywhere/p...nge-one-per-category
Please post a rating at the Joomla! Extensions Directory
You can only post on this forum if you log in