Support Forums

checkout step4 image upload error message

This is a discussion on checkout step4 image upload error message within the Templates, HTML, CSS, and Design Help forums, part of the General category; Hello everybody, I would like to modify the error message which is displayed when the user upload one photo at ...


Go Back   68 Classifieds Forums > General > Templates, HTML, CSS, and Design Help

Reply
 
Thread Tools Display Modes
Old 11-12-2009, 08:03 AM   #1
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 207
Rep Power: 14
magicosta is on a distinguished road
Default checkout step4 image upload error message

Hello everybody,

I would like to modify the error message which is displayed when the user upload one photo at the checkout step 4.

In step4.tpl there is the following code:

{if $upphotos < $numimages}
{if $error}
<br /><div class="error">{$error}</div><br />
{/if}


which is, I suppose ,the code which display the error message when the image weight or size is too big.
The sentences which show up are located at line 51 and 52 in english.php:

define('LANG_UPLOAD_ERROR_SIZE', 'Upload size exceeds limit of');
define('LANG_UPLOAD_ERROR_SIZE_SUF', '<br />Please reduce the size and try again.');

I would like to know in which file I can find {$smarty.const.LANG_UPLOAD_ERROR_SIZE} and {$smarty.const.LANG_ERROR_SIZE_SUF} which I guess are displaying the two messages.

Thank you for your help.
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline   Reply With Quote
Old 11-12-2009, 09:19 AM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

That file is upload/includes/core/checkout/step5.php

It is also easy to find if you have a editor than can do a global search. I know eclispe, coda, textmate have this.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules

Last edited by Eric Barnes; 11-12-2009 at 09:21 AM.
Eric Barnes is offline   Reply With Quote
Old 11-12-2009, 09:32 AM   #3
Customer
 
Join Date: Apr 2009
Location: South of Spain
Posts: 207
Rep Power: 14
magicosta is on a distinguished road
Default

Ok, thank you very much Eric.
__________________
Default Template - V 4.1.10 - Developper
magicosta is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with image upload etrepreneur Templates, HTML, CSS, and Design Help 9 02-20-2009 03:56 PM
Checkout image upload problems cheesegrits Technical Support 12 10-29-2008 09:48 PM
Image upload error spaceboy Technical Support 3 09-15-2008 05:06 PM
Help with an error message. michael Technical Support 4 09-04-2008 11:12 AM


All times are GMT -4. The time now is 04:34 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0