After debuging whatever $html->css('main') echoed out and trying that,
I seem to have everything working.

 "/proj/cake/cccms/css/main.css" which is the absolute path (localhost/
proj/cake/...) I believe. Leaving this post up on the off chance
anyone else needs help with this.

On Jul 22, 8:57 pm, MrMeikel <[email protected]> wrote:
> Hi, I have posted this in the CakePHP group as I believe my issue with
> cakephp paths.
>
> I'm working on integrating TinyMCE into my cake application.
> Everything seems to be working fine apart from the content_css which
> you define as the relative path to your css file.
>
> The TinyMCE documentation states this is the relative path from the
> file that executes this script - I'm not sure what this refers to due
> to the CakePHP routing/framework. Also I am using themes in my
> application, which further complicates the issue.
>
> My folder structure is as follows:
>
> /app/
> ./views/elements/tinymce.ctp - this element inits TinyMCE and contains
> the content_css definition.
> ./webroot/themed/ccd/css/main.css  - is the css file I am trying to
> link to
>
> The actual page in the address bar is "/admin/pages/edit/static", but
> I do not think this affects what my content_css value is.
>
> So far I have tried many different paths, including "css/main.css",
> "themed/ccd/css/main.css", "/webroot/themed/ccd/css/main.css" and some
> others. Any help with this would be greatly appreciated. The
> integration of TinyMCE in my project is very simple, and I cannot see
> any errors elsewhere at the moment.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to