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] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to