Promo Block: PLEASE HELP!

Hi all,

I really hope someone can help me with my problem.

I would like to have my promo block on every page of my website and not only on homepage.
I already tried to copy __promoblock__ in the other template (html) files but that don't work at all.

So if someone knows a solution please let me know!

Thank

Quote · 11 Jun 2010

You can do:

add into templates\base\default.html  next key:
__promo_code__

after open inc\classes\BxDolTemplate.php

to function parseSystemKey

before 'default:' case next code:

case 'promo_code':
$sRet = getPromoCode();
break;

so it will generate promo at all default pages. Btw, you will need to correct styles too.

Quote · 13 Jun 2010

You can do:

add into templates\base\default.html  next key:
__promo_code__

after open inc\classes\BxDolTemplate.php

to function parseSystemKey

before 'default:' case next code:

case 'promo_code':
$sRet = getPromoCode();
break;

so it will generate promo at all default pages. Btw, you will need to correct styles too.

It isn't working this way for meCry

Quote · 19 Jun 2010

Hi all,

I really hope someone can help me with my problem.

I would like to have my promo block on every page of my website and not only on homepage.
I already tried to copy __promoblock__ in the other template (html) files but that don't work at all.

So if someone knows a solution please let me know!

Thank

I think you can create custom template key, like this - __promo_for_all_pages__ in all template's files  and add this


case 'promo_for_all_pages':
$sRet = getPromoCode();
break;

after

case 'promo_code':
$sRet = getPromoCode();
break;

in inc\classes\BxDolTemplate.php

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 19 Jun 2010

Hi alll

I know you guys have forgotten about this post, I have something simular I want to do but I don't want to duplicate it to all pages I want to restrict the promo block only to members? guest don't see it at all

Thank

Darkestar Holdings www.darkestar.com
Quote · 4 Jul 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.