I really like this theme and I would like to reproduce the demo site but the cintact form at the footer actions section looks different. I change some css but I couldn't find the right code. here is the screenshoot of my site

CommentFileSizeAuthor
#1 issue.png38.5 KBericking
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ericking’s picture

FileSize
38.5 KB
the_g_bomb’s picture

In the instructions, I hint at what is needed to get the desired effect.

@TODO Check form id of contact form and update template.php file line 178
function boldy_contact_mail_page_1($form) {
change page number if required
I have had a couple of different id's in the couple of times I have run the instructions so I want to double check if it changes everytime or just can be relied upon to be the same each time a fresh install happens.

What this essentially means is that when the code is output on the screen, like in your screenshot. Open up firebug or examine the source code and look for the form id.

What you are looking for is a line that looks like:
<input id="edit-contact-mail-page-1" type="hidden" value="contact_mail_page_1" name="form_id">

Your id may be something slightly different in which case you may need to change the function name in the template.php file.

For example if your id is edit-contact-mail-page, look at the value="contact_mail_page" you need to change the function name to be
function boldy_contact_mail_page($form) {

The formula for changing would be:
drop the word edit
replace dashes with underscores
from the id=

or take the value of that input

I think this all stems from the way the contact block module outputs the contact form. You may also find that the for id changes if you enable a contact page as I think it will take the "edit-contact-mail-page" id and force the block up one to edit-contact-mail-page-1.

But it is all speculation as to why it happens, hopefully you can find a solution with the pointers I have provided and we can just hope that Drupal 7 is better. :-)

ericking’s picture

Thanks for the reply. I already read the documentation but english is not my first language :(
I tried to do what you mentioned but I failed, I found the id on the template.php and I changed it but not success

the_g_bomb’s picture

Once you have changed the template.php file you will also need to flush the caches to see the changes take effect.

the_g_bomb’s picture

Status: Active » Closed (cannot reproduce)

Closing this issue as 8 weeks is a long time with no response. Please reopen it if you are still having a problem.