Closed (fixed)
Project:
GMap Module
Version:
5.x-1.0-alpha1
Component:
User interface
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Jun 2008 at 04:43 UTC
Updated:
19 Jun 2008 at 21:48 UTC
Hi,
I currently have a location form within a add event form, I have already changed some values of the text fields but i now want to remove the field set to make the format look betters...
I have set up a mdule called location_tweak.module and have the following code within it.
<?php function location_tweak_form_alter($form_id, &$form){
// print $form_id . ' '; // this prints form_id's of all forms on every page - development feature
// When an event is being added change the title of the street address field
if($form_id == 'eventgig_node_form') {
$form[locations][0][street]['#title'] = 'Building Number and Street';
$form[locations][0][city]['#title'] = 'Town';
}
}
I now want to remove
<fieldset class="locations"><legend>Location</legend><fieldset
class="location"><legend>Location</legend>could i use this module to remove this?
Also
I have a test account availible so you guys can view the site
user - Test-user
pass - Test1234
the form i am playing with lives at http://www.midmus.co.uk/addevent
Many thanks in advance
Comments
Comment #1
o0_Enigma_0o commentedthanks for the replys guys
test account now blocked!
had to remove gmap.location so this post is now not needed