Skip to content

Unable to find template "FMElfinderBundle:Form:elfinder_widget.html.twig" #306

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

Closed
bhtomming opened this issue Mar 19, 2018 · 5 comments
Closed

Comments

@bhtomming
Copy link

Issue Type:

Please pick one and delete the rest:

  • Bug Report
  • Feature Idea
  • Documentation Report
Bundle Version:

Master or exact version, i.e. 6.0.1

Summary:

Please explain the problem briefly.

Steps To Reproduce:

For bugs, please show exactly how to reproduce the problem. For new
features, show how the feature would be used.

You can also paste gist.github.com links for larger files.

Please don't paste configuration screenshots, instead use gist/pastebin/etc
or directly paste configuration into issue behind github flavored markdown tags for code

Expected Results:

What did you expect to happen when running the steps above?

Actual Results:

What actually happened?

(Paste verbatim command output here)
@helios-ag
Copy link
Owner

Hi @bhtomming, can you upgrade to 7.x?
7.0.1 Has corrected paths for twig templates.

@NodokaMurmevent
Copy link
Contributor

NodokaMurmevent commented May 25, 2018

hello i have the same problem :
i have PHP 7.2.5
Sf 4.0

conf files :

fm_elfinder:    
    instances:
        default:
            editor: tinymce4
            locale: "%locale%"
            include_assets: true
            relative_path: true
            connector:
                roots:
                    uploads:
                        driver: LocalFileSystem
                        path: uploads
                        upload_allow: ['image/png', 'image/jpg', 'image/jpeg']
                        upload_deny: ['all']
                        upload_max_size: 32M 
stfalcon_tinymce:
    include_jquery: false
    tinymce_jquery: true
    selector: ".tinymce"
    language: "%locale%"
    theme:
        simple:
            theme: "modern"
            file_browser_callback : elFinderBrowser

my template twig

{% block external_javascripts %}
    {{ elfinder_tinymce_init4('default') }}
    {{ tinymce_init() }}
{% endblock %}

composer.json

    "require": {
        "php": "^7.1.3",
        "helios-ag/fm-elfinder-bundle": "^8.0",

        "stfalcon/tinymce-bundle": "^2.3"
  
    "config": {
        "preferred-install": {
            "*": "dist"
        },
        "sort-packages": true,
        "component-dir": "web/assets"
    },

@NodokaMurmevent
Copy link
Contributor

ho sorry my error for me it's not
FMElfinderBundle:Form:elfinder_widget.html.twig
but :
Unable to find template "FMElfinderBundle:Elfinder/helper:_tinymce4.html.twig" (looked into: /var/www/html/my-symf/templates, /var/www/html/my-symf/templates, /var/www/html/my-symf/vendor/symfony/twig-bridge/Resources/views/Form).

maybe the same problem ?

@NodokaMurmevent
Copy link
Contributor

i pull request a patch @bhtomming look this for correct the problem if you can't wait the validation by the maintainers

@helios-ag
Copy link
Owner

Was tagged as 8.0.3

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

3 participants