synyx GmbH & Co. KG Homepage Welcome Guest   | Login
  Search  
  Index  | Recent Threads  | Who's Online  | User List  | Register  | Search  | Help  | RSS feeds


Quick Go »
Thread Status: Normal
Total posts in this thread: 4
[Add To My Favorites] [Watch this Thread]
Author
Previous Thread This topic has been viewed 5260 times and has 3 replies Next Thread
Female priti
Stranger



Joined: May 16, 2007
Posts: 2
Status: Offline

Modifying the OpenCms Contact form

Hi,

I've made a copy of the contact form used in the demo (/system/modules/org.opencms.frontend.templateone.form/pages/form.html), and saved it into my own module. I've made some changes to the fields and it's working fine.

Now I'm trying to change the background color of the form elements, but i don't know where it's picking up the html from. It doesn't seem to be using a css because when I view source, this is what I see:

<form name="emailform" action="/opencms/opencms/sites/ESSG/contact.html" method="post" style="margin-top: 14px; margin-bottom: 0; padding: 0;">
<input type="hidden" name="formaction" value="submit">
<table border="0" cellpadding="4" cellspacing="2">

<tr>
<td style="background-color: #EDEDED;"> <font face="Arial">Your Message:</font>*</td>
<td style="background-color: #EDEDED;"><textarea name="InputField[1]" class="onlineform"></textarea></td>
</tr>

........

It's the <td style="background-color: #EDEDED;> that I'm trying to change. I've tried setting .td in my own css file, but the above code takes precedence. I've gone through the xsd files, confirmation and check jsps, and still can't find where this is specified.

Has anyone tried doing this, and could I get some help with it?

Thanks,
Priti
[May 16, 2007 2:14:11 PM] Show Printable Version of Post     [Link] Report threatening or abusive post: please login first  Go to top 
Female priti
Stranger



Joined: May 16, 2007
Posts: 2
Status: Offline

Re: Modifying the OpenCms Contact form

After posting this thread, I kept looking and found the sytling in :
/system/modules/org.opencms.frontend.templateone.form/classes/org/opencms/frontend/templateone/form/workplace.properties

Thanks,
Priti
[May 16, 2007 2:36:49 PM] Show Printable Version of Post     [Link] Report threatening or abusive post: please login first  Go to top 
Male caiolufer
Stranger



Joined: Nov 24, 2008
Posts: 5
Status: Offline

Re: Modifying the OpenCms Contact form

I need help about this.

My case it"s like yours, but I not found the stylling.

This page www3.cefetmg.br/site/faleConosco/fale_conosco_pos_graduacao.html


The opencms make automaticaly this gray table and I need put inputs of table.

Some help?!?!

Bye!
[Nov 25, 2008 2:46:22 PM] Show Printable Version of Post     [Link] Report threatening or abusive post: please login first  Go to top 
Male king
Newbie



Joined: Mar 7, 2012
Posts: 40
Status: Offline

Re: Modifying the OpenCms Contact form

Lastly, We have set up the actual opencmsvfs within over shadow.
These days We have observed the issue, We have published an incorrect route within the wordpress plugin settings in order to WEB-INF document.
Remorseful whatsoever with regard to the beginner error.
Football Shirts
Manchester United Shirt
England Football Shirt Beats By Dre
Deats By Dr Dre
Beats Headphones
Dr Dre Beats
Dre Beats
----------------------------------------
Soccer Jerseys
Netherlands Football Shirt
[Mar 7, 2012 11:00:28 AM] Show Printable Version of Post        Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
[Show Printable Version of Thread]