I need to develop some joomla component, I haven't time to learn
joomla's MVC approch so I would use cakephp to develop this component.
I've seen around there is a lot of way to do this. One of best way is
to use cake itself as component as suggested here:
http://www.gigapromoters.com/blog/2007/02/13/finally-a-practical-solution-joomla-with-cakephp-together-jake/

So I’ve downloaded Joomla 1.6.1 and cake 1.3.7.
I’ve installed and configured Joomla. Working.
Then extracted cakephp zip, renamed it as com_cake and putted it under
joomla’s components directory.

Then I renamed index.php as cakephp.php, added to com_cake the file
cake.php and cake.html.php, configured cake’s database config file as
explained in the link above.

When I try to reach: http://localhost/joomla/index.php?option=com_cake
I have:

Parse error: syntax error, unexpected T_VARIABLE in C:\wamp\www\joomla
\components\com_cake\cake.php on line 13

and line 13 is:
$joomla_path=dirname(dirname(dirname(__FILE__)));

Anybody has try a solution like this?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to