Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nothing appears #320

Open
chhoulet opened this issue Oct 3, 2017 · 2 comments
Open

Nothing appears #320

chhoulet opened this issue Oct 3, 2017 · 2 comments

Comments

@chhoulet
Copy link

chhoulet commented Oct 3, 2017

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
Copy link
Owner

egeloen commented Oct 9, 2017

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
Copy link
Author

chhoulet commented Oct 9, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants