Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • rwatt Friend
    #1010237

    For several pages on my site…
    I have multiple Features-Intro modules in a container-tabs position,
    The tab titles link to and URL like ".mod-nnn" where nnn= the moduleId#
    All works okay, but Google reports that link eg. https://empowerednetworks.com/.mod-571 as a 404.

    Is there something more required?

    Pankaj Sharma Moderator
    #1010408

    Hi
    Open /acm/container-tabs/tmpl/style-1.php file
    Find

    
                                <a href="#mod-<?php echo $module->id ?> .mod-<?php echo $mod->id ?>" role="tab"

    Replace it with

    
                                <a href="#mod-<?php echo $module->id ?> mod-<?php echo $mod->id ?>" role="tab"

    save file and then check if there is any errors.
    Let me know if it helps.

    Regards

    rwatt Friend
    #1010672

    I don’t believe that worked properly.
    I can’t be sure I implemented it correctly, but that appears to have disabled the tabs.

    Perhaps it’s something more like we’re blocking an essential script for Googlebot to understand?

    Pankaj Sharma Moderator
    #1010722

    Hi
    The change in code will add the #mod in the URL and nit give the 404. Kindly check it again and give me site admin details if there is issue in tabs after changing with issue details .

    rwatt Friend
    #1012611

    I’ll need some time to replicate more faithfully, and refresh a dev site I can provide access to.

    I’m more inclined to think the cause is that we’re blocking .JS or .CSS that Google needs to interpret properly. The module works correctly for users/visitors.

    Pankaj Sharma Moderator
    #1012622

    Hi
    The suggestion will fix the 404 issue and make # in the URL.
    If you have any othet issue kindly open a separate thread with topic subject and all issue details.
    Regards

    rwatt Friend
    #1013598

    I believe my developer got this resolved… slightly different resolution, it seems.

                <!--<a href="#mod-<?php echo $module->id ?> .mod-<?php echo $mod->id ?>" role="tab"-->
    
                            <a href="#mod-<?php echo $module->id ?> #mod-<?php echo $mod->id ?>" role="tab"
                                     data-toggle="tab"><?php echo $mod->title ?></a>
    

    Image attached shows before on production site, after on /development-3
    Uber Template rev is 2.1.3 … we’ll update soon.

    Please advise if you need access


    1. joomlart-container-tab-link-errors
    Pankaj Sharma Moderator
    #1013610

    Hi please attach the modified file here. I will take it as improvement in the template and forward it to development team for next Uber update.
    Regards

    rwatt Friend
    #1013664

    I think this is it.

    rwatt Friend
    #1013665

    I think this is our revised file.

    rwatt Friend
    #1013669

    This is NOT the revised file contents.

    rwatt Friend
    #1013670

    This time I got it.

    <?php
        $items_position = $helper->get('position');
        $mods = JModuleHelper::getModules($items_position);
        $fullWidth                  = $helper->get('full-width');
    ?>
    <div class="section-inner <?php echo $helper->get('block-extra-class'); ?>">    
        <?php if($module->showtitle || $helper->get('block-intro')): ?>
        <h3 class="section-title ">
            <?php if($module->showtitle): ?>
                <span><?php echo $module->title ?></span>
            <?php endif; ?>
            <?php if($helper->get('block-intro')): ?>
                <p class="container-sm section-intro hidden-xs"><?php echo $helper->get('block-intro'); ?></p>
            <?php endif; ?> 
        </h3>
        <?php endif; ?> 
        <div class="acm-container-tabs tabs-<?php echo count($mods) ?>" id="mod-<?php echo $module->id ?>">
            <div class="container-tabs-nav">
                <div class="container">
    
                    <!-- BEGIN: TAB NAV -->
                    <ul class="nav nav-tabs" role="tablist">
                        <?php
                        $i = 0;
                        foreach ($mods as $mod):
                            ?>
                            <li class="<?php if ($i < 1) echo "active"; ?>">
                                <!--<a href="#mod-<?php echo $module->id ?> .mod-<?php echo $mod->id ?>" role="tab"-->
                                <a href="#mod-<?php echo $module->id ?> #mod-<?php echo $mod->id ?>" role="tab"
                                     data-toggle="tab"><?php echo $mod->title ?></a>
                            </li>
                            <?php
                            $i++;
                        endforeach
                        ?>
    
                    </ul>
                    <!-- END: TAB NAV -->
                </div>
            </div>
    
            <!-- BEGIN: TAB PANES -->
            <div class="tab-content">
                <?php if(!$fullWidth): ?><div class="container"><?php endif; ?>
                <?php
                echo $helper->renderModules($items_position,
                    array(
                        'style'=>'ACMContainerItems',
                        'active'=>0,
                        'tag'=>'div',
                        'class'=>'tab-pane fade'
                    ))
                ?>
                <?php if(!$fullWidth): ?></div><?php endif; ?>
            </div>
            <!-- END: TAB PANES -->
        </div>
    </div>
    Pankaj Sharma Moderator
    #1013723

    Thanks for share. I opened a report for dev team for this issue.
    You can track it Here

    Regards

Viewing 13 posts - 1 through 13 (of 13 total)

This topic contains 12 replies, has 2 voices, and was last updated by  Pankaj Sharma 7 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum