Home | Web Design Samples | Art & Design | Multimedia | Services | Contact | E-mail Me
Flash Chat | Flash Test | JavaLab | Pic Resizer | Articles | Snip A Site | Link Lister
| Pay James
Find out what's happening with the Web locally—Check out my Meetup at the Brampton Web Design Meetup Group.
I have worked with companies in the U.S.A, Canada and Europe and can help you with your Web development and design on an hourly or project basis. Contact me for an estimate or give me a call.
Web site Design and Development serving Brampton, Mississauga, Toronto (GTA), Etobicoke, Vaughan, Oakville and Burlington

 
  Google
   
   
 

Boonex Dolphin 7 Tutorials Coming Soon!

Boonex Dolphin 6 Tutorials

Digg This Story - Boonex Dolphin Tutorials Site

Dolphin tips, tricks and resources chat

Sign up for FREE Dolphin mods, tip, tricks and resources

SPECIAL TUTORIAL
How to Create Custom
Dolphin Pages

Welcome to My Dolphin Tutorial Pages

How to Install Dolphin 6.0.0003 Video Tutorial

Add Your Own Logo to the Masthead

How to Customize the Flash File on the Home Page

How to Make the Flash Home Page Movie Link to A URL

How to Change the Home Page Graphic and Message

How to Admin the Daily Quotes

How to Show/Hide Home Page Blocks

How to Add Javascript/HTML Tags in a Block

How to Add A YouTube Video to A Dolphin Block

How to Take Out a Menu Tab in the Main Navigation

Add a New Menu Item in The Main Nav

Open a New Window from a Menu Item

How to Add HTML to the news_views.php Page
(And similar pages)

How to Customize the Top Nav Bar

How to Customize the Very Top Nav Bar

Taking out the Top Nav Bar Completely

How to Edit the Member Login Menu

How to Change the "Your Company" or Bottom Part of a Dolphin Page

How to Edit Out the Icons in the Footer

How to Change the Footer

How to Add a Custom Item by Using New Block

Set the Number of Photos on the Home Page

How to Set Up the Orca Forum

How to Change the Generic Female/Male Icon

How to Hide Date of Birth from Profile View and in the Search Result

Show All Members in the Browse Profiles Page

How To Make a Member a Featured Member

Basic SEO - How to Add Meta Tags

How to Make Your Forum by Invite Only

How to Set the Number of Member Photos that Appear on the Home Page

How To Make a Member a Featured Member

How to Add A Message or Image in the Join Form

How to Set up PayPal Checkout Page

How to Set up a Dolphin Template

How to Put Google Adsense in a Profile

How to Add Google AdSense to a Dolphin Blog

Troubleshooting - Find Out Some Info About
Your Server

More Boonex Dolphin tutorials at BoonexNerd.com

 

Brampton Web Design

How to Admin the Daily Quotes

Add daily quotes to your home page.

Requirements
You need to make sure you have the correct set up and that you can login to the admin panel.

Instructions
There two parts to this. The first part is to make sure you have quotes entered in your daily quotes list. To do this:

1. Login to your admin and go to Tools > Random Quotes
2. To add a quote just click on the Add New link.
3. You will be presented with a two text boxes, one for quotes and the other one for author. Note: Quotes is incorrectly spelt as "Qutes" in 6.0003.
4. Click the insert button and it will should save the quote.
5. It should then show up on the lis.

Once you've done that, you need to go to your Dolphin folders to add some script to your pages. You will be working with the index.php page and the page_1.html page.

It requires that you add

$_page_cont[$_ni]['daily_quotes'] = quote_get();

in your index.php page located in templates/tmpl_uni/scripts/ on or about line 82 just after $_page_cont[$_ni]['promo_code'] = getPromoCode();. So that it looks something like this:

...
}
else
{
$_ni = $_page['name_index'];

$_page_cont[$_ni]['promo_code'] = getPromoCode();

//jt note daily quotes
$_page_cont[$_ni]['daily_quotes'] = quote_get();


$_page_cont[$_ni]['compose_index_col1'] = PageCompCreateBlocks( 1 );
$_page_cont[$_ni]['compose_index_col2'] = PageCompCreateBlocks( 2 );

$_page['extra_js'] = '<script type="text/javascript">urlIconLoading = "'.getTemplateIcon('loading.gif').'";</script>';

// --------------- [END] page components

PageCode();
}

// --------------- page components functions

..

Then you need to open up page_1.html and add this:

<div style="width:754px; margin-left: auto; margin-right: auto;">__daily_quotes__</div>

page_1.html is located in templates/tmpl_uni/

If you want to update or change the display of the quotes, you need to edit the quotes.inc.php file located in the "inc" folder located at the root of your install. For example, if you installed your site like this http://www.yourdomain.com/dolphin/ then your root would be the dolphin folder and the inc folder would be located http://www.yourdomain.com/dolphin/inc/.

A Bit More About Quotes
You can actually change the display of the quotes by applying a different value to the __daily_quotes__ token.

You can do this by opening up the quotes.inc.php file located in the inc folder.

On line on or about 31 you will see the start and end tags:

$quote_html = <<<EOS

<!-- QUOTES [begin] -->
<table width="754" cellpadding=5 cellspacing="0" class="text">

...

<!-- QUOTES [ end ] -->

EOS;

Whatever you put between those comment tags is what will appear in the daily quotes. For example:

$quote_html = <<<EOS

<!-- QUOTES [begin] -->
<table width="754" cellpadding=5 cellspacing="0" class="text">
<tr>
<td colspan="2" align=right valign="middle" class="quotes_text"><hr></td>
</tr>
<tr>
<td width="377" align=right valign="middle" class="quotes_text"><div align="right"><i>%Text%</i></div></td>
<td width="377" align=right valign="middle" class="quotes_text"><div align="left"><b>%Author%</b></div></td>
</tr>
<tr>
<td colspan="2" align=right valign="middle" class="quotes_text"><hr></td>
</tr>
</table>
<!-- QUOTES [ end ] -->

EOS;

It will give you a formatted table.

Download(s)
N/A

Addendum
N/A

BoonexNerd.com Tutorial Site
Dolphin Tutorials tips, tricks and resources

Contact me now with my online e-mail form: E-mail James

Download Boonex Dolphin Smart Community Builder
   

Mailing Address: Please contact me for my mailing address. Phone: (905) 793-2690  Fax: (905) 790-7412
Copyright 2007 James Tadeo All trademarks, copyrights, and branding belong to their respective owners.
I have worked with clients in Toronto, Scarborough, Etobicoke, Vaughan, Oakville, Burlington, Mississauga, Brampton and Georgetown.
Contact me today about your Web Design or Redesign project. Find out more, see my Web design samples.


Pay for Web Design services via PayPal