test
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • jm1100 Friend
    #208884

    Hi again guys,

    Hope your fine.

    I’ve been looking for some thread about it but I didn’t found anything.

    So here is my issue : I wonder how to display one entire article in uber-business layout, without including it in a ACModule, mainly for SEO issues.
    And if possible, to do it before “business-home” position.

    This is about using joomla in a classic and easy way : article, category and item menu “Article”.
    There is a “message” position in this layout, but it doesn’t display anything.
    If I use another template for this menu item, header and footer disappear obviously…

    Thanks for your help.

    JM

    Adam M Moderator
    #577808

    Hi @jm1100,

    Assuming that you’re using layout home-business, please open file templatesubertplshome-business.php and look for this part :

    <?php $this->loadBlock('home') ?>

    <?php if($this->hasMessage()) : ?>
    <div class="container">
    <jdoc:include type="message" />
    </div>
    <?php endif ?>

    then change as below :

    <?php $this->loadBlock('mainbody') ?>

    <?php $this->loadBlock('home') ?>

    Adam M Moderator
    #644102

    Hi @jm1100,

    Assuming that you’re using layout home-business, please open file templatesubertplshome-business.php and look for this part :

    <?php $this->loadBlock('home') ?>

    <?php if($this->hasMessage()) : ?>
    <div class="container">
    <jdoc:include type="message" />
    </div>
    <?php endif ?>

    then change as below :

    <?php $this->loadBlock('mainbody') ?>

    <?php $this->loadBlock('home') ?>

    Adam M Moderator
    #742737

    Hi @jm1100,

    Assuming that you’re using layout home-business, please open file templatesubertplshome-business.php and look for this part :

    <?php $this->loadBlock('home') ?>

    <?php if($this->hasMessage()) : ?>
    <div class="container">
    <jdoc:include type="message" />
    </div>
    <?php endif ?>

    then change as below :

    <?php $this->loadBlock('mainbody') ?>

    <?php $this->loadBlock('home') ?>

    jm1100 Friend
    #577815

    Works perfectly 😀 *Infinite thanks*

    Just a detail : it creates a space between the mainmenu and the first module in the other pages :

    Is it possible to avoid it ?

    regards,

    JM

    jm1100 Friend
    #644109

    Works perfectly 😀 *Infinite thanks*

    Just a detail : it creates a space between the mainmenu and the first module in the other pages :

    Is it possible to avoid it ?

    regards,

    JM

    jm1100 Friend
    #742744

    Works perfectly 😀 *Infinite thanks*

    Just a detail : it creates a space between the mainmenu and the first module in the other pages :

    Is it possible to avoid it ?

    regards,

    JM

    Adam M Moderator
    #577946

    Hi @jm1100,

    In this case, please duplicate file home-business.php and named it home-business-custom.php. Use layout home-business-custom in your home page, revert changes in file home-business.php and use it for all the rest.

    jm1100 Friend
    #577994

    Perfect !

    Thanks 🙂

    jm1100 Friend
    #644285

    Perfect !

    Thanks 🙂

    jm1100 Friend
    #742918

    Perfect !

    Thanks 🙂

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

This topic contains 11 replies, has 2 voices, and was last updated by  jm1100 9 years, 5 months ago.

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