Skip to content

Releases: TypeRocket/core

v3.0.52

24 Jan 14:17
19e6dc2
Compare
Choose a tag to compare
  • Fix custom routes bug

v3.0.51

18 Dec 03:13
c909457
Compare
Choose a tag to compare
  • Change Request property routerArgs to an array instead of null.

v3.0.50

08 Dec 02:36
Compare
Choose a tag to compare

v3.0.48

07 Dec 22:29
Compare
Choose a tag to compare
  • Make it possible to have custom fields in widgets.
class Tr_Widget extends \TypeRocket\Register\BaseWidget {

    /**
     * Sets up the widgets name etc
     */
    public function __construct() {
        parent::__construct( 'tr_widget', 'Tr Widget', [
            'classname' => 'Tr_Widget',
            'description' => 'Tr Widget is awesome'
        ] );
    }

    public function backend($fields)
    {
        echo $this->form->text('Title');
        echo $this->form->date('Date');
    }

    public function frontend($args, $fields)
    {
        // make frontend code
    }

    public function save($new_fields, $old_fields)
    {
        return $new_fields;
    }
}

v3.0.47

10 Nov 22:31
Compare
Choose a tag to compare
  • Add clear setting for image, file, and items fields to control clear button label

v3.0.46

02 Nov 01:55
Compare
Choose a tag to compare
  • Add MacroTrait and hooks tr_after_table_element_init, tr_after_field_element_init, and tr_after_form_element_init

v3.0.45

31 Oct 20:15
Compare
Choose a tag to compare
  • Make registry class more accessible through public method over private.

v3.0.44

02 Oct 23:44
Compare
Choose a tag to compare
  • Fix auto Form config on custom fields

v3.0.43

22 Sep 13:44
Compare
Choose a tag to compare
  • Add more HTML form helpers

v3.0.42

22 Sep 01:57
Compare
Choose a tag to compare
  • Better file names for migrations