design.inc.php

Hello

I'm trying to add metas tag on my splash page like this

 

________________________________________________________________________

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title> SITE  TITTLE HERE </title>
<meta name="description" content=" Site  Description ">
<meta name="keywords" content=" Site Keywords," />
<?php
/***************************************************************************
*                            Dolphin Smart Community Builder
*                              -------------------
*     begin                : Mon Mar 23 2006
*     copyright            : (C) 2007 BoonEx Group
*     website              : http://www.boonex.com
* This file is part of Dolphin - Smart Community Builder
*
* Dolphin is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the
* License, or  any later version.
*
* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
* You should have received a copy of the GNU General Public License along with Dolphin,
* see license.txt file; if not, write to marketing@boonex.com
***************************************************************************/

define('BX_INDEX_PAGE', 1);

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

bx_import('BxTemplSplashPageView');

check_logged();

$_page['header'] = _t( '_SPLASHPAGE_H' );
$_page['header_text'] = _t( '_SPLASHPAGE_H' );

if($logged['member']) {
$_page['name_index'] = 0;
$_page_cont[0]['page_main_code'] = _t( '_Sorry, you're already joined' );
PageCode();
exit;
}

if(getParam('reg_by_inv_only') == 'on' && getID($_COOKIE['idFriend']) == 0){
$_page['name_index'] = 0;
$_page_cont[0]['page_main_code'] = MsgBox(_t('_registration by invitation only'));
PageCode();
exit;
}

$_page['name_index'] = 1014;
$_ni = $_page['name_index'];

$oSplashView = new BxTemplSplashPageView();
$_page_cont[$_ni]['page_main_code'] = $oSplashView->getCode();

$GLOBALS['oSysTemplate']->addJsTranslation('_Errors in join form');
$GLOBALS['oSysTemplate']->addJs(array('join.js', 'jquery.form.js'));
$GLOBALS['oSysTemplate']->addCss(array('splash.css'));
PageCode();
?>

</body>
</html>

 

______________________________________________________________________________________________________

 

But i'm getting this warning messages

 

Warning: Cannot modify header information - headers already sent by (output started at /home/sitename/public_html/sitename/splash.php:5) in /home/sitename/public_html/sitename/inc/design.inc.php on line 133

 

any  idea how to get it to work

 

Thank's a lot

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 14 Sep 2010

I don't believe you're suppose to add HTML code like that to it.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 14 Sep 2010

Do you know wat is the right way to do this

Thank's for letting me know

 

I don't believe you're suppose to add HTML code like that to it.

 

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 14 Sep 2010

Looking at the page code i see this page index of 1014 has been assigned.

$_page['name_index'] = 1014;

Did you do this spash page yourself?

Do you know what that index is for?

If so, then that is where you put it. In the page_1014.html template.



https://www.deanbassett.com
Quote · 14 Sep 2010

Hi Deano

Nop

Derartmedia do this for me I been asking for support But I been waiting  like for a week

and I beeen wasting my time and money with hem I ask how to add meta tags on my splash page but I never get respond from hem or any support

 

Looking at the page code i see this page index of 1014 has been assigned.

$_page['name_index'] = 1014;

Did you do this spash page yourself?

Do you know what that index is for?

If so, then that is where you put it. In the page_1014.html template.



 

Post Reply - if you going to help - No for - bla bla bla bla
Quote · 14 Sep 2010
 
 
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.