Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • slepoy Friend
    #183880

    Hell.
    I use the great template Ja Elastica and want to add new position under the TopMenu to show banner or custom-html module in one line (like a “footer”).

    I edited ja_elasticaetclayoutsdefault.xml by adding
    <block name="reklama" >banner</block>
    into <blocks name=”top” style=”xhtml”> block.

    I edited ja_elasticapagedefault.phpby adding

    <?php if ($this->hasBlock('reklama')):
    $block = &$this->getBlockXML('reklama');
    ?>
    <?php $this->showBlock ($block); ?>
    <?php endif ?>

    before <!– MAIN CONTAINER –>

    But after I see only “conteiner/blosk” without any modul’s content – it display to anyone if module unpublished (You can see it on the screenshot).
    I did smth wrong. What should I try? Thanks.


    1. ja_elastica-add-new-module
    Luna Garden Moderator
    #479757

    Hello,

    In order to add new position under the TopMenu to show banner or custom-html module in one line (like a “footer”), please go to this file:
    <blockquote>templatesja_elasticaetclayoutsdefault.xml</blockquote>

    Find these lines:

    blocks name="top" style="xhtml">
    <block name="header" type="header" main-inner="1"></block>
    </blocks>

    change to :

    blocks name="top" style="xhtml">
    <block name="header" type="header" main-inner="1"></block>
    <block name="banner">banner</block>
    </blocks>

    With the module you wanna add, please assign to position ‘banner’

    slepoy Friend
    #480060

    Thanks it helps! 🙂
    You can mark it as solved.

    slepoy Friend
    #480451

    It works perfect If I publish any type of modules (custom html etc).
    But it doesn’t display image or code of banner. Please look at the screenshots:


    1. banner-no-img
    2. banner-setting
    3. banner-module-setting
    Luna Garden Moderator
    #480579

    Hello,

    It should display the image, I have tried on our demo and the image does appear, for example, the Custom HTML module.

    Did you try to show your module in other position, and it shows the image ?

    maweb Friend
    #486496

    Hi!
    I have a question along this issues, I have added a banner and inserted a slideshow, it all went well. Now I want to add a modul on the right side of the slideshow but can’t figure out how to do it. The modul appears underneath the slideshow.

    the link for the site is: http://restart.at/

    Thanks.

    Luna Garden Moderator
    #486831

    Hi,

    I have checked your site, but not see the module that’s on the right side of the Slideshow. I guess you can add a class suffix to that module, then add style : <blockquote>float: left</blockquote> to it.

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

This topic contains 7 replies, has 3 voices, and was last updated by  Luna Garden 11 years, 8 months ago.

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