Topic Closed
1.5K Posts
16 Plugins
design, web development & visual effects

I'm looking for a way to get the following working in my current project (FullCalendar for gpEasy):

The FullCalendar will be a new Section Type containing solely the default content ...

'<div class="fullcalendar" data-config="'
. $fullCalendarDefaultConfig_JSON .

$fullCalendarDefaultConfig_JSON will store the calendar's options which will be applied when the calendar instance in this section is invoked (using FullCalendar jQuery Plugin)

When editing this section I'd like to trigger a modal admin box ($gp.AdminBoxC ?) that sports a codemirror instance to edit the calendar configuration.
I have trouble figuring out how to achieve this in my FullCalendar::InlineEdit_Scripts function.

Furthermore can I use common::LoadComponents('codemirror'); and if so, which Hook should I use?

A faux screenshot of the favored interface:

Thanks in advance!

Edited: 6 years ago#7313

263 Posts
1 Themes
8 Plugins

Hi Juergen

I am not sure to understand your question(s).

What do you mean by triggering an Admin Box in INline Editing ?

Btw, opening a dynamic content (a form for instance) inside an admin box (a gpeasy modal window) is quite easy it is just a question of adding the proper attributes to links and submit buttons.

The include/special/special_search.php file is a good example to get started.

6 years ago#7323

1.5K Posts
16 Plugins
design, web development & visual effects
Thanks for the hint Frédéric!

The whole inline editing stuff is sort of new to me and I'm trying to get the concept of all the AJAX, section.object and bulit-in tools.
Actually, for my current FullCalendar plugin I have abandoned the idea of editing JSON in a codemirror instance. But I got it working and it will likely come in handy sometimes.

FYI: gpEasy'S included codemirror cannot be loaded using common::LoadComponents()but there will be no conflicts since gpEasy only uses codemirror for writing CSS/LESS in the layout editor. Therefore a custom, independent version can be loaded safely from a plugin.
6 years ago#7324

1.5K Posts
16 Plugins
design, web development & visual effects

FullCalendar for gpEasy is ready:

(and Codemirror loaded in a gpAdminBox is back in for Advanced Config ;-)

6 years ago#7326

Topic Closed



elFinder 2.1.50 in Upcoming Release

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In