Frontend javascript
This is an open discussion with 5 replies, filed under General.
Search
What's Symphony.ADMIN
? It's not set in admin.js
.
So, what does this mean CKEDITOR.config.filebrowserBrowseUrl = Symphony.ADMIN + '/extension/ckeditor/filebrowser/'
?
It seems to be set by the extension itself: https://github.com/kanduvisla/symphony-ckeditor/blob/master/assets/symphony.ckeditor.js#L2
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.
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?