-
AuthorPosts
-
skwtayler Friend
skwtayler
- Join date:
- July 2008
- Posts:
- 41
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 7
- Thanked:
- 3 times in 1 posts
May 1, 2010 at 7:35 pm #150792Hi there,
Could you tell me how to disable the “username” field in the quick contact module?
Thanks
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
May 1, 2010 at 7:50 pm #342295Quick Contact? Can you provide a live URL?
Thanks,
John.skwtayler Friendskwtayler
- Join date:
- July 2008
- Posts:
- 41
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 7
- Thanked:
- 3 times in 1 posts
May 1, 2010 at 10:01 pm #342302Hi John,
My site is being built on a localhost. I used the quickstart package. You can see the extra field in the attached image. In the module the field parameter is “Sender name description”.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 6, 2010 at 9:40 am #342808Dear skwtayler!
Here is the soluton to resolve this issue:
1) open the file: modulesmod_jaquickcontactmod_jaquickcontact.php and remove the following codes:
at line 54:
[PHP] Name: $name <br/>[/PHP]2) Open the file: templatesja_noritehtmlmod_jaquickcontactdefault.php and remove the following codes: at line 10_> 1 3
[PHP]
<div class=”row_ct”>
<input id=”contact_name” type=”text” name=”name” class=”inputbox” value=”<?php if ($name!=”)echo $name; else echo $senderlabel; ?>” maxlength=”60″ size=”60″ onblur=”if(this.value==”)this.value='<?php $senderlabel?>’;” onfocus=”if(this.value=='<?php echo $senderlabel?>’)this.value=”;” />
<div id=”error_name” class=”class_suffix”><?php if(isset($error[‘name’]))echo $error[‘name’] ?></div>
</div>
[/PHP]Good luck
1 user says Thank You to Saguaros for this useful post
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 4 replies, has 3 voices, and was last updated by Saguaros 14 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Disable "Username" in quick contact module
Viewing 4 posts - 1 through 4 (of 4 total)