How to blend affiliate link without header and footer with boonex site

Hi, I have a link that redirects to a page, where I see content, such as shown here. http://hotels.indiag.com

I want to blend this page in my site so this page takes header and footer of indiag.

any suggestions

Quote · 8 Mar 2012

Hello

You need to create a custom page with IFRAME as content. Then you'll be able to load this 3d party content in the IFRAME. But unfortunately you cannot do it via admin panel, because default "HTML block" doesn't allow to insert IFRAME, SCRIPT and some other HTML tags. In this case you need to do a custom mod. It's not so har if you know PHP, MySQL and Dolphin's structure.

If you want I can create the mod for you. You may contact me via internal mailbox.

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 9 Mar 2012

 

Hi, I have a link that redirects to a page, where I see content, such as shown here. http://hotels.indiag.com

I want to blend this page in my site so this page takes header and footer of indiag.

any suggestions

 

no mod needed, you can try this

1)
Builders -> Navigation Menu

Add NEW ITEM

System Name:  Hotels
Language Key: _Hotels
URL:          hotels.php

Visible for:  Member


SAVE

2)
add 3 new language strengs

_HOTELS_H = Hotels
_Hotels = Hotels
_HOTELS = <iframe src="http://hotels.indiag.com" frameborder="0" width="99%" height="1900"></iframe>

(edit width and height to suit your needs)

3)
add a new file to root of Dolphin

name: hotels.php

add this code to it

<?php

    /***************************************************************************
    *                         hotels.php by okweb
    ***************************************************************************/

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

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

$_page['name_index']    = 0;
$_page['css_name']      = '';

check_logged();

$_page['header'] = _t( "_HOTELS_H" );
$_page['header_text'] = _t('_Hotels');

// --------------- 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() {
    global $oTemplConfig;
    $ret = _t( "_HOTELS" );
    return DesignBoxContent( _t("_Hotels"), $ret, $oTemplConfig -> PageCompThird_db_num );
}

?>

Quote · 9 Mar 2012

Hello

Yes, you may do it this way if you don't need the page to be controlled via page builder. 

Best Regards AntonLV - http://www.boonex.com/market/posts/AntonLV
Quote · 10 Mar 2012
 
 
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.