I developed a script which give me the text of a Joomla article from its ID, something like this:
$article =& JTable::getInstance("content");
$article->load($address = JRequest::getVar('articleID'));
echo $article->get("introtext");
echo $article->get("fulltext");
Now I need a similar script to get ALL (active) article IDs of the current site (maybe ordered from the last to the first like on the joomla homepage).
I gave a look around but couldn’t find anything.
Thanks in advance
You could use the following:
If you want to get all the ID’s of articles from a specific category, you could use the following:
Obviously you change
59to whatever suits your needsNote that this method of a database query is for Joomla 1.5
Hope this helps