The reason is that Joomla components ARE applications. They run in a
subsection of a Joomla website. Joomla is moving toward being a rapid
web application framework, but it doesn't have all the web development
shortcuts that Cake does. So, Cake can help you write a better Joomla
component.
Ano
I'll let you all know here once I've got my own component working with
Cake inside, and I'll take the time to generalize from that to make a
tutorial or example component.
Right now I'm worried that I don't understand what Cake does internally
with the $_GET['url'] and $_SERVER['PHP_SELF'] varia
I got it. Here's the code that works.
function cakeMain(){
global $mainframe;
$mainframe->addCustomHeadTag("");
$_GET['url'] = ltrim($_GET['cakeTask'], '/');
$_SERVER['PHP_SELF'] =
"index2.php?option=com_ps_core&task=cake&
I'm wrapping Cake in a Joomla component in order to take advantage of
Cake's scaffolding. In my Joomla component, the following code:
$_GET['url'] = $_GET['cakeTask'];
$_SERVER['PHP_SELF'] =
"components/com_ps_core/index.php?option=com_ps_core&task=cake&cakeTask=/app/webroot/index.php";
chdir(