Hi All,
So I am working on creating my very first module :-D (wish me luck)! While setting up the install/uninstall/update functions, I was poking around the db trying to figure some stuff out and I noticed in the Modules table there is a field called ‘setting’. Now, I also noticed that none of the other modules I have use this field, but I was thinking:
Hey, that’s cool. I need to a place to store some very simple setting for my module, so this makes it a whole lot easier!
I then went along, created a ‘Settings’ form, collect the very basic information (2 fields), serializing these fields to one location, and then updating the Modules table with these settings. This final step is where the issue comes in. I update the table, then go to the db to make sure that the update took, and wouldn’t you know it the field was still null.
Am I missing something here? I’ve been trying to find away to use this field, but it doesn’t look like there’s many people asking this question. Do I not use this field for some reason? Should I create a new table just to hold 1 record?
Thanks for your help in advance.
~ Lucas
[Mod Edit: Moved to the Dev & Programming forum]
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.