Jump to content

update form \IPS\cms\modules\front\database\_record::edit

Featured Replies

Posted

The code here could be improved call buildEditForm instead of:

$form = new \IPS\Helpers\Form( 'form', isset( \IPS\Member::loggedIn()->language()->words[ $recordClass::$formLangPrefix . '_save' ] ) ? $recordClass::$formLangPrefix . '_save' : 'save' );
$form->class = 'ipsForm_vertical';

foreach( $formElements as $name => $field )
{
	$form->add( $field );
}

matt3.thumb.png.06de1ea13eb2466a5c2a8a11659f3a81.png

this permise developers to add for example new tab

tab.png.b3b2aff5aaea9bc292b99051e4e5f9f7.png

@Matt some details into mp (remove $collection)

  • 4 weeks later...
  • Author

is this solved for 4.2 @bfarber

thanks ?

This has not changed for 4.2 at this time

  • 2 months later...
  • Author

You fix it for 4.3? @bfarber

Right now we are focused on 4.2 for the most part :) I can't say whether this will change in 4.3 yet or not.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.