how to set promo images on every pages

Hello and Godd afternoon everyone.

Have a great weekend.

I managed to fix and happy with my promo block images rotation.

The problem i have now is HOW TO MAKE IT DISPLAY ON EVERY PAGES

currently it only display on homepage

 

please help me - here is my site take a look ---- if you click on any other page links ---- it will not display the promo images.

http://guitarelements.com/index

Quote · 23 Mar 2012

Please some one help me I really need help and hope someone will

Quote · 23 Mar 2012

Remove this from /templates/base/page_1.html:

 

 __promo_code__

 

and put it in /templates/base/_sub_header.html

 

 

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 23 Mar 2012

Mscott

 

where do i paste "__promo_code__" in _sub_header ????

what line number ?

 

thanks

Quote · 23 Mar 2012

It depends on where you want the promo to show up. If you look in that file you will see the site logo and the menu bar.. you can experiment with putting it in different locations, just clear the cache after each time you save the file to see your changes.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 24 Mar 2012

I have not tested this but in doubt. Is this work???

so much to do....
Quote · 24 Mar 2012

Hello Mscott

 

You are right and it is working on all pages for me now.

This is awesome man. You are cool. Have a great weekend

Quote · 24 Mar 2012

oh its works nice. Thanks

so much to do....
Quote · 24 Mar 2012

 

I have not tested this but in doubt. Is this work???

 If you see I posted it you don't have to doubt, it works :-)

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 25 Mar 2012

I want to do the same thing.

I have a custom template.  Do you do this change in the  /templates/base/ or in the /templates/tmpl_uni/?

How does that go or work?

Thanks

DjBlockBoy!

For live support go see Jason at http://www.dolphin-techs.com he is a real big help!
Quote · 28 Jun 2012

Can anyone help me please!

For live support go see Jason at http://www.dolphin-techs.com he is a real big help!
Quote · 28 Jun 2012

I just tried this...and no, it didn't work for me.  I think I'm using dolphin 7.0 - not entirely sure how to check but i do know the jquery version is 1.3.2 so it's been around a while.  

Anyone know how to troubleshoot? 

Quote · 28 Aug 2013

open  /inc/header.inc.php   to find your version number

or in the databse 

sys_options table  look for tmp version number

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 29 Aug 2013

Thanks Jay.  It's 7.0 build 6. So...how can I get that promo block on every page? 

Quote · 29 Aug 2013

Third post should work with 7.0.6

Dolphin cache has to be cleared after.

If you have a custom template you most likely may have a custom _sub_header.html which is to be used instead.

https://www.deanbassett.com
Quote · 29 Aug 2013

 

Thanks Jay.  It's 7.0 build 6. So...how can I get that promo block on every page? 

 AaronF, send me PM info for server.. and good email. Get you on track..

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 29 Aug 2013

Thanks for the replies.  

I do have a custom template, with a custom sub footer, sub header, header, and page 1 as I recall.  Those changes are in the tmpl_custom folder...and given the layout of the code in page_1 i thought the fix mentioned here would work before i read this thread.  I just added it to sub_header, but didn't take it out of page_1.  

As for cache clearing, i notice the difference instantly - in the original set up it works as normal, but when I move the key to sub header it shows up as the text __promo_code__ right on the page.  Although I understand the concern on that front...it can be tricky. 

Quote · 29 Aug 2013

Ok, after further testing here's what I;ve come up with: 

In Uni (which is where I troubleshoot from) if i take the promo key from page 1 and put it in subheader it works fine on the homepage, but has __promo_code__ as text right above the first block on every other page.  So it makes me think that there is something missing on the other pages...though I have no idea what that would be, as they seem to call the same files.  

In my template, I've commented out the breadcrumb on page 1 (i copied sub header, changed the breadcrumb and put it in place of <bx_include_auto:_sub_header.html />).  The only difference between the sub header file and the code in page 1 is this: 

<!--<bx_injection:injection_between_top_menu_breadcrumb />

<div class="sys_breadcrumb">

  <div class="sys_bc_wrapper" style="width:__main_div_width__;">

            <bx_injection:injection_breadcrumb_before /> 

            __top_menu_breadcrumb__

            <bx_injection:injection_breadcrumb_after />

            <div class="clear_both">&nbsp;</div>

        </div>

    </div>

<bx_injection:injection_between_breadcrumb_content />-->

That part is not commented out in sub header.  Anyway, when I change the keys around in the template the promo won't show anywhere, including the homepage.  

Hopefully that explains it fully...and that someone has a clue about whats happening. 

Quote · 30 Aug 2013

The solution is provided in this topic.

http://www.boonex.com/forums/topic/promo-block-on-every-page.htm

Solution requires some code be moved. Post that provides the code changes is several posts in. Direct link here.

http://www.boonex.com/forums/topic/promo-block-on-every-page.htm#170324

https://www.deanbassett.com
Quote · 30 Aug 2013

Thanks Deano. 

I went through the changes...and it still doesn't work.  Ah well.  

I heard there were some changes made in the base folder (steps 1 & optional step 7 were already done to my surprise) for the site we copy to make new sites with and maybe that is interfering with this.  And while I can copy and paste with the best of them, I am not a coder unfortunately. 

Whatever the case, I saved the original files, so I can revert back.  Thank goodness. And thanks for the help.  

Quote · 30 Aug 2013

Well, I found a workaround.  

I just stuck this in sub_header : http://trendmedia.com/news/infinite-rotating-images-using-jquery-javascript/

I set it up like the promo block with the div with the bg image at the bottom...it works fine.  And I didn't add the jquery call - so it works with 1.3.2.  Sweet.  

The funny things is that this accomplished the same thing but is actually less work.  

Anyway, thanks for all responses.  

Quote · 30 Aug 2013
 
 
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.