adding addthis html code in breadcrumb

Hello,

how can i add the htmlcode of addthis in the breadcrumb menue?

Can you help please?

 

Thank you, best wishes

Akvisto

 

Quote · 23 Aug 2010

add it somewhere in here in templates/base/sub_header.html or simply add it into the sys_injections table with the definitions(bold) below:

<bx_injection:injection_breadcrumb_before />     
__top_menu_breadcrumb__
<bx_injection:injection_breadcrumb_after />

 

have fun..

I have video tutorials to help you mrpowless.com
Quote · 24 Aug 2010

Hello what page do you want to edit ?

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

I guess there's always more than one way to do the same thing.

 

At one time, I had it in the BC.  I added the code to /templates/base/scripts/BxBaseMenu.php by changing the last line of code:

return '<div class="breadcrumb"><div class="bc_open">&nbsp;</div>' . $sPathLinks . '<div class="bc_addons">' . $sAddons . '</div><div class="bc_close">&nbsp;</div></div>';

To:

return '<div class="breadcrumb"><div class="bc_open">&nbsp;</div>' . $sPathLinks . '<div class="bc_addons">' . $sAddons . '</div><div class="bc_close">&nbsp;</div><div style="float:right;margin-right:20px;">Sharethis Code Here</div></div>';

I have to say though, I didn't like it there, and ended up putting the sharethis button in a fixed position in the lower left part of the screen.  That way the user always sees it no matter where they scroll to.  I had it in the lower right position on the screen, but was always rolling over the button when using the scroll arrows.  The same thing was happening when I had it in the breadcrumb menu... I'd always be rolling over it when accessing whatever top menu items it was near.  So in both of those places, I was always inadvertently rolling over the sharethis button, and triggering the popup.  It was a bit annoying.  I like the lower left screen position, because there's no chance of accidentally rolling over it, and it's always on the screen where people can see it.

In case you want to try it in lower left screen, edit  _footer.html and add the code below just above the closing body tag:

<script type="text/javascript" src="http://w.sharethis.com/button/sharethis.js#publisher=12345678-a123-b456-c789-012345d6c8a6d&amp;type=website&amp;style=vertical&amp;post_services=email%2Cfacebook%2Ctwitter%2Cgbuzz%2Cmyspace%2Cdigg%2Csms%2Cwindows_live%2Cdelicious%2Cstumbleupon%2Creddit%2Cgoogle_bmarks%2Clinkedin%2Cbebo%2Cybuzz%2Cblogger%2Cyahoo_bmarks%2Cmixx%2Ctechnorati%2Cfriendfeed%2Cpropeller%2Cwordpress%2Cnewsvine"></script>
</div>
<style>
div.stbutton.vertical div.stoverlay {
z-index:99;
}
div.stbutton.vertical  {
position:fixed;
bottom: 10px;
left:10px;
}
</style>

</body>


(You will of course, have to use code with a real publisher number)

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 24 Aug 2010

I love the concept, but it drops the links below the footer links and scrolls w/ the page instead of remaining fixed. Is there an opening div class for this or something else I missed?

 

I put the following just above the </body> tag in the _footer.html:

::my code here::
</div>
<style>
div.stbutton.vertical div.stoverlay {
z-index:99;
}
div.stbutton.vertical  {
position:fixed;
bottom: 10px;
left:10px;
}
</style>

 


In case you want to try it in lower left screen, edit  _footer.html and add the code below just above the closing body tag:

<script type="text/javascript" src="http://w.sharethis.com/button/sharethis.js#publisher=12345678-a123-b456-c789-012345d6c8a6d&amp;type=website&amp;style=vertical&amp;post_services=email%2Cfacebook%2Ctwitter%2Cgbuzz%2Cmyspace%2Cdigg%2Csms%2Cwindows_live%2Cdelicious%2Cstumbleupon%2Creddit%2Cgoogle_bmarks%2Clinkedin%2Cbebo%2Cybuzz%2Cblogger%2Cyahoo_bmarks%2Cmixx%2Ctechnorati%2Cfriendfeed%2Cpropeller%2Cwordpress%2Cnewsvine"></script>
</div>
<style>
div.stbutton.vertical div.stoverlay {
z-index:99;
}
div.stbutton.vertical  {
position:fixed;
bottom: 10px;
left:10px;
}
</style>

</body>


(You will of course, have to use code with a real publisher number)

Quote · 3 Mar 2011

I'd guess that your class name is something other than "div.stbutton.vertical" . You need to inspect it with firebug, and find the proper class name.  I believe that the code sharethis uses these days is a little different.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 3 Mar 2011

I am looking to have addthis.com and an add system like http://todaygood.us/ they have...

 

they installed it they have database for it i think how can i do that?

 

please if you could provide explanation pictures or even video would be perfect with script :) and where to insert it.

Quote · 22 Nov 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.