CTL Module Maker - can't edit module

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
jocando
Forum Members
Forum Members
Posts: 50
Joined: Thu Feb 19, 2009 4:20 pm

CTL Module Maker - can't edit module

Post by jocando »

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
brentnl
Power Poster
Power Poster
Posts: 493
Joined: Mon May 11, 2009 4:35 pm

Re: CTL Module Maker - can't edit module

Post by brentnl »

I've got exactly the same problem!

Did you come up with a solution yet?
jocando
Forum Members
Forum Members
Posts: 50
Joined: Thu Feb 19, 2009 4:20 pm

Re: CTL Module Maker - can't edit module

Post by jocando »

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.
brentnl
Power Poster
Power Poster
Posts: 493
Joined: Mon May 11, 2009 4:35 pm

Re: CTL Module Maker - can't edit module

Post by brentnl »

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 ;)
klenkes
Power Poster
Power Poster
Posts: 307
Joined: Mon Sep 08, 2008 9:43 am

Re: CTL Module Maker - can't edit module

Post by klenkes »

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
brentnl
Power Poster
Power Poster
Posts: 493
Joined: Mon May 11, 2009 4:35 pm

Re: CTL Module Maker - can't edit module

Post by brentnl »

But in my upgrade situation the database tables are created as well... so that isn't the issue...
Post Reply

Return to “Modules/Add-Ons”