WebsiteBaker Support (2.8.x) > Bakery Shop

Last Items

<< < (3/5) > >>

mafe:
Thank you very much! Unfortunately product pictures are still not shown... I use bakery 1.71, I thought with versions anyitems 0.7 and lastitems 0.6 it would work?

jacobi22:
lastitems 0.6
include.php

change all locale path with absolute Path on your homepage
see http://localhost/wb283/


--- Code: ---if($use_lightbox2 == 1) {
                        ?>
                        <script type="text/javascript">window.jQuery || document.write('<script src="http://localhost/wb283/modules/bakery/jquery/jquery-1.7.2.min.js"><\/script>')</script>
                        <script type="text/javascript" src="http://localhost/wb283/modules/bakery/lightbox2/js/lightbox.js"></script>
                        <script type="text/javascript">
                        //  Lightbox2 options
                        $(function () {
                            var lightbox, options;
                            options = new LightboxOptions;

                            options.fileLoadingImage = 'http://localhost/wb283/modules/bakery/lightbox2/images/loading.gif';
                            options.fileCloseImage   = 'http://localhost/wb283/modules/bakery/lightbox2/images/close.png';
                            options.labelImage       = 'Bild';
                            options.labelOf          = 'von';

                            return lightbox          = new Lightbox(options);
                        });
                        </script>
--- End code ---

mafe:
Thank you jacobi22, replaced all localhost stuff by
--- Quote ---<?php echo WB_URL; ?>
--- End quote ---
. but still not working  :-( I forgot to check this because in the previous Version even localhost was replaced already. I am unable to find the error... :-(

Any other idea?

Thanks, cheers, mafe

mafe:
Looks as if the link to Pictures is missing in the Output. Loking into the source file of the browser, there is an empty row, where I would expect the pic normally before the br:


--- Code: ---<td class="mod_bakery_main_td_f">

<br />
<a href="http://localhost/wb283/pages/bakery/elefant-9.php"><span class="mod_bakery_main_title_f">Elefant</span></a>
<br />
Preis: EUR 200.00
<br />
Elefant
</td>
--- End code ---

No clue why this is...

btw, I am testing on localhost...

jacobi22:
check the path's to the bakery-images-folder, standard is media/bakery/items/ btw media/bakery/thumbs/ and the picturefolders from the items, called item22, item23 etc
the script build the picture-link only, if its found the correct path to the bakery pictures

picture format must be jpg or png


--- Quote from: mafe on June 30, 2015, 12:59:36 PM ---replaced all localhost stuff by
--- Quote ---<?php echo WB_URL; ?>
--- End quote ---
. but still not working 

--- End quote ---

it doesnt work on this way in javascript, but you need this only for the lightbox-effect

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version