Skip to content

Nothing appears #320

Open
Open
@chhoulet

Description

@chhoulet

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions