u need just 'themed/my_theme/' because if u use it with HtmlHelper, it should work correctly :D
-- Lep pozdrav, Tilen Majerle http://majerle.eu 2011/1/26 raymond <[email protected]> > Thanks for your fast reply, Tilen. > But it just print "themed/my_theme/". > If my app is located on http://localhost/myprj > then I want to get a path like "myprj/themed/my_theme/" > > Any suggestion? > Regards, Raymond. > > > $themePath = str_replace(VIEWS, '', App::themePath('my_theme')); > > print $themePath //it will print "themed/my_theme/ > > -- > 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]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php > -- 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
