Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

floorish

About

Username
floorish
Joined
Visits
5
Last Active
Roles
Member

Comments

  • So just for reference, here's what I did. Create a validator for your custom fields. Add the rules and let it validate. Then validate the module with a module->save(), and catch the errors in you own validator: $this->load->library('valida…
  • Ah merci, I missed that option, works like a charm! Ok, I'm gonna try to merge the validation together, see how that works out. Thanks for the answers!
  • And while we're at it.... another question: The Controller adds a 'terms' checkbox field to the form fields retrieved from the Module. Of course, people must check this box to agree to the terms, so I would like to add a 'required' validation rule t…
  • Tried to do something about it, hope it works: https://github.com/daylightstudio/FUEL-CMS/pull/95
  • OK, thanks for the explanation! I'll take a look at it if I have some time left.
  • Your welcome. I think that's the best one too, using it right now and works pretty good.
  • Ah thanks! I tried to make it possible to reference site variables with their names instead of ids. Here's what I came up with: (create fuel/modules/fuel/controllers/sitevariables.php) <?php require_once('module.php'); class Sitevariables exte…