Page 1 of 1

changing the status of the articles.

Posted: Mon Mar 29, 2010 5:20 am
by hridayz
jimport('joomla.filter.output');
$k = 0;
for ($i=0, $n=count( $rows ); $i < $n; $i++)
{
$published = JHTML::_('grid.published', $row, $i );
$published;
}
I used this sort of scripts, for displaying the published items, though it displayed the status of the contents but that doesnot work for the changing the status of the from published to unpublished and unpublished to published.
anybody could help me??
thx in advance.

Re: changing the status of the articles.

Posted: Wed Mar 31, 2010 6:01 am
by hridayz
its been sorted out.. i forgot the functions to be published out there ..