changing the status of the articles.

Your code modifications and patches you want to share with others.
Locked
hridayz
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Thu Mar 25, 2010 9:12 am
Location: Kathmandu
Contact:

changing the status of the articles.

Post by hridayz » Mon Mar 29, 2010 5:20 am

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.
Hridayz'

 
hridayz
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Thu Mar 25, 2010 9:12 am
Location: Kathmandu
Contact:

Re: changing the status of the articles.

Post by hridayz » Wed Mar 31, 2010 6:01 am

its been sorted out.. i forgot the functions to be published out there ..
Hridayz'

 

Locked

Return to “Core Hacks and Patches”