-
AuthorPosts
-
treybraid Friend
treybraid
- Join date:
- May 2008
- Posts:
- 302
- Downloads:
- 0
- Uploads:
- 23
- Thanks:
- 43
- Thanked:
- 14 times in 1 posts
February 19, 2010 at 2:35 pm #148828ive gone in and of course heavily edited the template adding numerous mod positions… please take a look at my website: http://www.govenom.com/TEST
do you see the black ribbon across the top— i would like to take 2 or 3 of the menu items below ( or new one’s ) and place them up there..
this is what my index.php looks like– as you can see i have added and moved alot of stuff around… see highlighted area for where i am trying to add the menu. i created a mod position and then placed a mod there— i didnt style it which i think i should have….
i need a menu created that can be placed there and retain the styling currently in the main menu bar if that make’s any sense…
<div id=”ja-wrapper”>
<!– i added this to put league …store… b2tv buttons accross the top –>
<div id=”ja-top_barwrap”>
<div id=”ja-top_bar” class=”clearfix”>
<?php if ($this->countModules(‘top_bar’)) { ?>
<div id=”ja-top_bar”>
<jdoc:include type=”modules” name=”top_bar” style=”raw” />
</div>
<?php } ?>
</div>
</div>
<!– END –><?php if ($this->countModules(‘marquee’)) { ?>
<div id=”ja-marquee”>
<jdoc:include type=”modules” name=”marquee” style=”raw” />
</div>
<?php } ?><!– BEGIN: HEADER –>
<div id=”ja-headerwrap”>
<div id=”ja-header” class=”clearfix”><?php
$siteName = $tmpTools->sitename();
if ($tmpTools->getParam(‘logoType’)==’image’) { ?>
<h1 class=”logo”>
<a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
</h1>
<?php } else {
$logoText = (trim($tmpTools->getParam(‘logoText’))==”) ? $config->sitename : $tmpTools->getParam(‘logoText’);
$sloganText = (trim($tmpTools->getParam(‘sloganText’))==”) ? JText::_(‘SITE SLOGAN’) : $tmpTools->getParam(‘sloganText’); ?>
<div class=”logo-text”>
<p class=”site-slogan”><?php echo $sloganText;?></p>
<h1>
<a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $logoText; ?></span></a>
</h1>
</div>
<?php } ?><?php if ($this->countModules(‘banner’)) { ?>
<div id=”ja-banner”>
<jdoc:include type=”modules” name=”banner” style=”raw” />
</div>
<?php } ?></div>
</div>
<!– END: HEADER –><!– BEGIN: MAIN NAVIGATION –>
<?php if ($tmpTools->getParam(‘ja_menu’) != ‘none’) : ?><div id=”ja-mainnav” class=”clearfix”>
<?php if ($jamenu) $jamenu->genMenu (0); ?><?php if ($this->countModules(‘user4’)) { ?>
<div id=”ja-search”>
<jdoc:include type=”modules” name=”user4″ style=”raw” />
</div>
<?php } ?></div>
<?php endif; ?>
<!– END: MAIN NAVIGATION –><div id=”ja-containerwrap<?php echo $divid; ?>”>
<div id=”ja-containerwrap-top”><div id=”ja-container-top”></div></div>
<div id=”ja-container”><div id=”ja-container-inner” class=”clearfix”><!– BEGIN: CONTENT –>
<div id=”ja-mainbodywrap”><?php if ($this->countModules(‘banner1’)) { ?>
<div id=”ja-banner1″>
<jdoc:include type=”modules” name=”banner1″ style=”raw” />
</div>
<?php } ?><?php if ($this->countModules(‘ja-slideshow’)) { ?>
<!– BEGIN: SLIDESHOW –>
<div id=”ja-slideshow”>
<jdoc:include type=”modules” name=”ja-slideshow” style=”raw” />
</div><!– END: SLIDESHOW –>
<?php } ?><?php
$spotlight2 = array (‘user7′,’user8′,’user9’);
$topsl2 = $tmpTools->calSpotlight ($spotlight2,$tmpTools->isOP()?100:99.9);
if( $topsl2 ) {
?>
<!– BEGIN: TOP SPOTLIGHT 1–>
<div id=”ja-topsl2″ class=”clearfix”><?php if( $this->countModules(‘user7’) ) {?>
<div class=”ja-box<?php echo $topsl2[‘user7’][‘class’]; ?>” style=”width: <?php echo $topsl2[‘user7’][‘width’]; ?>;”>
<jdoc:include type=”modules” name=”user7″ style=”xhtml” />
</div>
<?php } ?><?php if( $this->countModules(‘user8’) ) {?>
<div class=”ja-box<?php echo $topsl2[‘user8’][‘class’]; ?>” style=”width: <?php echo $topsl2[‘user8’][‘width’]; ?>;”>
<jdoc:include type=”modules” name=”user8″ style=”xhtml” />
</div>
<?php } ?><?php if( $this->countModules(‘user9’) ) {?>
<div class=”ja-box<?php echo $topsl2[‘user9’][‘class’]; ?>” style=”width: <?php echo $topsl2[‘user9’][‘width’]; ?>;”>
<jdoc:include type=”modules” name=”user9″ style=”xhtml” />
</div>
<?php } ?></div>
<!– END: TOP SPOTLIGHT 1 –>
<?php } ?><div id=”ja-mainbody” class=”clearfix”>
<!– BEGIN: CONTENT –>
<div id=”ja-content”><jdoc:include type=”message” />
<div id=”ja-current-content” class=”clearfix”>
<?php if(!$tmpTools->isFrontPage()) : ?>
<div id=”ja-pathway”>
<jdoc:include type=”module” name=”breadcrumbs” />
</div>
<?php endif; ?>
<jdoc:include type=”component” /></div>
</div>
<!– END: CONTENT –><?php if ($ja_left) { ?>
<!– BEGIN: LEFT COLUMN –>
<div id=”ja-col1″>
<div class=”ja-innerpad”><?php if ($hasSubnav) : ?>
<div id=”ja-subnav” class=”moduletable_menu”>
<h3>On this page</h3>
<?php if ($jamenu) $jamenu->genMenu (1,1); ?>
</div>
<?php endif; ?><jdoc:include type=”modules” name=”left” style=”xhtml” />
</div>
</div><br />
<!– END: LEFT COLUMN –>
<?php } ?><?php if ($this->countModules(‘banner3’)) { ?>
<div id=”ja-banner3″>
<jdoc:include type=”modules” name=”banner3″ style=”raw” />
</div>
<?php } ?><?php
$spotlight1 = array (‘user14′,’user15’);
$topsl3 = $tmpTools->calSpotlight ($spotlight1,$tmpTools->isOP()?100:99.9);
if( $topsl3 ) {
?>
<!– BEGIN: TOP SPOTLIGHT 3–>
<div id=”ja-topsl3″ class=”clearfix”><?php if( $this->countModules(‘user14’) ) {?>
<div class=”ja-box<?php echo $topsl3[‘user14’][‘class’]; ?>” style=”width: <?php echo $topsl3[‘user14’][‘190px’]; ?>;”>
<jdoc:include type=”modules” name=”user14″ style=”xhtml” />
</div>
<?php } ?><?php if( $this->countModules(‘user15’) ) {?>
<div class=”ja-box<?php echo $topsl3[‘user15’][‘class’]; ?>” style=”width: <?php echo $topsl3[‘user15’][‘225px’]; ?>;”>
<jdoc:include type=”modules” name=”user15″ style=”xhtml” />
</div>
<?php } ?><?php if( $this->countModules(‘user18’) ) {?>
<div class=”ja-box<?php echo $topsl3[‘user18’][‘class’]; ?>” style=”width: <?php echo $topsl3[‘user18’][‘175px’]; ?>;”>
<jdoc:include type=”modules” name=”user18″ style=”xhtml” />
</div>
<?php } ?></div>
<!– END: TOP SPOTLIGHT 3 –>
<?php } ?><?php
$spotlight1 = array (‘user16′,’user17’);
$topsl4 = $tmpTools->calSpotlight ($spotlight1,$tmpTools->isOP()?100:99.9);
if( $topsl4 ) {
?>
<!– BEGIN: TOP SPOTLIGHT 3–>
<div id=”ja-topsl4″ class=”clearfix”><?php if( $this->countModules(‘user16’) ) {?>
<div class=”ja-box<?php echo $topsl4[‘user16’][‘class’]; ?>” style=”width: <?php echo $topsl4[‘user16’][‘345px’]; ?>;”>
<jdoc:include type=”modules” name=”user16″ style=”xhtml” />
</div>
<?php } ?><?php if( $this->countModules(‘user17’) ) {?>
<div class=”ja-box<?php echo $topsl4[‘user17’][‘class’]; ?>” style=”width: <?php echo $topsl4[‘user17’][‘200px’]; ?>;”>
<jdoc:include type=”modules” name=”user17″ style=”xhtml” />
</div>
<?php } ?><?php if( $this->countModules(‘user19’) ) {?>
<div class=”ja-box<?php echo $topsl4[‘user19’][‘class’]; ?>” style=”width: <?php echo $topsl4[‘user19′][’45px’]; ?>;”>
<jdoc:include type=”modules” name=”user19″ style=”xhtml” />
</div>
<?php } ?></div>
<!– END: TOP SPOTLIGHT 4 –>
<?php } ?><?php if ($this->countModules(‘banner2’)) { ?>
<div id=”ja-banner2″>
<jdoc:include type=”modules” name=”banner2″ style=”raw” />
</div>
<?php } ?><?php
$spotlight1 = array (‘user5′,’user6′,’user13’);
$topsl1 = $tmpTools->calSpotlight ($spotlight1,$tmpTools->isOP()?100:99.9);
if( $topsl1 ) {
?>
<!– BEGIN: TOP SPOTLIGHT 1–>
<div id=”ja-topsl1″ class=”clearfix”><?php if( $this->countModules(‘user5’) ) {?>
<div class=”ja-box<?php echo $topsl1[‘user5’][‘class’]; ?>” style=”width: <?php echo $topsl1[‘user5’][‘width’]; ?>;”>
<jdoc:include type=”modules” name=”user5″ style=”xhtml” />
</div>
<?php } ?><?php if( $this->countModules(‘user6’) ) {?>
<div class=”ja-box<?php echo $topsl1[‘user6’][‘class’]; ?>” style=”width: <?php echo $topsl1[‘user6’][‘width’]; ?>;”>
<jdoc:include type=”modules” name=”user6″ style=”xhtml” />
</div>
<?php } ?><?php if( $this->countModules(‘user13’) ) {?>
<div class=”ja-box<?php echo $topsl1[‘user13’][‘class’]; ?>” style=”width: <?php echo $topsl1[‘user13’][‘width’]; ?>;”>
<jdoc:include type=”modules” name=”user13″ style=”xhtml” />
</div>
<?php } ?></div>
<!– END: TOP SPOTLIGHT 1 –>
<?php } ?></div></div>
<!– END: CONTENT –>
<?php if ($ja_right) { ?>
<!– BEGIN: RIGHT COLUMN –>
<div id=”ja-col2″>
<div class=”ja-innerpad”>
<jdoc:include type=”modules” name=”right” style=”xhtml” />
</div></div><br />
<!– END: RIGHT COLUMN –>
<?php } ?><?php if ($this->countModules(‘marquee_bot’)) { ?>
<div id=”ja-marquee_bot”>
<jdoc:include type=”modules” name=”marquee_bot” style=”raw” /></div>
<?php } ?></div></div>
<div id=”ja-containerwrap-bot”><div id=”ja-container-bot”></div></div>
</div><?php
$spotlight = array (‘user1′,’user2′,’user10′,’user11′,’user12’);
$botsl = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.9);
if( $botsl ) {
?>
<!– BEGIN: BOTTOM SPOTLIGHT–>
<div id=”ja-botslwrap”>
<div id=”ja-botsl” class=”clearfix”><?php if( $this->countModules(‘user1’) ) {?>
<div class=”ja-box<?php echo $botsl[‘user1’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user1’][‘width’]; ?>;”>
<jdoc:include type=”modules” name=”user1″ style=”xhtml” />
</div>
<?php } ?><?php if( $this->countModules(‘user2’) ) {?>
<div class=”ja-box<?php echo $botsl[‘user2’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user2’][‘width’]; ?>;”>
<jdoc:include type=”modules” name=”user2″ style=”xhtml” />
</div>
<?php } ?><?php if( $this->countModules(‘user10’) ) {?>
<div class=”ja-box<?php echo $botsl[‘user10’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user10’][‘width’]; ?>;”>
<jdoc:include type=”modules” name=”user10″ style=”xhtml” />
</div>
<?php } ?><?php if( $this->countModules(‘user11’) ) {?>
<div class=”ja-box<?php echo $botsl[‘user11’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user11’][‘width’]; ?>;”>
<jdoc:include type=”modules” name=”user11″ style=”xhtml” />
</div>
<?php } ?><?php if( $this->countModules(‘user12’) ) {?>
<div class=”ja-box<?php echo $botsl[‘user12’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user12’][‘width’]; ?>;”>
<jdoc:include type=”modules” name=”user12″ style=”xhtml” />
</div>
<?php } ?></div></div>
<!– END: BOTTOM SPOTLIGHT 2 –>
<?php } ?><!– BEGIN: FOOTER –>
<div id=”ja-footerwrap”>
<div id=”ja-footer”>
<jdoc:include type=”modules” name=”user3″ />
<jdoc:include type=”modules” name=”footer” />
</div>
</div>
<!– END: FOOTER –><jdoc:include type=”modules” name=”debug” />
<script type=”text/javascript”>
//addSpanToTitle();
//jaAddFirstItemToTopmenu();
//jaRemoveLastContentSeparator();
//jaRemoveLastTrBg();
//moveReadmore();
//addIEHover();
slideshowOnWalk ();
</script></div>
</body>
</html>
thanks
treytreybraid Friendtreybraid
- Join date:
- May 2008
- Posts:
- 302
- Downloads:
- 0
- Uploads:
- 23
- Thanks:
- 43
- Thanked:
- 14 times in 1 posts
February 19, 2010 at 5:38 pm #333167….in the meantime i am adding a flash applet for the menu across the top in case what i am trying to do isnt possible…
treybraid Friendtreybraid
- Join date:
- May 2008
- Posts:
- 302
- Downloads:
- 0
- Uploads:
- 23
- Thanks:
- 43
- Thanked:
- 14 times in 1 posts
February 21, 2010 at 3:00 pm #333287someone…please help…
trey
treybraid Friendtreybraid
- Join date:
- May 2008
- Posts:
- 302
- Downloads:
- 0
- Uploads:
- 23
- Thanks:
- 43
- Thanked:
- 14 times in 1 posts
February 23, 2010 at 8:38 pm #333621any ideas? please let me know… using flash applet right now…
trey
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
February 25, 2010 at 9:46 am #333843Hi treybraid
I am sorry for this later.
Our menu is not a module. It is integrated with the template.
For the reason, to solve your idea, you have to find a menu module and assign to that position
Hope you understand.
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by Anonymous 14 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum