Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • midhat Friend
    #195146

    Hi,
    I’m trying to put the module into position message, but it does not appear.
    What’s the problem with this position?

    Thanks,
    Midhat

    pavit Moderator
    #524075

    Hi

    Position messsage is the position used by Joomla to post system messages, so maybe would be better to use another position

    midhat Friend
    #524076

    Thank you for your prompt response.
    Is it possible to create a new module position below the “message”

    pavit Moderator
    #524077

    <em>@midhat 413048 wrote:</em><blockquote>Thank you for your prompt response.
    Is it possible to create a new module position below the “message”</blockquote>

    Of course you can take a look HERE

    midhat Friend
    #524113

    Ok, I want module position “social” between “message” and “component”

    1. I created a module position in a file templateDetails.xml:
    <position>social</position>
    2. Then I added in /blocks/mainbody/two-sidebar.php this line:
    <jdoc:include type=”modules” name=”<?php $this->_p($social) ?>” style=”JAxhtml” />
    (before: <jdoc:include type=”component” />)
    3. Position appeared in the backend, but no name (only Auto). I add her name, but it disappears after saving

    4. When I add a module to the position “social” he does not appear. What did I miss?

    Thanks in advance,
    Midhat


    1. social
    midhat Friend
    #526474

    Any suggestions?
    Please.

    pavit Moderator
    #526498

    Hi

    Use this statement

    <div class="main-content-inner">
    <jdoc:include type="message" />
    <jdoc:include type="module" name="social" title="social" style="JAxhtml" />
    <jdoc:include type="component" />
    </div>

    midhat Friend
    #526503

    Thanks,
    I now have a module position and the name of the position in the backend. I put the module in a social position, but does not work in the frontend.

    pavit Moderator
    #526505

    I think you should add your new position below the content-mass-top position

    Message and component positions are showed if some conditions are verified ( e.g. error ) so the behaviour is a bit different from a normal module position.

    midhat Friend
    #526506

    Thank you,
    but this position may not be as wide as the entire wesite, only as a component position. In addition to the social position should be sidebar-2 on the right

    midhat Friend
    #528604

    I tried with this code, but still does not work. Everything is fine in the backend (module position appears in the layout tab and in module configuration) , but in frontend module does not appear

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

    Nazario A Friend
    #528744

    @midhat,

    I tried to add your code at my end (to this file templatest3_bs3_blanktplsblocksmainbodytwo-sidebar.php), then assign “About Joomla” module to ‘social’ position, I see it works as normal:

    Please try again. If the problem still persists, pls PM me the URL, admin and FTP credential of your site, I will help you out.


    1. 15
    2. 14
    3. 16
    midhat Friend
    #529179

    I sent You PM. Thanks

    Nazario A Friend
    #529706

    @midhat,

    Please check the FTP credentials again, I still fail to access with FTP you provided.

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

This topic contains 14 replies, has 3 voices, and was last updated by  Nazario A 10 years, 7 months ago.

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