Search the Community
Showing results for tags 'flags'.
-
How does one set a new field's global flag in a module? i.e. // create new field object $f = new Field(); // get a field type $f->type = $this->modules->get("FieldtypeCheckbox"); $f->name = $this->fieldName; $f->label = 'Publish Page later'; // somehow set flag to global??? $f->save(); // save the field
-
Is there a certain reason, why there is no way to add a module reference field through the usual field creation process in backend? It doesen't appear in the list. I'm aware of the fact that it mostly stores process modules for backend. Nevertheless there are some cases when a module reference field is a nice thing to have in frontend pages. Lately I tried to create a Fieldtype extending FieldtypeModule, but the extension failed because of the order the modules are loaded depending on their status flags. So there is no way to make the module reference field accessable for field setup but by changing status flags manually or creating a copy of the fieldtype with a different status flag?