Subscribe block

How can i place a subscribe to newsletter block on a newly created page? i know about the php editor in deano tools but dont know the code to inject the subscribe block elsewhere?

 

All help would be greatly appreciated :)

 

Thank you

All for one and one for all....ah sod it who am i kidding!
Quote · 12 Jun 2014

In a php block place the following code.

global $site;

$iUserId = isLogged() ? getLoggedId() : 0;

$oSubscription = new BxDolSubscription();
$aButton = $oSubscription->getButton($iUserId, 'system', '');
$sContent = $oSubscription->getData() . $GLOBALS['oSysTemplate']->parseHtmlByName('home_page_subscribe.html', array(
    'message' => _t('_SUBSCRIBE_TEXT', $site['title']),
    'button_title' => $aButton['title'],
    'button_script' => $aButton['script']
));

return array($sContent, array(), array(), false);

https://www.deanbassett.com
Quote · 12 Jun 2014

Thanks so much Deano!

All for one and one for all....ah sod it who am i kidding!
Quote · 12 Jun 2014

Thanks so much Deano!

Quote · 6 Mar 2015

Thank Deano! Very helpful thing.

Quote · 17 Apr 2015
 
 
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.