Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 10:06:35 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
149631 Posts in 21098 Topics by 7537 Members
Latest Member: lotte2
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Another page displayed in column  (Read 1432 times)
diodak

Online Online

Posts: 85


« on: August 07, 2007, 08: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:
// 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:
<?php page_content(); ?>

Regards.
Logged

Buchsbaum
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6819


WWW
« Reply #1 on: August 07, 2007, 07:03:55 PM »

http://projects.websitebaker.org/websitebaker2/wiki/Docs-EN-Advanced-Howtos-Create-additional-editable-content-blocks

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Lotus

Offline Offline

Posts: 184


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

http://www.websitebaker2.org/forum/index.php/topic,8731.0.html
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!