Tabs Display Issue

4 posts by 2 authors in: Forums > CMS Builder
Last Post: February 24, 2017   (RSS)

By ross - February 22, 2017

Hi Bryan

I had a quick look through your code and nothing is jumping out at me as the issue.

If you like, we can take a much more indepth through consulting. You just need to email through consulting@interactivetools.com and we'll go from there.

Another option is to see if anyone else in the community is able to take a stab at it.

Let me know what you think.

Thanks!

-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

By bryant - February 24, 2017

Hi Ross,

I was able to correct the issue by adding this if statement around the <li> tags and it removed the tabs when there was no data entered into a field in the CMS Builder.

<?php if ($event_listingsRecord['participants_title']): ?>
<li class="">
<a data-toggle="tab" href="#tab-3" aria-expanded="false">
<?php echo htmlencode($event_listingsRecord['participants_title']) ?></a>
</li>
<?php endif; ?>

Bryan

Attachments:

event-tabas-fixed.png 15K

By ross - February 24, 2017

Hi Bryan

Glad you got that resolved.

Thanks for posting the solution to this as well :).

Let me know any other questions.

-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/