How to insert one .html page?

Hi,

Who can tell me, how to insert a .html page in to the dolphin?

I have a .html page in my directory and don´t know how to insert it!

I would like to insert it in to the front (home) page.

Thx for help

Tec

Sorry for my English it is German English

Quote · 14 Jul 2008

Nobody?

Quote · 14 Jul 2008

Hi,

The only real way to do this is to go to admin > builders > Pages Builder >Homepage

In that section you can drag and drop all the blocks you dont want into the inactive blocks section. Then under samples drag the html block into your active blocks section. Now you just click on the html block to and copy an dpaste your site into the box.

Thats the basics for getting a HTML page into Dolphin.

Cheers

Max

Quote · 15 Jul 2008

Thx for your help!

Create a new page with dolphin ist certainly a god alternative to insert html in there!

I need another alternative!

Tec

Quote · 15 Jul 2008

Hi,

I suppose its possible to build an entirely new page using a code editor, one that has teh same dimensions, css as a regular dolphin page and then again in admin, builders, just add the page to the nav bar.

Cheer

Max

Quote · 15 Jul 2008

If you will have a different homepage you can name the file index.html and then have a link to Dolphin index.php on that site, not sure about this was what you think about!!

or will you have it inside your own block on the Dolphin frontpage!

Quote · 15 Jul 2008

Hm, in the own block?

That will be a alternative!

How to make it?

Thx

Tec

Quote · 15 Jul 2008

At  1and1 you become contents as news....!

1st step, insert the script code in to your site (show you half news)

2. make a new .html site (news.html) and insert it to the same root where is the one with the code! (and now you can read the complete news)

That´s my problem!

I hope you can understand me?

Tec

Quote · 15 Jul 2008

How can I insert this code in to a .php page?

<script type="text/ javascript" charset ="UTF-8" src="************"></script>

What is to be done?

Tec

Quote · 15 Jul 2008

Admin/Page Builder/Homepage

You can insert a new PHP Block or HTML Block, have you try to use it in a HTML Block!

 

Java code, templates/base/_header

Quote · 15 Jul 2008

Just what I need is a think like that.

<?

require_once( 'inc/header.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'utils.inc.php' );

<script type="text/javascript" charset="UTF-8" src="***********"></script>

?>

What I need also?

I know that is not the correct code, what remains to be done that it works?

Tec

Quote · 15 Jul 2008

Some code, but not sure it was what you looking after

 

<?
require_once( 'inc/header.inc.php' );
require_once( BX_DIRECTORY_PATH_INC . 'design.inc.php' );

// --------------- page variables and login

$_page['name_index'] = 85;
$_page['css_name']  = 'YOUR_CSS_FILENAME.css';


if ( !( $logged['admin'] = member_auth( 1, false ) ) )
{
 if ( !( $logged['member'] = member_auth( 0, false ) ) )
 {
  if ( !( $logged['aff'] = member_auth( 2, false )) )
  {
   $logged['moderator'] = member_auth( 3, false );
  }
 }
}

$_page['header'] = _t( "_YOUR_LANGUAGETEXT_H" );
$_page['header_text'] = _t( "_YOUR_LANGUAGETEXT_H1", $site['title'] );

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

$_ni = $_page['name_index'];
$_page_cont[$_ni]['page_main_code'] = PageCompMainCode();

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

PageCode();

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

/**
 * page code function
 */
function PageCompMainCode()
{

$ret .= "<br />
  <table width=\"100%\" cellpadding=1 cellspacing=1 border=0>
   <tr>
   <td class=text align=center>SOME CODE HERE!!!</td>
   </tr>
  </table>\n";
return $ret;

}
?>

Quote · 15 Jul 2008

Thank you very much!

I think this is the one, only one error ( T_String)!

I will change it tomorrow!

Maybe the problem with the T_String is in the .htaccess!

Thx

Tec

Quote · 15 Jul 2008

It's a language streng, if you go to Admin/Settings/Languages Settings

and make a new language key on

 

_YOUR_NEWS_H

_YOUR_NEWS_H1

 

and you name it Last News

 

Then Last News will show up on your website as your header text

 

$_page['header'] = _t( "_YOUR_NEWS_H" );
$_page['header_text'] = _t( "_YOUR_NEWS_H1", $site['title'] );

Quote · 15 Jul 2008
 
 
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.