GetSimple Support Forum
QUESTION need information from plugin authors - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Developer Discussions (http://get-simple.info/forums/forumdisplay.php?fid=8)
+--- Thread: QUESTION need information from plugin authors (/showthread.php?tid=6608)



need information from plugin authors - shawn_a - 2014-07-31

I need to know any plugins that use

html-editor-init hook
This hook no longer applies in 3.4, but I will try to make it continue to work if possible.

Also what uses front end languages ?
How are they set are you using core functions and global $LANG or your own lang variables ? Where is the lang coming from ? querystring?
And when do you set it, via hook, etc.

The structure of globals and constants is also changing in 3.4, but will retain any functionality I can.


RE: need information from plugin authors - Carlos - 2014-08-01

html-editor-init is used by the I18N plugin (at i18n_navigation.php), don't know about other plugins (and it seems that no other I18N_* plugins do)

AFAIK mvlcek's I18N_* plugins use (own) global $language


RE: need information from plugin authors - Knobbles - 2020-08-06

Hi,

what is the current situation here?

I am writing a plugin for the edit page that currently uses html-editor-init.
The reason is that I need a place on the edit page that is outside the edit form (because it renders its own form), but before the footer.

I would like to have this compatible in the future. On Github I see that there are some more hooks planned for 3.4, but none of them is available now.
So what can I do to stay compatible?
Best would probably be to somehow find out whether html-editor-init is still supported, and if not use a different hook (perhaps edit-body)?
Or should I simply hook on both, because there will always be only one of them being supported?

Thank you very much!


RE: need information from plugin authors - Felix - 2020-08-07

Hi,

Have a look how this is used in i18n_navigation.php it will give you an example on how to use it in GS 3.4


RE: need information from plugin authors - shawn_a - 2020-08-07

what do you need to do ?
For html and code editors you simply have to add a class, its all automatic in 3.4

or are you trying to insert stuff at a hook ?


RE: need information from plugin authors - Knobbles - 2020-08-07

(2020-08-07, 01:49:26)Felix Wrote: Hi,

Have a look how this is used in i18n_navigation.php it will give you an example on how to use it in GS 3.4

Thank you Felix,

I will have a look. I always love to learn from better people and from existing code.


RE: need information from plugin authors - Knobbles - 2020-08-07

(2020-08-07, 02:08:05)shawn_a Wrote: what do you need to do ?
For html and code editors you simply have to add a class, its all automatic in 3.4

or are you trying to insert stuff at a hook ?

Yes, I add stuff there (a kind of modal popup with a form, initially hidden, but activated on demand). That is the reason why edit-extras is the wrong place for it.

Edit:

I solved it the other way now.
Added it in footer hook, later on move it past the edit form with jquery.
Both will still exist unchanged in 3.4.

Thank you very much.


RE: need information from plugin authors - shawn_a - 2020-08-09

edit-content after page edit content html output

3.4 also has a tab interface and the ability to add tabs