Search

I will use CKeditor in frontend and this editor will use Symphony.ADMIN variable. How can I access Symphony javascript object in frontend? Should I include admin.js in frontend?

What's Symphony.ADMIN? It's not set in admin.js.

So, what does this mean CKEDITOR.config.filebrowserBrowseUrl = Symphony.ADMIN + '/extension/ckeditor/filebrowser/'?

Hm, sorry. But my question is still relevant. How to access Symphony object in frontend? By default, when I included symphony.ckeditor.js to my page I see error message Symphony is not defined

You have complete control about how your frontend markup is generated, that's the strength of Symphony. If you need the Symphony object you'll have to import admin.js yourself.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details