Post by missright » Mon Mar 02, 2009 10:17 pm

1. how to allow the user's address length to be more than 64 characters. (100 characters should be ideal)

2. how to make the products' image size to become bigger.(tend to make it bigger for better showing, especially in the module "The Latest Items")

3. how to allow me to type the Chinese characters through admin. i have no idea whether it is SQL problem, or else. i have set the charset to GB2312 n it works well in .php files, but not for those data i entered through admin, such as category name...

thanks

User avatar
New member

Posts

Joined
Fri Feb 13, 2009 12:39 pm

Post by Qphoria » Tue Mar 03, 2009 12:10 am

1. Change the database field length from 64 to 100. You may also need to change the form validation on the account_create page to allow 100 also

2. I believe you can do that in the Settings area under the images tab. You can set sizes there. If not there, then perhaps the css controls the size

3. I think you need to change the encoding type for your tables in the database.

User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by missright » Tue Mar 03, 2009 12:35 am

can u explain more details for problem 1 and 3 ? sorry , but i think i really do not have idea about how to handle them ....for the image size problem, i can't find any setting for images in the admin, i am using v1.1.8, any css code need to modify?

my online store is going to launch in these few days... that's y it is a bit urgent to solve these problems....

User avatar
New member

Posts

Joined
Fri Feb 13, 2009 12:39 pm

Post by Qphoria » Tue Mar 03, 2009 1:57 am

Oh, sorry.. Looks like another "defeatured" setting strikes again. Make a "feature request" to ask Daniel to put thumbnail sizing back in the admin panel. Currently it's hardcoded (/me sticks gun in mouth)

You can change the hardcoded versions by searching all the files for "HelperImage::resize" and then change the 2 numbers at the end to what you want. depending on which file you want them changed for:

Example:
HelperImage::resize($result['image'], 75, 75) = 75x75
HelperImage::resize($result['image'], 300, 200) = 300x200
etc

for 1 and 3, you need to edit your database using phpmyadmin. Find the table, and edit the structure to change things like "varchar(64)" to "varchar(100)"

User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 86 guests