-
AuthorPosts
-
raulmvega Friend
raulmvega
- Join date:
- August 2011
- Posts:
- 45
- Downloads:
- 1
- Uploads:
- 3
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
March 13, 2012 at 9:49 pm #174957Hi.
I need to create a new module position to add a menu. I´ve read info about this but I don´t know where to start. I believe it must be easy, but I don´t get it.
Could you help me?
I show you the position in the picture
Thanks!
Manos ModeratorManos
- Join date:
- February 2014
- Posts:
- 2806
- Downloads:
- 46
- Uploads:
- 56
- Thanks:
- 200
- Thanked:
- 633 times in 576 posts
March 14, 2012 at 4:44 am #443548Hello,
Have you read this HOW to CREATE A NEW MODULE POSITION from TomC ? I think it’s the answer to all your questions on creating the module position you need!!
Regards
1 user says Thank You to Manos for this useful post
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
March 14, 2012 at 6:49 am #443573If I may just offer up an additional comment to my friend pascm’s kind reference . . . .
If you are going to want to add an additional module position for a MENU, there will of course be some additional steps/elements that you will be needing to configure – due to the nature of the type of module you are wanting to add. (i.e. additional css for styling and positioning the menu).
For example . . . for STEP THREE of the tutorial pacsm linked for you above . . . if you are going to want to set up a position for a specialized module – such as a menu or a search module or something like that, you likely would need to use something similar to the following within the relative block layout file (for example only) . . .
<blockquote>
<?php if($this->countModules(‘newmenu’)) : ?>
<div id=”newmenu”>
<jdoc:include type=”modules” name=”newmenu” />
</div>
<?php endif; ?>
</blockquote>
Might I ask what kind of menu you are wanting to position in the spot you indicated?
raulmvega Friendraulmvega
- Join date:
- August 2011
- Posts:
- 45
- Downloads:
- 1
- Uploads:
- 3
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
March 14, 2012 at 2:53 pm #443621Hi.
I want to put there a menu, but only 3 menu items, so I can do it “manually”, write the text “home” and “contact” and set the links to their pages, is not necessary to be a menu module. It can be normal module, if it´s easer to do.
Thanks!!!
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
March 14, 2012 at 5:34 pm #443643<em>@raulmvega 307450 wrote:</em><blockquote>Hi.
I want to put there a menu, but only 3 menu items, so I can do it “manually”, write the text “home” and “contact” and set the links to their pages, is not necessary to be a menu module. It can be normal module, if it´s easer to do.
Thanks!!!</blockquote>
For what you are describing above, yes it will be easier to do – and you can do it within a custom_html mod with some relatively simple formatting/styling and anchor linksActually, here is an earlier tutorial I wrote that is even a bit more specific for what you want to do –>
HOW TO CREATE A TOP MENU IN ANY J1.7 TEMPLATE(yes, the same method works with/for J2.5 – never fear)
😎
1 user says Thank You to TomC for this useful post
raulmvega Friendraulmvega
- Join date:
- August 2011
- Posts:
- 45
- Downloads:
- 1
- Uploads:
- 3
- Thanks:
- 10
- Thanked:
- 1 times in 1 posts
June 18, 2012 at 9:45 pm #457920Hi again.
I´m trying to create another module, on the left of the logo. I´ve read the tutorial, but it seems it doesn´t work for this template, because there´s not header.php file.
I´ve tried several ways, but no one works.
Could you please help me?
Thanks
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 3 voices, and was last updated by raulmvega 12 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Adding a module position
Viewing 6 posts - 1 through 6 (of 6 total)