I am running on Joomla 2.5 and I am trying to figure out how to use Pagination when I am using a MySQL query / loop that I created myself. Can anyone point me in the right direction?
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/uWKF1xGkoswJ.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/pURoFEsB-HcJ.
To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
Urgent !!
joomla how to use pagination on this request ???!!function searchExpiredPublishedDeal($keyword=null, $categoryId=null, $locationId=null, $sortBy=null)
{
$db = JFactory::getDBO();
// generate the query
$query = " SELECT
d.*
FROM
#__enmasse_deal d
WHERE
d.status NOT LIKE 'Pending' AND
d.published = '1' AND
d.end_at <= '".DatetimeWrapper::getDatetimeOfNow()."' ";
}
I want to create a pagination with joomla on this request
--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
--Visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
For more options, visit https://groups.google.com/groups/opt_out.
----------------------------------------------------------------------------WERFELLI Jamel
Développeur webE-mail: werfell...@gmail.com
I am at the moment trying to use same pagination in Joomla 3. But I am unable to use setState method it gives error like this " Catchable fatal error: Argument 1 passed to JModelBase::setState() must be an instance of JRegistry, string given, called in ..."
Can you please help in this regard?
Thanks,
Regards