Modules doesn't appear in new created block after removing message & component - JoomlArt
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • Pankaj Sharma Moderator
    #1026101

    Hi
    Kindly share your site super user details with Admin path, so that i can check it on your site.

    Regards

    204kallisto Friend
    #1026177
    This reply has been marked as private.
    Pankaj Sharma Moderator
    #1026183

    Hi
    I saw the changes you did.
    You removed the component section that results there is no container to show the output of the menu.
    http://prntscr.com/evvkv7

    I suggest you to revert the changes and if you want to add a module position in that place, you can add module position code in the component container.
    So that you will have module position as well as the component section to display articles and all other output.

    Regards

    204kallisto Friend
    #1026269

    I suggest you to revert the changes

    now i have restored the component and message sections,

    you can add module position code in the component container.

    but i do not know how can i do that. Can you please explain me how can i add module position code in the container?

    Regards

    Pankaj Sharma Moderator
    #1026358

    Hi
    Open the mainbody php file again
    Find

    ​<!-- MAIN CONTENT -->
            <div id="t3-content" class="t3-content col-xs-12 col-md-6  col-md-push-3">
                <?php if($this->hasMessage()) : ?>
                <jdoc:include type="message" ></jdoc:include>
                <?php endif ?>
                <jdoc:include type="component" ></jdoc:include>
            </div>
            <!-- //MAIN CONTENT -->

    Replace it with

    ​<!-- MAIN CONTENT -->
            <div id="t3-content" class="t3-content col-xs-12 col-md-6  col-md-push-3">
                <?php if($this->hasMessage()) : ?>
                <jdoc:include type="message" ></jdoc:include>
                <?php endif ?>
                <jdoc:include type="component" ></jdoc:include>
    
     <jdoc:include type="modules" name="<?php $this->_p('clan-news') ?>" />
       </div>
            <!-- //MAIN CONTENT -->

    You will see the module position under the component section.

    Regards

    204kallisto Friend
    #1026464

    I add following articles /Modules to the new section "clan-news":
    Why we do it
    Funkfeuer (JJ Shoutbox)
    Articles Most Read

    But nothing is showing up on the page.

    Additional to your instruction i add these lines:

    Joomlatemplatespurity_iiitemplateDetails.xml

    <position>clan-news</position>

    Jommlatemplatespurity_iiilocaletclayoutHP-Clan-test.ini

    ​[clan-news]
    position="clan-news"
    Pankaj Sharma Moderator
    #1026759

    Hi
    You added the code in two sidebar main body but you are not using two sidebars anywhere on site.
    I just added the code in "/tpls/blocks/mainbody/one-sidebar-right-with-mastcol.php" in template "purity_iii".
    kindly check your site now.
    Module are showing.

    Regards

    204kallisto Friend
    #1027010

    Thanks a lot, it works.

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

This topic contains 8 replies, has 2 voices, and was last updated by  204kallisto 4 months ago.

The topic ‘Modules doesn't appear in new created block after removing message & component’ is closed to new replies.