[FormBuilder] Specify default form template

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
10010110
Translator
Translator
Posts: 224
Joined: Tue Jan 22, 2008 9:57 am

[FormBuilder] Specify default form template

Post by 10010110 »

So, in FormBuilder, if you create a new form, there is a default form template that prepopulates the textarea in the edit screen. I was looking for a way to have an own template as this default since I have a client that creates forms but forgets to set the proper custom form template. It looks like that default template is stored in /modules/FormBuilder/templates/RenderFormDefault.tpl and I tried to replicate that in /assets/module_custom/FormBuilder/templates/RenderFormDefault.tpl but apparently this does nothing since the same old default template is prepopulated when creating a new form. Is there a trick to get this working?
User avatar
magallo
Dev Team Member
Dev Team Member
Posts: 121
Joined: Thu Mar 24, 2011 12:37 am

Re: [FormBuilder] Specify default form template

Post by magallo »

i think your only option is to override the original template. Open the RenderFormDefault.tpl file located in /modules/FormBuilder/templates/ and make the necessary modifications to customize it according to your needs. Remember to do this again if you upgrade the module.
Magal Hezi
Pixel Solutions, Technology Partners
magal@pixelsolutions.biz | pixelsolutions.biz

Image
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1785
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: [FormBuilder] Specify default form template

Post by DIGI3 »

You should be able to use module_custom for this so you don't have to redo it each update.
Not getting the answer you need? CMSMS support options
User avatar
magallo
Dev Team Member
Dev Team Member
Posts: 121
Joined: Thu Mar 24, 2011 12:37 am

Re: [FormBuilder] Specify default form template

Post by magallo »

module_custom doesn’t work here for some reason. I think because it’s loading a hard coded template link
Magal Hezi
Pixel Solutions, Technology Partners
magal@pixelsolutions.biz | pixelsolutions.biz

Image
Post Reply

Return to “Modules/Add-Ons”