WebsiteBaker Support (2.8.x) > Bakery Shop
Bakery: Small Shop Module (ORIGINAL TOPIC)
SickBoy75:
I made a few changes in this module, in order to add a few SEO improvements.
1.- Changed the default item directory (/bakery/ by default) to a php variable, so i can change that dir to /shop/, /buy/, or something is related to the shop.
2.- Added a keywords field, so you easy can add keywords.
So I use "simplypagehead" snipet to change the head of every item page, adding a better title and keywords
NOTE: I made changes in simplypagehead in order to get the keywords from the shop items.
If someone likes this, or you plan to include it in future bakery version, I would post the zip with the changed files. I just want to return to WebsiteBaker my modest contribution.
I'm spanish, be patient with my english
zonathen:
Thanks for wonderful module.
When I upload with resize option it seems to be rotating the image 90 degrees to the left so the image is sideways when displayed. I looked at the code and didin't see anything obvious in resize functions. Anybody else experiencing this behaviour with resizing images on upload?
SickBoy75:
Is there a way to skip/avoid the address validation in the shop form??
I need to validate address like "Monterrey nº2" and the º gives an error.
Also, á, é, í, ó, ú, ñ, ü, /, etc... will return the address error.
I'm searching for the validation code in the php files, but can find it.
thanks a lot
SickBoy75:
--- Quote from: Claren on February 11, 2010, 02:23:56 PM ---
--- Quote ---What charset encoding did you set as WB default charset (advanced options of the general WB settings)?
What charset encoding did you use to save your SE localisation file?
Regards Christoph
--- End quote ---
UTF-8 in Website baker.
Eehh, localisation files?
In the comment on top of SE.php it says
"This file is saved using charset iso-8859-1.
If utf-8 is set as WB default charset, some iso-8859-1 encoded localisation strings
will be automatically converted to utf-8."
I didnt tamper with that. Just loaded the EN files, translated them and saved as SE.
--- End quote ---
I'm having the same problem, many of my spanish cutomers can validate their orders because of this.
I need to add special chars to de validate function, but can't find it
SickBoy75:
Found it!!!!
Just edit your lang php file, ie ES.php and find this:
// MODUL BAKERY ADDITIONAL CHARS
// Define additional chars to be accepted by the customer address form.
// The chars should be corresponding to the localisation language.
Add your especial chars in this line
$MOD_BAKERY['ADD_REGEXP_CHARS'] = 'Á,É,Í,Ó,Ú,á,é,í,ó,ú,ñ,Ñ,ç,º,ª';
Works like it should ;)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version