-
AuthorPosts
-
mikeli Friend
mikeli
- Join date:
- September 2009
- Posts:
- 21
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 11
- Thanked:
- 2 times in 1 posts
September 29, 2009 at 2:03 pm #144697How can i insert the link of component to show in megaitem – mega menu?
ThanksAnonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
September 30, 2009 at 9:40 am #319124Hi mikeli
There are two ways for your idea:
1. Create a custom module, assign to mega-item position. In Custom Output textare, put a link to your component, change Show Title from Yes to No
2. Open modulesmod_jamegamenutmpldefault.php file, add a hard link after line 35:
</li>
<?php }?>
change to:
</li>
<?php }?>
<li class="havechild mega"> <a href="your link"> Title </a></li>
3 users say Thank You to JA Developer for this useful post
mikeli Friendmikeli
- Join date:
- September 2009
- Posts:
- 21
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 11
- Thanked:
- 2 times in 1 posts
October 20, 2009 at 4:45 pm #321092Thank you for that information, it worked but i didn’t actualy understood how shuld i add the hard link after line 35? What is the code for that hard link?
kalibs112 Friendkalibs112
- Join date:
- September 2009
- Posts:
- 68
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 22
- Thanked:
- 3 times in 4 posts
October 21, 2009 at 2:50 pm #321158Hi mate, how do I create a new module position on Ja Teline 111 template??? I want to include a position to include a ‘Related Items/Links’ module to display in all my articles…this would help the reader to know the related stories or articles…is it possibble??? Take a look at this article and you will see what I mean: http://www.timesonline.co.uk/tol/news/uk/article6883723.ece
1 user says Thank You to kalibs112 for this useful post
kalibs112 Friendkalibs112
- Join date:
- September 2009
- Posts:
- 68
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 22
- Thanked:
- 3 times in 4 posts
mikeli Friendmikeli
- Join date:
- September 2009
- Posts:
- 21
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 11
- Thanked:
- 2 times in 1 posts
October 22, 2009 at 12:46 pm #321251I successfuly inserted the link but the problem is css style of my new link, its not the same like other links in mega menu.. So how shuld i make it to be the same?
This is a code of default.php:
<blockquote><?php if ($mod->name != ‘jamoduleloader’) :?>
<div class=”childcontent” <?php if (!$mod_params->get(‘width’)) echo $subitemstyle;?>>
<div class=”inner”>
<?php endif; ?>
<?php echo JModuleHelper::renderModule($mod);?>
<?php if ($mod->name != ‘jamoduleloader’) :?>
<strong><a href=”http://www.montenegrowebcenter.org/1/index.php?option=com_joomap&Itemid=485″>Mapa sajta</a></strong>
</div>
</div>
<?php endif; ?>
<?php else: ?>
<?php echo JModuleHelper::renderModule($mod);?>
<?php endif; ?>
</li>
<?php }?>
<li class=”havechild mega”> <a href=”http://www.montenegrowebcenter.org/1/index.php?option=com_joomap&Itemid=485″> Mapa sajta </a></li>
</ul>
</blockquote>I changed evrything you said i shuld except i didn’t add hard link after line 35.. How shuld i do that?
Thanks for last answer.
Best regards. -
AuthorPosts
This topic contains 7 replies, has 3 voices, and was last updated by kalibs112 15 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum