I haven't been able to get any attention on this on the Quick Tabs project for whatever reason so I thought I'd post this here, as I'm not sure where this error is coming from - Views or QuickTabs.
If, for some reason there isn't enough info here to correctly diagnose the error, please do me the courtesy of letting me know. I'd really like to find a solution to the problem, whether it's caused by my own ignorance, or there is something wrong with how this view is constructed, or if I'm just being an idiot and missing something obvious.
Let me preface this by saying I'm not entirely sure that this is a bug, but not being able to find a reason for this happening, I thought it the best place to start. And I can't tell if it's coming from Quicktabs or Views.
I'm using Drupal 7, with Views 3 and the latest version of the quicktabs module and I'm trying to build a view that uses quicktabs as the display.
For some reason I noticed that it's wrapping an anchor inside another anchor in the output. Have no idea where that's coming from.
Here is an example of the output: (Screenshot of the output)
<div id="quicktabs-view__fp_category_view__block_1" class="quicktabs-wrapper quicktabs-style-nostyle">
<div class="item-list">
<ul class="quicktabs-tabs quicktabs-style-nostyle">
<li class="active first"><a href="/node?qt-view__fp_category_view__block_1=0#qt-view__fp_category_view__block_1" id="quicktabs-tab-view__fp_category_view__block_1-0" class="active"><a href="/motivation">Motivation</a></a></li>
<li><a href="/node?qt-view__fp_category_view__block_1=1#qt-view__fp_category_view__block_1" id="quicktabs-tab-view__fp_category_view__block_1-1" class="active"><a href="/donor-recognition">Donor Recognition</a></a></li>
<li><a href="/node?qt-view__fp_category_view__block_1=2#qt-view__fp_category_view__block_1" id="quicktabs-tab-view__fp_category_view__block_1-2" class="active"><a href="/rotary">Rotary</a></a></li>
<li><a href="/node?qt-view__fp_category_view__block_1=3#qt-view__fp_category_view__block_1" id="quicktabs-tab-view__fp_category_view__block_1-3" class="active"><a href="/business">Business</a></a></li>
<li><a href="/node?qt-view__fp_category_view__block_1=4#qt-view__fp_category_view__block_1" id="quicktabs-tab-view__fp_category_view__block_1-4" class="active"><a href="/education">Education</a></a></li>
<li><a href="/node?qt-view__fp_category_view__block_1=5#qt-view__fp_category_view__block_1" id="quicktabs-tab-view__fp_category_view__block_1-5" class="active"><a href="/sports">Sports</a></a></li>
<li class="last"><a href="/node?qt-view__fp_category_view__block_1=6#qt-view__fp_category_view__block_1" id="quicktabs-tab-view__fp_category_view__block_1-6" class="active"><a href="/associations">Associations</a></a></li>
</ul>
</div>No strange settings in Views, it's really nothing other than a simple view built with quicktabs as the display type and no style applied. But even when a style is applied there is no change.
As you can see it's wrapping the nodes and then the link within each other and the < characters are being output as "& gt;". I can't find where to fix this in the module, as I'm not quite sure where to look but if someone could point me in the right direction on how to correct this issue, I'd be most grateful.
Thanks in advance.
Comments
Comment #1
roborracle commentedComment #2
roborracle commentedAny hints on what to do to get some sort of response from anyone?
Comment #3
kari.kaariainen commentedMoved back to Quick Tabs and changed some other settings.
Comment #4
kari.kaariainen commented"Any hints on what to do to get some sort of response from anyone?" Your question was a little wordy and took me a while to find the actual question. Also the Evernote link didn't work. And this is clearly a Quick tabs problem.
With default settings, this happens because the title field is a link and the html is converted to entities when printed as tabs. So if you un-check the "Link this field to the original piece of content" on the Title field (or whatever field you are using as the tab title) you get rid of the funny html tab titles.
I hope that was your problem, as I couldn't see the screenshot. The situation above is definitely reproducable, though.
I'm not sure this can be called a bug. Somehow the module should warn about this situation.
Comment #5
kari.kaariainen commentedComment #6
gurtner commentedI was having the same problem. Here's a screenshot of mine:
I took your advice and unchecked the box "Link this field to the original piece of content" and now it's working fine:
Thanks, kari.kaariainen!
Comment #7
smustgrave commentedWith D7 EOL approaching in a month I'm starting to triage the D7 side of quicktabs queue.
If still an issue or needed for 4.0.x (latest branch) feel free to reopen