WebsiteBaker Support (2.8.x) > Bakery Shop
Last Items
mafe:
thank you both, installed 1.72, no Change... I will try to upload and check, might take a while, as I am busy... Thank you very much! I will let you know the outcome no matter how it will be...
Cheers,
mafe
mafe:
Hi
Long time no visit and I still owe you a reply on my findings referring the above...
I decided to use anyitems instead of last items, where I actually had the same Problem referring no Pictures shown. I replaced the lightbox stuff in the include.php of anyitems with what I found in the view_overview.php of bakery, I had to replace the line
--- Code: ---if ($setting_lightbox2 == "overview" || $setting_lightbox2 == "all")
--- End code ---
with
--- Code: ---if ($use_lightbox2 == 1)
--- End code ---
then it worked, so it was definitively an error in the anyitems include.php...
Then I had the Problem that there was a lightbox loading Image shown at the end of the page. I had this Problem already before, and now there was the time to get rid of this Problem too...
In the bakery view_overview.php I deleted
--- Code: --- <script type="text/javascript">
// Lightbox2 options
$(function () {
var lightbox, options;
options = new LightboxOptions;
options.fileLoadingImage = '<?php echo WB_URL; ?>/modules/bakery/lightbox2/images/loading.gif';
options.fileCloseImage = '<?php echo WB_URL; ?>/modules/bakery/lightbox2/images/close.png';
options.labelImage = '<?php echo $MOD_BAKERY['TXT_IMAGE']; ?>';
options.labelOf = '<?php echo $TEXT['OF']; ?>';
return lightbox = new Lightbox(options);
});
</script>
--- End code ---
Do not know why all this code was wrong or even in the files, but now everything works perfect!
Thanks and regards,
Mafe
P.S. I am a Little bit proud, took me (a php zany) a day...
mafe:
I just realized the same Problem with the loading Image in the view_item.php of the bakery... So code deleted and it works.
mafe:
Last Update: It was not working because there seem to be two different versions of lightbox features, which cannot go together (lightbox2 for galleries and lightbox for bakery). So I had to put in the deleted code into view_overview and view_item again and I had to avoid having a gallery and bakery on the same page...
I doubt meanwhile that bakery is usable for me at all, if something is ordered the stock gets reduced but nothing else is happening - no emails, no orders... In one of the shops I did, the older bakery worked (1.71) at least, maybe I will use this one again instead of the new one (1.72) I do not think this can have something to do with my lightbox code changes...
Navigation
[0] Message Index
[*] Previous page
Go to full version