Search
Other Tabs & Accordions questions
Forum

Getting the tabs duplicated when using CB code

Marcus Stafford's Avatar Marcus Stafford
My code is:
{tib title="Employment" wrap-buttons="true"} [cb:usertab tab="30" user="#displayed" /]
{tib title="Education"} [cb:usertab tab="28" user="#displayed" /]
{tib title="Sponsor"} Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.
{/tibs}

but it displays the tabs twice.

pasteboard.co/eKYzWDwf5vzA.png

First with no CB content and then with the correct content. I've renamed the syntax to tibs as I assumed it was the tab within the CB code which was confusing it.

Any suggestions as I'm almost there with this and I'm running out of coffee.
Peter van Westen's Avatar Peter van Westen ADMIN
No idea.


Try placing the tags on their own paragraph lines.

So in html it would look like:
<p>{tib title="Employment" wrap-buttons="true"}</p>
<p>[cb:usertab tab="30" user="#displayed" /]</p>
<p>{tib title="Education"}</p>
<p>[cb:usertab tab="28" user="#displayed" /]</p>
<p>{tib title="Sponsor"}</p>
<p>Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.</p>
<p>{/tibs}</p>
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription