Topic Closed
Stano
483 Posts
16.6K Downloads
1 Themes
1 Plugins

Is it possible to modify current 'SectionsToContent' filter, so that it can pass also the section number? That is

$section_data = gpPlugin::Filter('SectionToContent',array($section_data,$section_num));

Id'like to replace default content with an alternative one, but have no reference for it.

This just needs a small change in SectionsToContent() and SectionToContent() functions in common.php file and also in function GenerateContent_Admin() in editing_page.php.

10 years ago#3258

Stano
483 Posts
16.6K Downloads
1 Themes
1 Plugins

This is the multilanguage plugin, that could use it. Fixed all those errorrrrrs...

Edited: 10 years ago#3260

Josh S.
2K Posts
304K Downloads
16 Themes
18 Plugins

Absolutely. I haven't had a chance to look at the plugin, but the gpEasy code has been updated.

10 years ago#3270

Stano
483 Posts
16.6K Downloads
1 Themes
1 Plugins

thanks

Edited: 10 years ago#3276

site
7 Posts
13.2K Downloads
5 Plugins

Thanks, this will be very helpful for certain plugin development.

10 years ago#3395

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

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

Typesetter 5.1
8/12/2017

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, Ennetb├╝rgen (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Websi...

Find out more about our Provider Spotlight

Log In

  Register