WebsiteBaker Support (2.8.x) > Droplets & Snippets
Another page displayed in column
(1/1)
diodak:
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'];
--- End code ---
Which isn`t good idea, i guess.
My question is: how to display page in this column similiray to :
--- Code: ---<?php page_content(); ?>
--- End code ---
Regards.
kweitzel:
http://projects.WebsiteBaker.org/websitebaker2/wiki/Docs-EN-Advanced-Howtos-Create-additional-editable-content-blocks
cheers
Klaus
Lotus:
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
Navigation
[0] Message Index
Go to full version