Support Inquiry

Permalink Browser Info Environment
Hi there,

This is to update you that the package I have purchased for Magic Tabs is not working. When I click on any tab, nothing happens.

As when I click on any one tab it should display its content but it does nothing. I need your support for same to make the package operational. I would greatly appreciate any help you can give.

Thanks for your time, I look forward to your response.

Rolf

1 Attachment

Type: Ticket
Status: Archived
vectorwebadmin
View Replies:
JohntheFish replied on at Permalink Reply
JohntheFish
Can you give me a link to a the page with the tabs on please, so I can look at what is happening in the browser developer console.
vectorwebadmin replied on at Permalink Reply
vectorwebadmin
Thanks for the response. Please have a look on this link

http://49.249.236.30:92/concrete_deftsoft/index.php/eu-en/products/...

I have created three tabs along with the block of content below each tab, but click on tabs not working. I have also checked the developer console but nothing happening on click of tabs.
JohntheFish replied on at Permalink Reply
JohntheFish
The problem arises from an over-greedy jQuery selector for soft scroll (?) at the bottom ofhttp://49.249.236.30:92/concrete_deftsoft/packages/theme_stucco/the...

$(function() {
  $('a[href*="#"]:not([href="#"])').click(function() {    ////// THIS LINE
    if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
      var target = $(this.hash);
      target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
      if (target.length) {
        $('html,body').animate({
          scrollTop: target.offset().top
        }, 800);
        return false;
      }
    }
  });
});


The selector is attaching stucco's handler to all '#' in-page hrefs, which is also grabbing the hrefs in the tabs and hence preventing the tabs from working.
JohntheFish replied on at Permalink Reply
JohntheFish
Ideally the stucco theme should be a bit more intelligent about which links it adds smooth scrolling to. I can see a similar theme issue randomly interfering with anything that uses local # hrefs including ajax interactions, paginators, tablesorter, sliders....

The solution is to either delete that section of soft scroll from the theme, or extend the selector to eliminate anything to do with magic tabs. An un-tested idea would be to insert
.not('[href^="#jl_magic"]')

Which is essentially saying "but don't attach to any href that begins #jl_magic"
ConcreteCMS replied on at Permalink Reply
ConcreteCMS
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.

To re-open this issue, reply to this message.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.3.2
Version Installed - 8.3.2
Database Version - 20180122213656

# concrete5 Packages
Magic Tabs (7.1.4), Migration Tool (0.9.0), Page Redirect (2.0), Page Selector Attribute (2.0), Stucco (2.1.5)

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.18 (Ubuntu)

# Server API
apache2handler

# PHP Version
7.0.30-0ubuntu0.16.04.1

# PHP Extensions
apache2handler, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, intl, json, libxml, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, Phar, posix, readline, Reflection, session, shmop, SimpleXML, sockets, SPL, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
sql.safe_mode - Off
upload_max_filesize - 2M
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
opcache.max_accelerated_files - 2000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.