Hi Sonali, you really should read documentation on the workflow module if you want to use it, rather then hacking together code. http://documentation.magnolia-cms.com/workflow.html
Either you can modify workflow definition to activate pages directly without approval or you can disable workflow all together as suggested by Richard. Both solutions are documented from the page linked above. HTH, Jan -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=3c519731-aa88-43b6-9e16-1982a47b664f ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
