Skip to content
Antonio Gallo edited this page Feb 11, 2016 · 15 revisions

This is the fork of sintattica's atk v8.

The branch "master" contains the atk v8 from https://github.com/Sintattica/atk with my patches applied. This is where i pull in Sintaticca's changes.

The branch "agx-7" contains the atk v7 from https://github.com/atkphpframework/atk with my patches applied from my owk atk repo. I don't uset it in production and never did.

My old stable pre-v7 repo is at https://github.com/badpenguin/ATK its used a lot in production.

Migration from v6/v7

Config

I suggest you to add:

  $config_recordlist_onclick = true;
  $config_lose_changes_warning = true;

FieldSet

The fieldset has been changed, in v7 you wrote:

$this->addFieldSet('task_status','[task_priority_id.label] [task_priority_id.field]', AF_HIDE_LIST  );

In v8 just use the field into the template without .label or .field:

$this->addFieldSet('task_status','[task_priority_id]', AF_HIDE_LIST  );

To remove the label from the field now you can just add the AF_NO_LABEL flag to the task_priority_id field.

Clone this wiki locally