Opening Composer programmatically: is there a more elegant solution?
Permalink
I've been putting together an "Add News" button to appear on the Dashboard. The first part creates a new news page and grabs the ID (as $cID). Then I want to invoke Composer to edit this page; at the moment all I can think of to do this is;
But I can't help feeling there's a more elegant and concrete5-esque way of doing it?
$whereto=BASE_URL.DIR_REL ."/index.php/dashboard/composer/write/-/edit/".$cID; header('Location:' . $whereto);
But I can't help feeling there's a more elegant and concrete5-esque way of doing it?