Hello
I'm trying to add a couple of fields to a module I made with CTL Module Maker (see post http://forum.cmsmadesimple.org/index.ph ... 553.0.html)
I've followed the instructions, it seems to add the fields OK but something's not right. If I add data to the new field, it doesn't save. If I go back in to look again, the field has gone blank.
In fact, if I try to add data to *any* field (not just the new ones) it doesn't save the change - it reverts back to the old data.
Any idea why this might be? I've had a look at the php files and can't see anything obvious.
Many thanks
Jo
CTL Module Maker - can't edit module
Re: CTL Module Maker - can't edit module
I've got exactly the same problem!
Did you come up with a solution yet?
Did you come up with a solution yet?
Re: CTL Module Maker - can't edit module
No, sorry. I had to give up.
I'm kind of glad to know it isn't just me, though. Let me know if you get anywhere and sorry I can't be of any help.
I'm kind of glad to know it isn't just me, though. Let me know if you get anywhere and sorry I can't be of any help.
Re: CTL Module Maker - can't edit module
It's oke.. I've reduced the problem to one file; named action.editb.php ... I had a backup of the old version of my module, and with the old version of action.editb.php the new module just worked fine with editing and adding entries.
Ofcourse the only bad thing is that this old file doesn't contain the new input fields... I've posted this problem also on the dutch cmsms forum, so if I got a reply overthere I'll let you know
Ofcourse the only bad thing is that this old file doesn't contain the new input fields... I've posted this problem also on the dutch cmsms forum, so if I got a reply overthere I'll let you know

Re: CTL Module Maker - can't edit module
I think the new CTLMM 2.0x still has no upgrade functionality. At least I can't find the function.
So if you edit your module and add new fields they are not created in the database table.
At this point you have to add them yourself.
--
Bernd
So if you edit your module and add new fields they are not created in the database table.
At this point you have to add them yourself.
--
Bernd
Re: CTL Module Maker - can't edit module
But in my upgrade situation the database tables are created as well... so that isn't the issue...