-
AuthorPosts
-
slepoy
Friend
slepoy
- Join date:
- January 2013
- Posts:
- 103
- Downloads:
- 10
- Uploads:
- 67
- Thanks:
- 19
- Thanked:
- 7 times in 5 posts
January 11, 2013 at 10:45 pm #183880Hell.
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.
Luna Garden Moderator
Luna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
January 15, 2013 at 4:02 am #479757Hello,
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
slepoy
- Join date:
- January 2013
- Posts:
- 103
- Downloads:
- 10
- Uploads:
- 67
- Thanks:
- 19
- Thanked:
- 7 times in 5 posts
January 16, 2013 at 6:39 pm #480060Thanks it helps! 🙂
You can mark it as solved.
slepoy
Friend
slepoy
- Join date:
- January 2013
- Posts:
- 103
- Downloads:
- 10
- Uploads:
- 67
- Thanks:
- 19
- Thanked:
- 7 times in 5 posts
January 19, 2013 at 11:04 am #480451It 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:
Luna Garden Moderator
Luna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
January 21, 2013 at 8:52 am #480579March 14, 2013 at 12:20 pm #486496Hi!
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
Luna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
March 18, 2013 at 9:04 am #486831AuthorPostsViewing 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, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum



