character limit for gift certificate

This is an archive of old posting to the User Forum

character limit for gift certificate

Postby Nikolaus Gruchot » Wed Dec 08, 2004 3:34 am

Hi,

does anybody know where the hard coded wording "character limit" for the
gift certificate message box is located in the files. I have the shopsite
gift certificate all up and working the way I want it, the only flaw is that
I cannot change the (250 character limit) to (250 Zeichen) as it should read
in German.

Thanks,

Niko
Nikolaus Gruchot
 

Re: "character limit" for gift certificate

Postby Jim » Wed Dec 08, 2004 10:03 am

The wording "character limit" is in the code itself not and currently
cannot be changed. This will be fixed in the 7.1.2 release due out
shortly. There will be a new string to configure under Preferences >
Store Text > Gift Certificate.

You could probably work around this by replacing the
[-- GiftCertToFromMsg --] tag in the template with the code that it
generates and changing the text there. The current code generated is
--------------------------
<table class="cert_to_from_msg" >
<tr><td class="cert_to_from_msg">Presented To</td>
<td class="cert_to_from_msg_val">
<input type=text name=cert_to value="" size="30" maxlength="100"></td></tr>
<tr><td class="cert_to_from_msg">From</td>
<td class="cert_to_from_msg_val">
<input type=text name=cert_from value="" size="30"
maxlength="100"></td></tr>
<tr><td class="cert_to_from_msg">Message</td>
<td class="cert_to_from_msg_val">
<textarea name=cert_msg cols=30 rows=3></textarea> (50 character limit)</td>
</tr>
</table>
--------------------------
So put this in place of the tag and change the "(50 character limit)" to
(250 Zeichen)

Jim

Nikolaus Gruchot wrote:

Hi,

does anybody know where the hard coded wording "character limit" for the
gift certificate message box is located in the files. I have the shopsite
gift certificate all up and working the way I want it, the only flaw is that
I cannot change the (250 character limit) to (250 Zeichen) as it should read
in German.

Thanks,

Niko

Jim
 

Re: "character limit" for gift certificate

Postby Nikolaus Gruchot » Thu Dec 09, 2004 3:35 am

Hello Jim,

done and it works.

Here is something funny: When I do somthing that results in an shopsite
error message displaying on the gift certificate page (in my case I have a
gift certificate saved to my shopping cart and I am alerted that a gift
certficate cannot be paid with a gift certificate)...

-> all fields are emptied in the gift certicate page bearing the error
message
-> the hard coded '- character limit' shows up again at the message box

Happy debugging :-)

Regards,
Niko

"Jim" <jstavast@xmission.com> schrieb im Newsbeitrag
news:cp789r$tdi$1@eval.shopsite.com...
The wording "character limit" is in the code itself not and currently
cannot be changed. This will be fixed in the 7.1.2 release due out
shortly. There will be a new string to configure under Preferences
Store Text > Gift Certificate.

You could probably work around this by replacing the
[-- GiftCertToFromMsg --] tag in the template with the code that it
generates and changing the text there. The current code generated is
--------------------------
table class="cert_to_from_msg"
tr><td class="cert_to_from_msg">Presented To</td
td class="cert_to_from_msg_val"
input type=text name=cert_to value="" size="30"
maxlength="100"></td></tr
tr><td class="cert_to_from_msg">From</td
td class="cert_to_from_msg_val"
input type=text name=cert_from value="" size="30"
maxlength="100"></td></tr
tr><td class="cert_to_from_msg">Message</td
td class="cert_to_from_msg_val"
textarea name=cert_msg cols=30 rows=3></textarea> (50 character
limit)</td
/tr
/table
--------------------------
So put this in place of the tag and change the "(50 character limit)" to
(250 Zeichen)
Nikolaus Gruchot
 

Re: "character limit" for gift certificate

Postby Jim » Thu Dec 09, 2004 10:29 am

Hi Niko
I'll look into it.

Jim

Nikolaus Gruchot wrote:
Hello Jim,

done and it works.

Here is something funny: When I do somthing that results in an shopsite
error message displaying on the gift certificate page (in my case I have a
gift certificate saved to my shopping cart and I am alerted that a gift
certficate cannot be paid with a gift certificate)...

-> all fields are emptied in the gift certicate page bearing the error
message
-> the hard coded '- character limit' shows up again at the message box

Happy debugging :-)

Regards,
Niko

"Jim" <jstavast@xmission.com> schrieb im Newsbeitrag
news:cp789r$tdi$1@eval.shopsite.com...

The wording "character limit" is in the code itself not and currently
cannot be changed. This will be fixed in the 7.1.2 release due out
shortly. There will be a new string to configure under Preferences
Store Text > Gift Certificate.

You could probably work around this by replacing the
[-- GiftCertToFromMsg --] tag in the template with the code that it
generates and changing the text there. The current code generated is
--------------------------
table class="cert_to_from_msg"
tr><td class="cert_to_from_msg">Presented To</td
td class="cert_to_from_msg_val"
input type=text name=cert_to value="" size="30"
maxlength="100"></td></tr
tr><td class="cert_to_from_msg">From</td
td class="cert_to_from_msg_val"
input type=text name=cert_from value="" size="30"
maxlength="100"></td></tr
tr><td class="cert_to_from_msg">Message</td
td class="cert_to_from_msg_val"
textarea name=cert_msg cols=30 rows=3></textarea> (50 character
limit)</td
/tr
/table
--------------------------
So put this in place of the tag and change the "(50 character limit)" to
(250 Zeichen)


Jim
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 6 guests