Page 1 of 1

Fallbacks for invalid module parameters

Posted: Fri May 16, 2014 6:44 am
by gocreative
I'm not sure if this is the correct place to post, so please move if required.

One of my biggest gripes with CMSMS is that if an invalid parameter is passed to a module, the whole site usually "breaks". For example, if I'm calling a module and I specify a page alias for a detail view, the site will "break" at that point of that module call.

I think it would be a huge improvement on this for the CMS (or module) to skip over any invalid parameters and use the default instead. A further fallback would be to ignore the module call completely if there is no valid default parameter (e.g. all detail templates are missing).

It may be best to make this an admin setting (checkbox) such as "Ignore module calls with invalid parameters". Even better would be a second option, "And send an email to this address: [xxxxxx]".