Closed (works as designed)
Project:
Units API
Version:
6.x-1.0-alpha1
Component:
units.xml
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2010 at 13:18 UTC
Updated:
25 Jan 2010 at 02:55 UTC
I've tried to add new units in units.xml.
I've cleared the cache in order this change show up.
I've seen the new units, but i was unable to save my selection of units in the units configuration page.
I've seen this error message.
warning: unserialize() [function.unserialize]: Node no longer exists in /pathToDrupal/includes/cache.inc on line 33.
How can I solve this problem?
How to add easily new units?
Comments
Comment #1
raspberryman commentedThe best way is to invoke hook_unitsapi(), and add your units via your own module.
Please let me know if this hook isn't working out for you.