In hook_install() of your module define the appropriate array (name, label, pattern, module, hidden) and add it to default date settings with: system_date_format_save($date_format)
Then add hook_uninstall() to remove the formats when the module is uninstalled.
Hi ian,
so, in your case all the other admin pages work fine, including the status page, only admin/reports/updates fails?
But you can access admin/reports? Weird...
I...
The File (Field) Paths module should be able to move existing files. I've not tested it, but the module description says:
Retroactive updates - rename and/or move...
Posted6 days 6 hours ago by Olaf Grabienski (Olafski) on:
Yes indeed. We are exploring a few other more costly options, but as we are a low-resource start-up, we could save a lot of money by integrating Backdrop, CiviCRM and Ubercart for our membership...
Hello Chrys..,
It looks like it was for Drupal 6, with a Dev release for D7...
Never seen it before, but it looks like an interesting module... Do you have an immediate need...
Comments
Never mind, I figured it out.
In hook_install() of your module define the appropriate array (name, label, pattern, module, hidden) and add it to default date settings with: system_date_format_save($date_format)
Then add hook_uninstall() to remove the formats when the module is uninstalled.
I guess, my question is answered. ;)