-
AuthorPosts
-
October 6, 2010 at 9:33 am #154987
Hi all,
do you know how to insert a new module position in mainnav?I would like to achieve the result you can see in image below…
thank you all!
Alex
korb Friendkorb
- Join date:
- March 2008
- Posts:
- 315
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 40
- Thanked:
- 48 times in 39 posts
October 6, 2010 at 10:52 am #357927<em>@korb 197140 wrote:</em><blockquote>In the template you have, create a block override for mainnav.php to include your desired position.
D ;)</blockquote>
Yeee, done.
I have added<?php if($this->countModules('rss')) : ?>
<div id="ja-rss">
<jdoc:include type="modules" name="rss" />
</div>
<?php endif; ?>in mainnav.php
and
/* Rss Module ---*/
#ja-rss { bottom: 8px; position: absolute; right: 10px; }in template.css.
Thank you very much!
Alexkorb Friendkorb
- Join date:
- March 2008
- Posts:
- 315
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 40
- Thanked:
- 48 times in 39 posts
October 6, 2010 at 4:23 pm #357950Excellent, this could go into tips & tricks section of our forum.
DJanuary 31, 2011 at 3:06 pm #374606Can you explain tutorial step by step? I am trying to get search module in this position,
ThanxSherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
February 1, 2011 at 10:12 am #374708Dear secherzade,
You can take following steps
1) Copy the file of mainnav.php from the base themes folder to your template folder if it is not there,that mean copy the file of pluginssystemjat3base-themesdefaultblocksmainnav.php ,put it into the folder of templatesja_teline_iii_v2blocks2) Open the copied and do as efestione’s guide (above)
I hope it is clear enought for you !
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 4 voices, and was last updated by Sherlock 13 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
New module position in mainnav
Viewing 6 posts - 1 through 6 (of 6 total)