Pictures from Bakey missing on the front page when call with Section Picker

rumen

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.

hgs

LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

Gast



Gast

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;
}

Gast

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
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.

rumen

With Anyitem it happened and now all pictures are OK

Can I ask just how to call that page (the link above) on the first page 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.

dbs

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
[url="https://onkel-franky.de"]https://onkel-franky.de[/url]

rumen

 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. On the page where is the section the pictures appear normaly. 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