Search
Edit contact form Wiki Link: [discussion:287584]
Topics: Community, General, Troubleshooting
Jan 27 at 7:31 AM

Hi all,

I've installed the contact form package and configured it. It's working perfectly, but I'd like to modify the automatically generated text that can be seen during the page preview. The only place I could find it was in the ~/App_GlobalResources/Composite/Forms/ContactForm.resx file.

Is there are way to modify this using the web interface?

Regards.

Coordinator
Jan 27 at 8:44 AM

Unfortunately, for now  there is no .RESX files editor inside C1 console. These files can be edited just as simple XML files at the System perspective -> locate file -> Edit file. But this way is inconvenient as it is hard to locate corresponding  string key-value, so if you have some resource file editor locally, for example Microsoft Visual Studio, edit it there and then upload to the site.

Jan 27 at 8:58 AM

Okay, I'll use Visual Studio to edit those files.

Thank you for your help.

Coordinator
Jan 27 at 9:05 AM

I added feature request - http://compositec1.codeplex.com/workitem/992 , you can vote on it ;)

Coordinator
Jan 27 at 9:57 AM

You also can modify contact form template by editing XSLT function: Functions -> Xslt Fucntions -> locate function Composite.Forms.ContactForm -> Edit its template. If you don't want to use texts from resource files , then just replace sections like this:

<lang:string key="Resource, Resources.ContactForm.ResponseText" />

to your hard-coded text.

Jan 28 at 8:17 AM

Hi Inna,

Thank you for the tip. This works as well, although you have to write out the entire message.  Still, it works!

Updating...
© 2006-2012 Microsoft | Get Help | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2012.2.15.18416