Reputation: 2065
Can somebody hint the follow: I have to insert in my custom module oа Joomla (HTML essentially) the service info, which is shown by Joomla usually - I need the date of creation and the number of how this article was viewed?
Upvotes: 0
Views: 440
Reputation: 3696
You can run a very simple query to get this:
SELECT `created`, `hits` FROM #__content WHERE `id` = <your article id>
created
is the creation date, hits
is it number of times the article has been viewed.
Upvotes: 2