Maian Script World on Facebook Maian Script World on Twitter Maian Script World - Latest News Maian Script World on YouTube Maian Script World on LinkedIn


Please Read

You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.

IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.

You are not logged in.

#1 16-02-2009 06:31:49

phinds
Members
Registered: 16-02-2009
Posts: 6

New Fields

I want to make one of the new fields the guests mailing address.  I want the new field to show as a text box instead of a regular field.  make it look more like the comments field. 

Please let me know how to modify the files to make that happen.

Offline

#2 16-02-2009 06:52:19

Martin
Members
From: Netherlands
Registered: 18-08-2007
Posts: 194

Re: New Fields

Why a new field for the e-mail address of the guest while there`s already a default field for it?

That default field can be editted by opening sign.tpl.php (templates-folder) and go to line 29

Find:
<td><br><input class="formbox" type="text" name="email" size="40" value="<?php echo $this->EMAIL_VALUE; ?>"> <?php echo $this->IS_EMAIL_REQUIRED; ?></td>

Replace with:
<td><br><textarea name="email" rows="5" cols="50"><?php echo $this->EMAIL_VALUE; ?></textarea><?php echo $this->IS_EMAIL_REQUIRED; ?></td>

Save and reupload.

That should problably work (correct me when I`m wrong David)

Offline

#3 16-02-2009 07:14:40

phinds
Members
Registered: 16-02-2009
Posts: 6

Re: New Fields

Thanks for the answer., but just to clarify, I wasn't wanting another email address field,  I want a MAILING ADDRESS (you know, old fashion post office mailing address)

If you can help, please do.

Offline

#4 19-02-2009 20:43:39

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,066

Re: New Fields

Sorry, thats going to be too complicated to go through here.  Maybe someone else can go through the changes.

David.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#5 19-02-2009 20:52:17

phinds
Members
Registered: 16-02-2009
Posts: 6

Re: New Fields

I managed by telling my client she couldn't have all the fields she wanted and made it 2 fields.  Thanks anyway.

Offline

#6 21-02-2009 09:54:25

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,066

Re: New Fields

No problem. I could have done it as a custom mod if it was important.

David.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

Board footer

2Checkout.com is an authorized reseller of goods and services provided by Maian Script World.© 2003-2013 David Ian Bennett. All Rights Reserved | Forum: FluxBB

Privacy Policy | Refund Policy