egeloen / IvoryCKEditorBundle

Provides a CKEditor integration for your Symfony project.
MIT License
336 stars 113 forks source link

Nothing appears #320

Open chhoulet opened 7 years ago

chhoulet commented 7 years ago

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

egeloen commented 7 years ago

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.

chhoulet commented 7 years ago

Thanks a lot, but I didn't succeed to install manually. Cheers

  De : Eric GELOEN <notifications@github.com>

À : egeloen/IvoryCKEditorBundle IvoryCKEditorBundle@noreply.github.com Cc : Houlet Christophe chhoulet@yahoo.fr; Author author@noreply.github.com Envoyé le : Lundi 9 octobre 2017 12h21 Objet : Re: [egeloen/IvoryCKEditorBundle] Nothing appears (#320)

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.— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.