egeloen/IvoryCKEditorBundle

Nothing appears

chhoulet opened this issue · 2 comments

Hi guys,

I'm in trouble : i did all the steps to install CKEditor in my website (Symfony3), and nothing appears. No error message, anything.

Here my kernel
public function registerBundles()
{
$bundles = [
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
new Symfony\Bundle\TwigBundle\TwigBundle(),
new Symfony\Bundle\MonologBundle\MonologBundle(),
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
new PUGX\MultiUserBundle\PUGXMultiUserBundle(),
new FOS\UserBundle\FOSUserBundle(),
new UserBundle\UserBundle(),
new Ivory\CKEditorBundle\IvoryCKEditorBundle(),
new Snc\RedisBundle\SncRedisBundle(),
new Nelmio\SecurityBundle\NelmioSecurityBundle(),
new Knp\Bundle\SnappyBundle\KnpSnappyBundle(),
new BackOfficeBundle\BackOfficeBundle(),
new FrontOfficeBundle\FrontOfficeBundle(),
];
Here's my formType:

  $builder->add('main', CKEditorType::class, array('label'=>'Texte'))

All the assets are fully install in the web file and in the wendor. i didn't added anything to my twig file:

  <div class="col-lg-12">
    		
			{{ form_start(form)}}
			{{ form_row(form.title)}}
			{{ form_row(form.subject)}}
			{{ form_row(form.main)}}				
			<div style="text-align:center;margin-top:25px;">
				{{ form_row(form.dateCreated)}}
			</div>
			<div style="text-align:center;margin-top:25px;">
				{{ form_row(form.dateDeleted)}}
			</div>
			<div class="col-md-6" style="text-align:center;margin-top:25px;margin-bottom:25px;">
				{{ form_row(form.submit)}}
			</div>
			<div class="col-md-6" style="text-align:center;margin-top:25px;margin-bottom:25px;">
				{{ form_row(form.saveAndAdd)}}
			</div>
			{{ form_end(form)}}

		</div>

Please, what's wrong ? Thanks

If you're using the latest version of the bundle you also need to install CKEditor mannually since it has been removed from the package as there was a license mismatch. See http://symfony.com/doc/master/bundles/IvoryCKEditorBundle/usage/ckeditor.html for more details.