HTML5 Data Bindings Support Product Page

Not a problem

Bootstrap tooltip not working

Reported 11 Oct 2013 07:11:17
1
has this problem
11 Oct 2013 07:11:17 Andre Bender posted:
I've got a page with bootstarp tooltips working. If I add The HTML5 Data Bindings it's not working anymore (or not shown anymore):

Do I need any clearfixes with the additional div? Thanks for any help

  <div id="repeat1" data-binding-repeat="{{dsReferenzen.data}}"><div class="row">
          <div class="col-md-12">
            <div class="contentBoxOuterWrapper ">
              <div class="contentBoxWrapper addLightBG ">
                <div class="row">
                  <div class="col-md-4">
                  
                    <div class="contentBox">
                      <div class="contentBoxTextRow addPadding">
                        <h1>{{Projekttitel}}</h1>
                        <p>{{Projektbeschreibung}}</p>

                      </div>
                    </div>
                    
                     <div class="row">
       
          <div class="col-sm-12">
           <div class="contentBox">
          
                      <div class="contentBoxRefIconRow ">
                       <div class="col-xs-2">
          	<div class="contentBoxRefIcon animateHoverEase" data-toggle="tooltip" data-placement="top" title="Tooltip on top">
            <i class="icon-shopping-cart "></i></div>
                     </div>
                     
                      <div class="col-xs-2">
          	<div class="contentBoxRefIcon animateHoverEase" data-toggle="tooltip" data-placement="top" title="Tooltip on top">
            <i class="icon-shopping-cart "></i></div>
                     </div>
                     
                      <div class="col-xs-2">
          	<div class="contentBoxRefIcon animateHoverEase" data-toggle="tooltip" data-placement="top" title="Tooltip on top">
            <i class="icon-shopping-cart "></i></div>
                     </div>
                     
                      <div class="col-xs-2">
          	<div class="contentBoxRefIcon animateHoverEase" data-toggle="tooltip" data-placement="top" title="Tooltip on top">
            <i class="icon-shopping-cart "></i></div>
                     </div>
                     
                     <div class="col-xs-2">
          	<div class="contentBoxRefIcon animateHoverEase" data-toggle="tooltip" data-placement="top" title="Tooltip on top">
            <i class="icon-shopping-cart "></i></div>
                      <div class="col-xs-2">
          	<div class="contentBoxRefIcon animateHoverEase" data-toggle="tooltip" data-placement="top" title="Tooltip on top">
            <i class="icon-shopping-cart "></i></div>
                     </div>
                     </div>
                     </div>
                     </div>
                     </div>
                     </div>
                  </div>
                  <div class="col-md-8">
                    <div class="contentBox">
                      <div class="contentBoxScreenshot">
                       </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
  </div>

Replies

Replied 11 Oct 2013 09:00:53
11 Oct 2013 09:00:53 Andre Bender replied:
If I place a tooltip link outside your div-construct, it works also. Do you place any z-index with your div?
Replied 11 Oct 2013 09:19:26
11 Oct 2013 09:19:26 Teodor Kuduschiev replied:
Hello,
Please provide a link to your page.
Replied 11 Oct 2013 09:24:48
11 Oct 2013 09:24:48 Andre Bender replied:
Hi Teodor
It's still on a local dev webserver...
It looks like no tooltip shows up when it's placed inside:

<div id="repeat1" data-binding-repeat="{{dsReferenzen.data}}">
...
</div>

When it's inside and I take away the databinding div it's working.
Replied 11 Oct 2013 09:34:17
11 Oct 2013 09:34:17 Andre Bender replied:
I put a test page on our testserver:

testserver.swf.ch/swf2013/test.php
testserver.swf.ch/swf2013/test2.php

test2.php is the same page just without

<div id="repeat1" data-binding-repeat="{{dsReferenzen.data}}">  
...  
</div>

Replied 14 Oct 2013 08:37:18
14 Oct 2013 08:37:18 Teodor Kuduschiev replied:
Hello Andre,

