Page 1 of 1

[solved] CTLModuleMaker - image/file upload fields not working

Posted: Fri Dec 24, 2010 7:31 pm
by rhiaro
Firstly, CTLModuleMaker is a godsend - thanks Pierre-Luc!

One problem though: during the module creation process, I add a new field of fieldtype either file or image (and fill out all of the additional options that come with those).  But then once the module is installed, and it comes to adding records through the admin panel, the fields which should be file or image are just text fields.

Edit: Checking the blueprint file confirms that the 'type' and associated 'params' are correct for image.. So the problem is with displaying the right input type in the admin end?

CMSMS 1.9.2
CTLMM 2.0

Has anyone else had this problem?

Can anyone point me in the direction of which files to tweak?  

Thanks

Re: CTLModuleMaker - image/file upload fields not working

Posted: Sat Dec 25, 2010 5:52 am
by Dr.CSS
Does it have templates that you can edit, does it show anything like an image path in text?...

Re: CTLModuleMaker - image/file upload fields not working

Posted: Sat Dec 25, 2010 4:21 pm
by klenkes
You need the module plFileHandler too. It gives you the upload and select-image functionality. If it is not installed file and image fields are shown as pure text inputs.

It's stated in the help somewhere but I have to admit it's not very obvious.

--
Bernd

Re: CTLModuleMaker - image/file upload fields not working

Posted: Sat Dec 25, 2010 8:09 pm
by rhiaro
Sorted, thanks!

Re: [solved] CTLModuleMaker - image/file upload fields not working

Posted: Sat Dec 25, 2010 10:12 pm
by Dr.CSS
Thanks for adding [solved]...