Joomla - Component: Updating publish stateTag: joomla, cms, Joomla Component Category: PHP Frameworkpost: 06 Nov 2007 read: 4,055 You can change publish state, publish or unpublish. Follow this step to make the toggle live.
|
| | Give Your Opinion | Recommend |
|
2 Responses to Joomla - Component: Updating publish state:
Hi,
Thank you very much for this tutorial, but i have some notices:
in this page http://www.phpeveryday.com/articles/Joomla-Component-Deleting-Data-P49.html
- at the first stape you must add :
case 'publish';
changeHello(1);
break;
case 'unpublish';
changeHello(0);
break;
not
switch($task){
case 'remove':
removeHello();
break;
default:
showHello();
break;
}
Thank you very much for this tutorial, but i have some notices:
in this page http://www.phpeveryday.com/articles/Joomla-Component-Deleting-Data-P49.html
- at the first stape you must add :
case 'publish';
changeHello(1);
break;
case 'unpublish';
changeHello(0);
break;
not
switch($task){
case 'remove':
removeHello();
break;
default:
showHello();
break;
}
By Youssef Mounaji on May 6, 2008
Me again, i think that you put the right "code" but the Javascripts codes that show the bloc of "code" hide the right "code", if you try to escape page before total loading you will get the right "code"
By Youssef Mounaji on May 6, 2008