The problem is that the repeat region is rendered later, as it has to wait for the feed to be fully loaded, so when binding the tooltips the repeat region is not there.
I will check for a quick workaround and notify you.
Replied 14 Oct 2013 08:51:54
14 Oct 2013 08:51:54 Andre Bender replied:
Hi Teodor. Thanks for your reply and I'm looking forward to your solution ;-)
Replied 17 Oct 2013 09:40:53
17 Oct 2013 09:40:53 Andre Bender replied:
Hi Teodor. Have you made any progress yet? Thanks
Replied 21 Oct 2013 18:33:03
21 Oct 2013 18:33:03 Andre Bender replied:
I guess this has to do with the repeat region triggering a "repeatRender.dmxDataBindings" event. Can you please give me some hints how to apply this? I'm completly stuck with it. Thanks in advance.
Replied 24 Oct 2013 14:43:19
24 Oct 2013 14:43:19 Andre Bender replied:
May I ask for support on this? Thanks
Replied 29 Oct 2013 20:40:09
29 Oct 2013 20:40:09 Andre Bender replied:
Can you please give me some help on this? Thanks
Replied 30 Oct 2013 16:27:35
30 Oct 2013 16:27:35 Andre Bender replied:
I'm still struggling with this. I bought a lot of new extensions including bootstrap stuff and this tooltip doesn't work when I combine it with HTML5 Data Bindings. There is no programming help around, no description. In another thread you mentioned that there is a "repeatRender.dmxDataBindings" event to be used. Ok, and how do I have to use it? This HTML5 Data Binding is a nice extension but a completly black box.
Thanks for any help.
Replied 30 Oct 2013 17:48:27
30 Oct 2013 17:48:27 Teodor Kuduschiev replied:
Hello,
Actually we do not support any 3rd party functions, that's why i suggested you to listen for this event if you want to load any function.
You can call any function using the behaviors also - using when the data is successfully loaded event.
Replied 30 Oct 2013 18:40:18
30 Oct 2013 18:40:18 Andre Bender replied:
Hi Teodor. This is part of your bootstrap extension, isn't it?

So, I do have to attach a behavior to the datasource and use the Event "when the data is successfully loaded"? But what behavior do I have to use there? I guess an attach event would be correct?

The div should look like this at the end:
<div class="contentBoxRefIcon" data-toggle="tooltip" data-placement="top" title="Tooltip on top">

Or what do you mean exactly?
Replied 30 Oct 2013 18:51:36
30 Oct 2013 18:51:36 Teodor Kuduschiev replied:
No, this is not a part of our bootstrap etension. Our Bootstrap Extensions are:
- Bootstrap Scaffolding
- Bootstrap Elements

We do not have bootstrap javascript plugins as an addon. getbootstrap.com/javascript/

You should use the Dreamweaver call javascript behavior and call the function to be loaded..
Replied 30 Oct 2013 20:00:30
30 Oct 2013 20:00:30 Andre Bender replied:
Ah ok, thanks and sorry for the misunderstanding from my side
Replied 13 Nov 2013 17:17:38
13 Nov 2013 17:17:38 Andre Bender replied:
I'm calling the tooltip function after the data has been loaded with "$('.swfTooltip').tooltip('hide')". This works on my detail page (resize button in the middle content box):

www.swf.ch/referenzen_details.php?KID=32

But it's not working on my basic page (all icons on the left under the text):

www.swf.ch/referenzen.php

What am I doing wrong here? Thanks for any help.
Replied 15 Nov 2013 09:02:45
15 Nov 2013 09:02:45 Andre Bender replied:
Any ideas?
Replied 19 Nov 2013 09:35:03
19 Nov 2013 09:35:03 Andre Bender replied:
Is it correct how I'm calling the tooltip script? Thanks for any help
Replied 20 Nov 2013 10:13:55
20 Nov 2013 10:13:55 Teodor Kuduschiev replied:
Hello,

On the page that this is not working i see something strange in your code:

<a class="contentBoxRefIcon animateHoverEase swfTooltip" href="referenzen_details.php?KID=32" dat-binding-id="repeat3" title="Datenbankanbindung" data-placement="top" data-toggle="tooltip">

Shouldn't the bold text be "data-binding-id"?
Also - what happens if the tooltip on this page is taken out of this repeat region?
Replied 20 Nov 2013 10:40:06
20 Nov 2013 10:40:06 Andre Bender replied:
Hi Teodor
I don't know where this code-block comes from .. strange .. however. It didn't cause the problem.
The tooltip is working outside repeat region (hover the button next to the title Referenzen):
www.swf.ch/referenzen_test.php
Replied 25 Nov 2013 17:28:44
25 Nov 2013 17:28:44 Andre Bender replied:
No replies anymore?!

Reply to this topic