aishah
see moresorry but i can`t find the no.1
can you explain me again no.1 please

1: Builders/Pages Builder -> Homepage

Add a new PHP block in the Page Builder


Caption Lang Key: _Quotes
Visible for: Guest Member
PHP-code:
$arr = db_arr("SELECT `Text`, `Author` FROM DailyQuotes ORDER BY RAND() LIMIT 1");

echo "
<table cellspacing=\"0\" cellpadding=0>
<tr><td><i>{$arr['Text']}</i></td></tr>
<tr><td><b>{$arr['Author']}</b></td></tr>
</table>
";
okweb
You need to add a PHP block first, Dolphin don't have it as default so you need to add this first.

You can use @newdreamers code to do it
http://www.boonex.com/unity/blog/entry/How_to_enable_PHP_block_in_the_Page_Builder

or you use @jtadeo code to do it
http://www.boonex.com/unity/blog/entry/How_to_Add_PHP_in_a_BLOCK

If you are a bit comfortable with edit some PHP code and use phpMyAdmin I would have used @newdreamers way to do it.(Very easy to add a new PHP block later)
--------------------

When see more you have added @newdreamers code/change,
then you can add a new PHP block in the Page Builder.

Now you can use my code to add Daily Quotes to homepage.
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.14820909500122