Hi, i'm trying to use this module in a view, but i'm having the following problems.
I rewrite the output of content link as follows:
Text output: <i class="fa fa-link"></i> //to display the link using fontawesome
Display as a link: check
Link classes: jquery_ajax_load_TB bs_modal
In the output a i get the following (using Firebug):

<a class="jquery_ajax_load_TB bs_modal jquery-once-3-processed" title="Display" href="/node/48">
<i class="fa fa-link"></i>
</a>

But when i clic on the link a modal appears but it is unable to load the content.
Using Firebug's Console i get the following error:

"NetworkError: 404 Not Found - http://control.dev/bs_modal/node/48?_=1422224794546"

That is correct, there is nothing under /bs_modal/* but i don't understand why is trying to GET the node content from there. Also i don't know why it adds this part at the end of the url: ?_=1422224794546

If i go to http://control.dev/node/48 i access the content without problems.

On the Test page i get the same results.

Can anyone have the time to explain what i'm doing wrong, or what is the correct configuration to get it done?

Comments

eebanos’s picture

Issue summary: View changes
eebanos’s picture

Issue summary: View changes
ismail cherri’s picture

Hi,
I pulled my hair because of this, but I found that these classes work:
class="twitter_bootstrap_modal bs_modal"

eebanos’s picture

Hi Ismail Cherri, thanks for having the time to comment. Can you provide in detail your full module configuration, what jQuery version are you using, etc?, i have tried changing the name of the classes but i got the same result.

ismail cherri’s picture

Hi eebanos,
Modules enables:
1. jQuery Update
2. Twitter bootstrap modal
3. jQuery AJAX load

My module versions are:
1. Twitter bootstrap modal: Version: 7.x-3.5
2. jQuery AJAX load: Version: 7.x-1.4

My jQuery version is: 1.10 using no CDN

Configuration for jQuery AJAX load:
CSS class: .jquery_ajax_load
ID: #jquery_ajax_load_target
All check boxes are unchecked

Configuration for Twitter bootstrap load:
Valid jQuery Classes/IDs to trigger TB Modal via Ajax (One per line) : .twitter_bootstrap_modal
Valid jQuery Classes/IDs to tell TB Modal to load with full modal code (One per line) : .tb_modal

maxplus’s picture

Hi Ismail Cherri,

thanks for your detailed comment.

I have set my settings the same as yours and indeed everything is working fine now,

Great!

socialnicheguru’s picture

do you need jquery 1.10? I am using 1.7.