Hi,
Hopefully a simple problem. I have a main CP through which clients edit there own website. Their websites all have a css file called basic.css which only covers font and headings etc so they can see what their editing in the style of their website. I'm importing this on the start up of CKEditor as follows:
contentsCss:'http://<?php echo $this->session->userdata('url'); ?>/css/basic.css',
(I'm using codeigniter an their domain is stored as session data)
But when trying this is aborts calling the css file, well at least that's what firebug is telling me, and the style default to times new roman etc.
Any ideas?
Thanks!
Re: contentsCss to css on a different domain?
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Re: contentsCss to css on a different domain?
Thanks for your reply. I've only just go it and it's CKEditor 3.6.2. If it helps the codeigniter session is printing out exactly the right address so I wasn't sure if you were supposed to be able to do this or not?
Thanks
Re: contentsCss to css on a different domain?
My bad. The URL had changed and I didn't realise. Works fine now. Sorry!