-
AuthorPosts
-
June 15, 2013 at 5:34 pm #188258
Hello,
How do i hide the mainbody on the frontpage?
Also i like to change the logo and text in the footer but how do i do that?
June 17, 2013 at 8:59 am #496046Nobody has a solution? 🙂
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
June 18, 2013 at 1:43 am #496107Hi,
<blockquote>How do i hide the mainbody on the frontpage?</blockquote>
In this case, you need to create a clone layout named Home-copy which doesn’t contain mainbody section. Here is detailed guide:1. Clone & put home-copy.php in templatesja_merotpls path. In the new layout, pls comment or remove line:
<blockquote><?php $this->loadBlock (‘mainbody-home’) ?></blockquote>
2. Go to Template Manager >> JA_Mero_Style >> Select home-copy in Layouts tab. Then save & assign this template style to Home menu item.
<blockquote>Also i like to change the logo and text in the footer but how do i do that?</blockquote>
– Logo: Open templatesja_merolessstyle.less, then find lines:.copyright {
background: url(../images/footer-logo.png) no-repeat left center;
}
And change with your new logo.– Text: Open templatesja_merotplsblocksfooter.php, then find lines:
<section class="ja-copyright">
<div class="container">
<div class="row">
<div class="span8 copyright<?php $this->_c('footer')?>">
<jdoc:include type="modules" name="<?php $this->_p('footer') ?>" />
</div>
<?php if($this->getParam('t3-rmvlogo', 1)): ?>
<div class="span4 poweredby">
<small><a href="http://t3.joomlart.com" title="Powered By T3 Framework" target="_blank">Powered by <strong>T3 Framework</strong></a></small>
</div>
<?php endif; ?>
</div>
</div>
</section>Go to Module Manager >> Look for Footer module if you want to disable/enable it.
Note: Make sure that you backup your files before applying changes.
June 25, 2013 at 2:49 pm #496886Sorry for the late reaction but with this example all my modules are gone not only the mainbody… Another clue?
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
June 26, 2013 at 1:10 am #496935Hi wolfje,
<blockquote>Your requirement: How do i hide the mainbody on the frontpage?</blockquote>
<blockquote>this example all my modules are gone not only the mainbody</blockquote>
Yes. The modules in mainbody block will disappear if you applied my above codes. Do you want to hide the mainbody block or the component content ? Pls make us clear.
June 26, 2013 at 7:48 am #496993Ow sorry, the component content.. I was wrong, 🙂
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
June 26, 2013 at 1:19 pm #497031Hi wofje,
Well, pls backup your files & open templatesja_merotplsblocksmainbody-home.php. Then remove or comment line:
<jdoc:include type="component" />
* Apply this tip for mainbody-content-left.php file if you are assigning “default” layout to Home menu item.
nicely Friendnicely
- Join date:
- July 2008
- Posts:
- 66
- Downloads:
- 51
- Uploads:
- 6
- Thanks:
- 24
- Thanked:
- 1 times in 1 posts
July 11, 2013 at 4:53 pm #498747Sorry to resurrect this thread slightly, but Leo’s last solution doesn’t work fully (at least on v1.0.3). It removed the white component box, but the box contents still remain. I would like to hide both box and contents. If possible for selected styles.
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
July 12, 2013 at 12:11 am #498757Hi nicely,
Atfer removing component in mainbody-home block, You need to assign a JA_Mero_style containing the Home layout (Layout setting tab) to Home menu item.
* By default in our JA Mero quickstart, the JA_Mero_Home is assigned to Home menu item.
AuthorPostsViewing 9 posts - 1 through 9 (of 9 total)This topic contains 9 replies, has 3 voices, and was last updated by phong nam 11 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Change footer and delete mainbody
Viewing 9 posts - 1 through 9 (of 9 total)