WebsiteBaker Support (2.8.x) > Bakery Shop
Bakery: Small Shop Module (ORIGINAL TOPIC)
G4:
Is it possible too show the items in alfabetic order?
Now I have too manually move items with the arrows up and down. Then they show up in that order When Iam adding a new item too a list over a hunderd this takes a long time.
freeSbee:
Hi G4
--- Quote from: G4 on December 29, 2008, 10:21:11 PM ---Is it possible too show the items in alfabetic order?
--- End quote ---
Search the file view.php for the code line
--- Code: ---$query_items = $database->query("SELECT * FROM ".TABLE_PREFIX."mod_bakery_items WHERE section_id = '$section_id' AND active = '1' AND title != '' ORDER BY position ASC".$limit_sql);
--- End code ---
and replace it by
--- Code: ---$query_items = $database->query("SELECT * FROM ".TABLE_PREFIX."mod_bakery_items WHERE section_id = '$section_id' AND active = '1' AND title != '' ORDER BY title ASC".$limit_sql);
--- End code ---
You're done - no more sorting manually!
Regards Christoph
G4:
--- Quote from: freeSbee on December 30, 2008, 08:48:07 PM ---Hi G4
--- Quote from: G4 on December 29, 2008, 10:21:11 PM ---Is it possible too show the items in alfabetic order?
--- End quote ---
Search the file view.php for the code line
--- Code: ---$query_items = $database->query("SELECT * FROM ".TABLE_PREFIX."mod_bakery_items WHERE section_id = '$section_id' AND active = '1' AND title != '' ORDER BY position ASC".$limit_sql);
--- End code ---
and replace it by
--- Code: ---$query_items = $database->query("SELECT * FROM ".TABLE_PREFIX."mod_bakery_items WHERE section_id = '$section_id' AND active = '1' AND title != '' ORDER BY title ASC".$limit_sql);
--- End code ---
You're done - no more sorting manually!
Regards Christoph
--- End quote ---
Wauw. Thx for the quick respons Christoph.
I will try it out.
Rush200:
Hi,
I Use bakery shop and website baker CMS.
So i have
1 folder to languages
1 folder to main pages <-- Here is eshop too
1 folder to sub pages
So now i want to do some categories and i want categories show on the main page eshop page.
Any ideas?
freeSbee:
New Version of Bakery:
VERSION 0.9.7 (01/03/2009)
VERSION HISTORY
Bakery 0.9.7 version history
KNOW HOW
Further information can be found on the Bakery Website.
DOWNLOAD
Download from the Bakery Website.
PLEASE NOTE
* Bakery 0.9.7 requires WebsiteBaker version 2.7 or later
* If you upgrade to Bakery v0.9.7, you have to upgrade the snippets Anyitems and/or Lastitems to v0.4 too
Christoph
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version