Fallbacks for invalid module parameters

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
gocreative
Power Poster
Power Poster
Posts: 265
Joined: Mon Mar 14, 2011 1:16 am

Fallbacks for invalid module parameters

Post 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]".
Post Reply

Return to “The Lounge”