hi guys
quickly question
i want the promo block on every page
how can i do this?
regards
hi guys quickly question i want the promo block on every page how can i do this? regards |
https://www.deanbassett.com |
thank you deano but i tested and its not work by me any idea? |
thank you deano but i tested and its not work by me any idea? you should clear your caches ManOfTeal.COM a Proud UNA site, six years running strong! |
i do it but no luck |
Are you running a custom template? https://www.deanbassett.com |
I think it will not work in 7.0.9 as the promo block code is inside the BxBaseIndexPageView.php that is only for index page. You can transfer it to design.inc.php file and it should work on any page. so much to do.... |
yes i use uni template and version 7.0.9 |
I think it will not work in 7.0.9 as the promo block code is inside the BxBaseIndexPageView.php that is only for index page. You can transfer it to design.inc.php file and it should work on any page. When you do this does the promo block code need to be removed from BxBaseIndexPageView.php or do you leave the code there? Do you copy and paste the code to design.inc.php or do you move it?
http://www.boonex.com/forums/topic/how-to-set-promo-images-on-every-pages.htm and this didn't work for more. I don't know if I insert the __promo_code__ in the wrong place or not. I didn't know exactly where to insert it at. LOL! Everywhere I inserted it, it showed up on my website (spelled out) __promo_code__ So, I figured I was doing something wrong. I don't understand exactly where to insert the __promo_code__ in the sub_header folder. Thanks!! For live support go see Jason at http://www.dolphin-techs.com he is a real big help! |
i have never done it before. but i can look for a solution if you want. so much to do.... |
i have never done it before. but i can look for a solution if you want. Yea sure Prashank! I appreciate all the help i can get. I am learning as I go! Thanks Bro! For live support go see Jason at http://www.dolphin-techs.com he is a real big help! |
Okay here is a solution. But it requires a lot more changes. 1st - Open inc/design.inc.php and go to line 251 and paste this function getPromoCode() {$sSiteUrl = BX_DOL_URL_ROOT; 2nd - Open inc/classes/BxDolTemplate.php at line 726 add this code after "case 'top_menu_breadcrumb':" case 'promo_code': $sRet = getPromoCode(); break; 3rd - Open index.php at bottom comment this out $_page_cont[$_ni]['promo_code'] = $oIPV->getPromoCode(); 4th - Open templates/base/_sub_header.html add _promo_code_ in main content div so it will look like this <div class="main" style="border:0px; width:__main_div_width__;">__promo_code__ <!-- body --> <bx_injection:injection_content_before /> 5th - Open template/base/common.css and add this in bottom /*------------------*/ 6th - Open template/base/page_1.html and remove the line __promo_code__ so it will look like this <bx_include_auto:_sub_header.html />__info_block____page_main_code__<bx_include_auto:_sub_footer.html /> Also, you can comment out the code in template/base/script/BxBaseIndexPageView.php getPromoCode() function but its not a required step. You might have to apply some of these changes in your custom template. Enjoy..:) so much to do.... |
OK thanks for the help Prashank! I have to try it later I'm off to work now. i will let you know the out come!! Thanks For live support go see Jason at http://www.dolphin-techs.com he is a real big help! |