hi guys anyone know how can i change the promo place? for example on join.php?
i searched in forum but i dont find a answer.
best regards
hi guys anyone know how can i change the promo place? for example on join.php? i searched in forum but i dont find a answer. best regards |
promo is set to load on index of the site, so you are asking how to get it to load on the join.php When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
yes :-) how to get it to load the promo on the join.php ? is it possible? |
Hello leoleon,
Here is the way to place promo banner on join page: 1. Copy attached 'page_121.html' file to 'Dolphin root/templates/base/' directory. 2. Find 'join.php' file in Dolphin root. Find the following code near line 49: $_page['name_index'] = 81; and change 81 value to 121.
find the following code near line 54: $_page_cont[$_ni]['page_main_code'] = $oJoinView->getCode(); and place the following line before: $_page_cont[$_ni]['nkpromo_code'] = getPromoCode();
find the following code near line 58 $GLOBALS['oSysTemplate']->addCss(array('join.css')); and replace it with this one: $GLOBALS['oSysTemplate']->addCss(array('join.css', 'index.css')); You are done.
Best regards, nuknspax. Free and premium Dolphin templates. Custom design services. |
Wowww its works fine man Thank you |
hello guys promo pictures on join site is not work on version 7.0.9 why??? can someone help me please?
regards |
Hello LeoLeon,
Dolphin promo function was moved to templates engine in Dolphin-v.7.0.9, so you need to do the following in addition to my previous instructions: 1. Find Dolphin Root/templates/base/scripts/BxBaseIndexPageView.php file. 2.Find getPromoCode() function in this file near line 437: function getPromoCode() { 3. Copy it to 'BxBaseJoinPageView.php' file from the same directory after line 32, right after 'getBlockCode_JoinForm()' function closing brace. Note that this function should be within 'BxBaseJoinPageView' class.
Thank you,
Best regards, nuknspax. Free and premium Dolphin templates. Custom design services. |