How can I get content module subcategory
-
linkmasr
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 1
-
Thank you received: 0
-
-
8 years 10 months ago #4639
by linkmasr
I'm newbia jBackend
How can I get content module subcategory ?
and articles by subcategory ?
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
8 years 10 months ago #4641
by admin
Hi,
documentation for content module is available here:
www.selfget.com/documentation/jbackend-joomla30/content-module-api.html
For the list of categories you have the following additional parameters:
rootid=<R> (optional)
recursive=<true or 1> (optional)
countitems=<true or 1> (optional)
If rootid is specified, starts to get subcategories from the specified category id instead of the root category. If recursive is true or 1, get categories and all subcategories, otherwise get only one level (default). If countitems is true or 1, return the number of articles of each category, otherwise do not return this information (default). Category id can be "root" for root node.
For the list of articles you have the following additional parameters:
catid=<C> (optional)
maxsubs=<S> (optional)
featured=<F> (optional)
limit=<L> (optional)
offset=<O> (optional)
orderby=<field> (optional)
orderdir=<dir> (optional)
Max subs:
Number of subcategories to include (default 0=none)
Kind regards
Please Log in or Create an account to join the conversation.
Time to create page: 0.119 seconds