Tutorial

You might have explored the page builders in Dolphin 7 administration. You can create or make additional pages with the builder and blocks. New pages you create using the builders will be stored dynamically in the database. The web address will look something like:
http://www.yoursite.com/page/page-name

Now for some people or sites they just do not want to use the page builders, or they do not want that kind of dynamic web page address.

If you just want to create a quick Dolphin 7 web page or you want a more static page such as:
http://www.yoursite.com/page-name.php

You can use the following to create a quick static Dolphin 7 web page.

All you need to do is change the page header and header text. Then, enter your desired html formatted content. Name or rename your page whatever you want with a .php extension, such as my-page.php, how-to.php, etc.

You can download this pre-made page and just edit it to your needs.
Download static test-page.zip

Open up test-page.php and edit and change the following:

$_page['name_index']     = 17;
$_page['css_name']        = 'faq.css';
$_page['header'] = "Your Page Header";
$_page['header_text'] = "Your Page Text";

Change:
"Your Page Header"
"Your Page Text"

To your desired header and header text.

Then, scroll down the page and add your desired html content.

Find:
return  <<<HTML
<h1>Your Page Headline, etc.</h1>

<p>Your desired html content.</p>

HTML;


Simply add your html after <<<HTML or between <<<HTML and HTML;

Save the changes and rename test-page.php to whatever you want, and upload it to your server/hosting/account.

Navigate to your new page to verify.


If you need to make changes simply edit the page and save the changes back to your hosting account as necessary.

Here is an example of what the test-page.php will look like:

Dolphin 7 Static Page


Optionally:
You can change or edit:
$_page['name_index']     = 17;
$_page['css_name']        = 'faq.css';

You can change the name_index 17 to another page if you want. And, you can change the faq.css to another .css page as well.


This is just a quick alternative to the Dolphin 7 page builder and useful for those of you that want to make a static page rather than a dynamic database stored page.


Current Dolphin Version at time of this post is: Dolphin 7.0.5

 
Written By
Tutorial by: Jeremy LeSarge (AKA Ray)

I am the owner and administrator of DialMe.com. I write Tutorials for Boonex Dolphin as well as tips and resources surrounding website programming and development. I enjoy working with WordPress, SEO, and Web Hosting / Servers. I also maintain a WordPress Blog here on this site where you will find a variety of technology and webmaster resources.

Actions
Recommend
Sponsored Links