Hi there,
I use WB2.12 and Bakery 1.83. I made 1 page with few bakery sections inside, but I got problem with the items - complete mess (which make sense), so I deleted the sections and I made different pages for the different items. Now I want to call them on one page but when I call them with section picker only the first items appear on the first page the other appears as text but the pictures missing outside (https://prnt.sc/lhjnaw). On the page where is the section the pictures appear normaly (https://prnt.sc/lhjoty). Inside there is no problem, only when I call them with "section picker" they don't appear.
What can be the problem and how to fix it?
Regards,
Rumen
Hi, sectionpicker is not the right thing for that. There is a snippet anyitems or so. Have a look.
http://www.bakery-shop.ch/#snippets
With Anyitem it happened and now all pictures are OK (https://tempomenu.com/pages/menju.php)
Can I ask just how to call that page (the link above) on the first page (https://tempomenu.com) as well, because I use there Code2 for the code of the page and the I setup as HTML code, so I can't call anyitems as php code inside the HTML. With Section picker it works, just the pictures and the text are no aligned <center>, but left.
your solution works for me with sectionpicker and a little correction in view_overview.php from bakery
replace
require_once(WB_PATH . '/modules/bakery/config.php');
somewhere in the top with
require(WB_PATH . '/modules/bakery/config.php');
in the first call, everything is okay, but in the second and next call's, $img_dir is empty
PHP.net (http://php.net/manual/en/function.require-once.php) say's: The require_once statement is identical to require except PHP will check if the file has already been included, and if so, not include (require) it again.
set a class for the body on the startpage like
<body class="startpage">
and then add a definition like this for the bakery items in your style.css ('i've test this with firefox developer tools)
.startpage table tr td.mod_bakery_main_td_f {
text-align: center;
}
Thank Uwe, it is PERFECT now (https://tempomenu.com/)!!!
Regards,
Rumen
the page is also perfect, looks very good!! (Y) (Y) (Y)
(Y)Really good, I got hungry right away,
Where do I have to go :wink:
It is very small bistro called IL Tempo but at very, very strategic place. In a business office building with 5000+ staff and no food aroud. And one more building like that next to that one.