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.9 is now available!


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.8.x) »
  • Droplets & Snippets »
  • Another page displayed in column
  • Print
Pages: [1]   Go Down

Author Topic: Another page displayed in column  (Read 9468 times)

Offline diodak

  • Posts: 85
Another page displayed in column
« on: August 07, 2007, 09:13:43 AM »
I made: http://spojnia.osno.info/, the right column come from database, i made hidden page and i get it by:

Code: [Select]
// zapytanie do bazy danych
        $wynik = mysql_query("SELECT * FROM wbmod_wysiwyg WHERE page_id='25'")
        or die("Błąd w zapytaniu!");
         
        mysql_close();
    }
    else echo "Nie mogę połączyć się z bazą danych!";
     
    // wyświetlany wyniki zapytania
    while($rek = mysql_fetch_array($wynik)) {
        echo $rek['content'];

Which isn`t good idea, i guess.

My question is: how to display page in this column similiray to :

Code: [Select]
<?php page_content(); ?>
Regards.
Logged
Buchsbaum

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: Another page displayed in column
« Reply #1 on: August 07, 2007, 08:03:55 PM »
http://projects.WebsiteBaker.org/websitebaker2/wiki/Docs-EN-Advanced-Howtos-Create-additional-editable-content-blocks

cheers

Klaus
Logged

Lotus

  • Guest
Re: Another page displayed in column
« Reply #2 on: February 22, 2008, 11:06:56 AM »
Did you mean "Global boxes"? You´ll find similar solutions as yours in the forum. I did a feature request and later in the tread i posted some solutions others have found.

https://forum.WebsiteBaker.org/index.php/topic,8731.0.html
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Droplets & Snippets »
  • Another page displayed in column
 

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