Jump to content

Sascha Nos

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

2 Neutral

About Sascha Nos

  • Rank
    Newbie

Profile Information

  • Gender
    Female

Recent Profile Visitors

163 profile views
  1. For me, it looks like, adding to property repeaterFields does not work correctly. Changed it to the following: $repeaterFieldIds = []; foreach($fieldsArray as $field) { $repeaterFieldIds[] = $this->fields->get($field)->id; } $f->repeaterFields = $repeaterFieldIds; $f->save();
  2. For me, it looks like, adding to property repeaterFields does not work correctly. Changed it to the following: $repeaterFieldIds = []; foreach($fieldsArray as $field) { $repeaterFieldIds[] = $this->fields->get($field)->id; } $f->repeaterFields = $repeaterFieldIds; $f->save();
  3. There's one addition which maybe makes your live a bit easier – if name of admin area is not "admin": $pageAdmin = $this->pages->get('title=Admin'); $repeaterPage->parent_id = $this->pages->get('path=/'.$pageAdmin->name.'/repeaters/');
×
×
  • Create New...