scigroup/tinyuplmngr

TinyMCE + Plupload very minimalistic upload manager

v1.1.0 2022-08-09 17:36 UTC

This package is not auto-updated.

Last update: 2024-04-17 07:13:13 UTC


README

Don't install it. The bundle is under development!

Current state

Only Doctrine2 is supported.

Installation

Configuration

After installing the bundle, make sure you add this route to your routing:

# app/config/routing.yml

_sci_group_tinymce_plupload_file_manager:
    resource: '@SciGroupTinymcePluploadFileManagerBundle/Resources/config/routing.xml'
{# Template file with form #}
{% import "SciGroupTinymcePluploadFileManagerBundle::_macro.html.twig" as tpfm_macro %}

{% block head_javascripts %}
    {{ parent() }}
    {{ tpfm_macro.plupload(app.environment, app.session.getId(), eventPage.eventPageIdMappingType, max_uploaded_filesize_mb) }}
{% endblock %}