WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • General Help & Support »
  • Pictures from Bakey missing on the front page when call with Section Picker
  • Print
Pages: [1]   Go Down

Author Topic: Pictures from Bakey missing on the front page when call with Section Picker  (Read 8843 times)

Offline rumen

  • Posts: 480
  • Gender: Male
Pictures from Bakey missing on the front page when call with Section Picker
« on: November 12, 2018, 09:48:03 PM »
 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
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8915
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Pictures from Bakey missing on the front page when call with Section Picker
« Reply #1 on: November 12, 2018, 10:37:18 PM »
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
Logged
https://onkel-franky.de

Offline rumen

  • Posts: 480
  • Gender: Male
Re: Pictures from Bakey missing on the front page when call with Section Picker
« Reply #2 on: November 13, 2018, 01:16:28 AM »
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.
Logged

Offline jacobi22

  • Betatester
  • **
  • Posts: 5920
Re: Pictures from Bakey missing on the front page when call with Section Picker
« Reply #3 on: November 13, 2018, 01:21:06 AM »
your solution works for me with sectionpicker and a little correction in view_overview.php from bakery

replace
Code: [Select]
require_once(WB_PATH . '/modules/bakery/config.php');
somewhere in the top with

Code: [Select]
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.
Logged

Offline jacobi22

  • Betatester
  • **
  • Posts: 5920
Re: Pictures from Bakey missing on the front page when call with Section Picker
« Reply #4 on: November 13, 2018, 01:36:42 AM »
set a class for the body on the startpage like
Code: [Select]
<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)

Code: [Select]
.startpage table tr td.mod_bakery_main_td_f {
    text-align: center;
}
Logged

Offline rumen

  • Posts: 480
  • Gender: Male
Re: Pictures from Bakey missing on the front page when call with Section Picker
« Reply #5 on: November 13, 2018, 09:52:03 AM »
Thank Uwe, it is PERFECT now!!!

Regards,

Rumen
Logged

Offline jacobi22

  • Betatester
  • **
  • Posts: 5920
Re: Pictures from Bakey missing on the front page when call with Section Picker
« Reply #6 on: November 13, 2018, 10:25:26 AM »
the page is also perfect, looks very good!!   (Y) (Y) (Y)
Logged

Offline hgs

  • WebsiteBaker Org e.V.
  • **
  • Posts: 1884
    • EFG MG
Re: Pictures from Bakey missing on the front page when call with Section Picker
« Reply #7 on: November 13, 2018, 11:14:26 AM »
 (Y)Really good, I got hungry right away,
Where do I have to go :wink:
Logged
LG Harald

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

"Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

Offline rumen

  • Posts: 480
  • Gender: Male
Re: Pictures from Bakey missing on the front page when call with Section Picker
« Reply #8 on: November 13, 2018, 12:33:52 PM »
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.
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • General Help & Support »
  • Pictures from Bakey missing on the front page when call with Section Picker
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2