WebsiteBaker Support (2.8.x) > Bakery Shop
Bakery: Small Shop Module (ORIGINAL TOPIC)
freeSbee:
New Version of Bakery:
VERSION 1.3.3 (06/19/2009)
VERSION HISTORY
* When upgrading the db field lightbox2 is now added correctly (reported by snark)
DOWNLOAD
Download the zip file from the Bakery website:
http://www.bakery-shop.ch/#download
UPGRADE NOTES
Not all changes will be done automatically by the upgrade script when upgrading from a version prior v1.3 to v1.3.3. Still there will be some adaptations you have to do manually:
* Before upgrading make a backup of at least the /media/bakery/ directory. You will have to reupload ALL item images using the Bakery backend.
* Alternatively you can move image files manually using ftp. First make a directory structure like this:
/media/bakery/thumbs/
/media/bakery/images/
Then add a directory for every item, eg.:
/media/bakery/thumbs/item1/
/media/bakery/images/item1/
Move your image respectively thumb files to the corresponding directory.
Use speaking image file names since they are used for the image <alt> and <title> tag and shown as the Lightbox2 caption. Underscores are replaced by spaces automatically.
The item images and thumbs will be loaded automatically by Bakery.
* Modify the item templates. Use the vars [THUMB], [THUMBS], [IMAGE] AND [IMAGES] to display images. The inserted images will be linked to the detail page or to the Lightbox2 depending on your page settings. So there is no more need to do this in your template.
• [IMAGE] = Main item image - only displayed if selected at section "2. Product Images" of the "Add/modify item" page
• [IMAGES] = All item images except for the item main image.
• [THUMB] = Thumbnail of the main item image - only displayed if selected at section "2. Product Images" of the "Add/modify item" page
• [THUMBS] = All thumbnails of the item images except for the item main image.
PLEASE NOTE
* Bakery 1.3.3 provides new features (see version history above) like multiple item images or Lightbox2. The way how Bakery handles and stores images is changed basically. Please read the "Upgrade Notes" above.
Christoph
snark:
is it possible to have a wysiwyg field for the short description so we can style this piece of text to our need/liking
freeSbee:
Hi snark
--- Quote from: snark on June 22, 2009, 10:43:20 AM ---is it possible to have a wysiwyg field for the short description so we can style this piece of text to our need/liking
--- End quote ---
Yes, you can do it quite simply. Open the file modify_item.php and locate the textarea name="description".
Use the wb function show_wysiwyg_editor() and implement it as it is done for the full_desc some lines below.
Regards Christoph
snark:
I tried that but no matter what I try, I the page won't load.. do you happen to have a 'modify_item.php with those extra's' lying around? ...
freeSbee:
@snark
I've modified one for you...
WYSIWYG editor for item brief and item full description
Replace the files modify_item.php and save_item.php by the attached ones and you will get an "Add/Modify Item"-Page with 2 WYSIWYG editors, one for the item brief description and another one for the item full description. Requires Bakery v1.3 or later.
Christoph
[gelöscht durch Administrator]
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version