General Community > Scripting Help

JS for Editor / QuickResponse

(1/4) > >>

jastend:
Hi,

I'm new to the SMF Community and currently working on my first web project which makes use of SMF. So far I've been able to integrate most of the parts but there are still some Tweaks that I have to make.

I think my theme is currently not loading all needed JS files. This causes the editor to not show any BBCode buttons and the oQuickResponse.swap to not open up.

Currently the theme is loading the following JS:


* script.js?fin20
* theme.js
* jquery.js?ver=1.7.1I'm pretty sure that I've configured everything correctly and I hope you guys can help.
Thank you in advance!

Arantor:
The editor is only loaded on posting pages but instead should be loading editor.js. This should be loaded internally by working with the theme code to inject editor.js into the editor page (any place that correctly loads the BBC editor will call the proper generation etc. which will handle adding editor.js)

jquery.js is not required by SMF by default.

jastend:
Ok, my bad. The jQuery is not part of the forum, it is part of the layers that SMF is integrated into.

The editor is now working fine, thanks Arantor. Unfortunately, the QuickResponse is still not working.

Arantor:
QuickResponse is not any standard part of SMF. Either you're looking at something else or it's some other custom code.

Error in the browser?

jastend:
I'm sorry, I ment QuickReply - as what you can find under this thread.

Navigation

[0] Message Index

[#] Next page

Go to full version