-
AuthorPosts
-
August 15, 2008 at 12:43 pm #132254
is it possible to move user 8 module so it shows on all pages above ja-news ?
Many thanksMenalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
August 16, 2008 at 3:22 pm #265603you still gonna have user9 below? or how is that?
August 17, 2008 at 10:51 am #265671well i had a mes around and moved user8 above ja-news but user9 was only 50% of the width, so any ideas plz
ThanksMenalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
August 18, 2008 at 7:31 am #265761Just post the index.php here or a part of it where the code for the modules is
August 18, 2008 at 10:28 am #265783Here is my part of the code, i have the banner at the top would like user 8 there where the banner is if possible please
Many Thanks<!– BEGIN: CONTENT –>
<div id=”ja-content”>
<!– BEGIN: BANNER –><div id=”ja-banner”>
<?php mosLoadModules(‘banner’, 0); ?>
</div>
<!– END: BANNER –>
<div class=”ja-innerpad clearfix”><?php if(!$tmpTools->isFrontPage()) : ?>
<div id=”ja-pathway”>
<?php mosPathway(); ?>
</div>
<?php endif ; ?>
<div id=”ja-current-content”>
<?php if(!$tmpTools->isFrontPage()) : ?>
<?php mosMainBody(); ?>
<?php endif; ?>
<!– BEGIN: JAZIN –>
<?php if($tmpTools->isFrontPage()) : ?>
<div id=”jazin-fp”>
<?php mosLoadModules(‘ja-news’, -1); ?>
</div>
<?php endif; ?>
<!– END: JAZIN –>
</div>
<?php
$spotlight = array (‘user8′,’user9’);
$botsl = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.9);
if( $botsl ) {
?>
<!– BEGIN: BOTTOM SPOTLIGHT –>
<div id=”ja-botsl” class=”clearfix”>
<?php if( mosCountModules(‘user8’) ) {?>
<div class=”ja-box<?php echo $botsl[‘user8’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user8’][‘width’]; ?>;”>
<?php mosLoadModules(‘user8’, -2); ?>
</div>
<?php } ?>
<?php if( mosCountModules(‘user9’) ) {?>
<div class=”ja-box<?php echo $botsl[‘user9’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user9’][‘width’]; ?>;”>
<?php mosLoadModules(‘user9’, -2); ?>
</div>
<?php } ?>
</div>
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
August 18, 2008 at 12:46 pm #265804You can try with this code here:
<!-- BEGIN: CONTENT -->
<div id="ja-content">
<!-- BEGIN: BANNER -->
<?php if( mosCountModules('user8') ) {?>
<div>
<?php mosLoadModules('user8', -2); ?>
</div>
<?php } ?>
<?php if( mosCountModules('banner') ) {?>
<div id="ja-banner">
<?php mosLoadModules('banner', 0); ?>
</div>
<?php } ?>
<!-- END: BANNER -->
<div class="ja-innerpad clearfix">
<?php if(!$tmpTools->isFrontPage()) : ?>
<div id="ja-pathway">
<?php mosPathway(); ?>
</div>
<?php endif ; ?>
<div id="ja-current-content">
<?php if(!$tmpTools->isFrontPage()) : ?>
<?php mosMainBody(); ?>
<?php endif; ?>
<!-- BEGIN: JAZIN -->
<?php if($tmpTools->isFrontPage()) : ?>
<div id="jazin-fp">
<?php mosLoadModules('ja-news', -1); ?>
</div>
<?php endif; ?>
<!-- END: JAZIN -->
</div>
<!-- BEGIN: BOTTOM SPOTLIGHT -->
<?php if( mosCountModules('user9') ) {?>
<div>
<?php mosLoadModules('user9', -2); ?>
</div>
<?php } ?>
I moved the user8 to above the banner module posiiton, if you dont publish anything in the banner position it wont show up.August 18, 2008 at 1:10 pm #265808I now have user 8 above ja-news but without the suffix applied and user 9 is only halve the width because there is still a blank space where user 8 was os any help would be gret
Many Thanks<?php
/**
* @copyright Copyright (C) 2005 – 2007 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined( ‘_VALID_MOS’ ) or die( ‘Restricted access’ );
defined( ‘DS’) || define( ‘DS’, DIRECTORY_SEPARATOR );
include_once (dirname(__FILE__).DS.’/ja_vars_1.0x.php’);
?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<?php mosShowHead(); ?>
<script language=”javascript” type=”text/javascript” src=”<?php echo $tmpTools->templateurl(); ?>/js/mootools.v1.11.js”></script>
<link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/highslide/highslide.css” type=”text/css” />
<link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/css/template.css” type=”text/css” />
<link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/css/typo.css” type=”text/css” />
<link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/css/ja.news.css” type=”text/css” />
<link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/css/ja.news.fp.css” type=”text/css” />
<link rel=”stylesheet” href=”<?php echo $tmpTools->templateurl(); ?>/css/ja_catslwi.css” type=”text/css” />
<link href=”<?php echo $tmpTools->templateurl(); ?>/mootabs/mootabs1.2.css” rel=”stylesheet” type=”text/css” />
<script language=”javascript” type=”text/javascript” src=”<?php echo $tmpTools->templateurl(); ?>/js/ja.script.js”></script>
<script language=”javascript” type=”text/javascript” src=”<?php echo $tmpTools->templateurl(); ?>/highslide/swfobject.js”></script>
<script language=”javascript” type=”text/javascript” src=”<?php echo $tmpTools->templateurl(); ?>/highslide/highslide-with-html.js”></script>
<!– Menu head –>
<?php $jamenu->genMenuHead(); ?>
<link href=”<?php echo $tmpTools->templateurl(); ?>/css/colors/theme<?php echo $tmpTools->getThemeForSection(); ?>.css” rel=”stylesheet” type=”text/css” />
<!–>
<style type=”text/css”>
.clearfix {height: 1%;}
img {border: none;}
</style>
<!–>
<!–>
<style type=”text/css”>
.clearfix {display: inline-block;}
</style>
<!–>
<?php if ($tmpTools->isIE6()) { ?>
<!–>
<script type=”text/javascript”>
var siteurl = ‘<?php echo $tmpTools->baseurl();?>’;
</script>
<!–>
<?php } ?>
<script type=”text/javascript”>
hs.graphicsDir = ‘<?php echo $tmpTools->templateurl(); ?>/highslide/graphics/’;
hs.showCredits = false; // you can set this to false if you want
hs.creditsText = ‘Powered by JA Highslide’;
hs.creditsHref = ‘http://joomlart.com/’;
hs.creditsTitle =’Go to the Highslide JA homepage’;
</script>
<script type=”text/javascript”>
//<!]>
</script>
</head>
<body id=”bd” class=”<?php echo $tmpTools->getParam(JA_TOOL_SCREEN);?> fs<?php echo $tmpTools->getParam(JA_TOOL_FONT);?>” >
<a name=”Top” id=”Top”></a>
<ul class=”accessibility”>
<li><a href=”<?php echo $tmpTools->getCurrentURL();?>#ja-content” title=”Skip to content”>Skip to content</a></li>
<li><a href=”<?php echo $tmpTools->getCurrentURL();?>#ja-mainnav” title=”Skip to main navigation”>Skip to main navigation</a></li>
<li><a href=”<?php echo $tmpTools->getCurrentURL();?>#ja-col1″ title=”Skip to 1st column”>Skip to 1st column</a></li>
<li><a href=”<?php echo $tmpTools->getCurrentURL();?>#ja-col2″ title=”Skip to 2nd column”>Skip to 2nd column</a></li>
<li><a href=”<?php echo $tmpTools->getCurrentURL();?>#ja-col3″ title=”Skip to 3nd column”>Skip to 2nd column</a></li>
</ul>
<div id=”ja-wrapper”>
<!– 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 {
global $mosConfig_sitename, $mosConfig_fromname;
$logoText = (trim($tmpTools->getParam(‘logoText’))==”) ? $mosConfig_sitename : $tmpTools->getParam(‘logoText’);
$sloganText = (trim($tmpTools->getParam(‘sloganText’))==”) ? $mosConfig_fromname : $tmpTools->getParam(‘sloganText’); ?>
<h1 class=”logo-text”>
<a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $logoText; ?></span></a>
</h1>
<p class=”site-slogan”><?php echo $sloganText;?></p>
<?php } ?>
<div id=”ja-headtools” class=”ja-headtool”>
<div class=”ja-innerpad clearfix”>
<div class=”ja-day”>
<?php
echo “<span>”.date (‘l’).”</span>”;
echo ” <div>”.date (‘M’).” “.date (‘d’).date (‘S’).”</div>”;
?>
</div>
<ul>
<?php mosLoadModules(‘ja-login’, -1); ?>
<!–module search–>
<?php if(mosCountModules(‘user4’)) : ?>
<li>
<a href=”<?php echo sefRelToAbs(‘index.php?option=com_search’);?>” onclick=”return hs.htmlExpand(this, { contentId: ‘id_highslide_search’, outlineType : ’rounded-white’, outlineWhileAnimating : true, width : 230} )” class=”highslide”>
<?php echo ‘Search’; ?>
</a>
<!–SEARCH content–>
<div class=”highslide-html-content” id=”id_highslide_search”>
<div class=”highslide-header”>
<ul>
<li class=”highslide-move”>
<a href=”#” onclick=”return false”>Move</a>
</li>
<li class=”highslide-close”>
<a href=”#” onclick=”return hs.close(this)”>Close</a>
</li>
</ul>
</div>
<div class=”highslide-body”>
<div id=”ja-search”>
<?php mosLoadModules(‘user4’, -1); ?>
</div>
</div>
</div>
</li>
<?php endif; ?>
</ul>
<?php if ($tmpTools->getParam(JA_TOOL_USER)) { ?>
<div id=”ja-usertools”>
<strong>Text size</strong><?php $tmpTools->genToolMenu($tmpTools->getParam(JA_TOOL_USER)); ?>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
<!– END: HEADER –>
<!– BEGIN: MAIN NAVIGATION –>
<div id=”ja-mainnavwrap”>
<div id=”ja-mainnav” class=”clearfix”>
<?php $jamenu->genMenu (0); ?>
</div>
</div>
<?php if ($hasSubnav) { ?>
<div id=”ja-subnavwrap”>
<div id=”ja-subnav” class=”clearfix”>
<?php $jamenu->genMenu (1,1); ?>
</div>
</div>
<?php } ?>
<!– END: MAIN NAVIGATION –>
<div id=”ja-containerwrap<?php echo $divid; ?>” class=”clearfix”>
<div id=”ja-container”>
<div id=”ja-container-inner” class=”clearfix”>
<!– BEGIN: CONTENT –>
<div id=”ja-content”>
<?php if( mosCountModules(‘user8’) ) {?><div class=”ja-box<?php echo $botsl[‘user8’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user8’][‘width’]; ?>;”>
<?php mosLoadModules(‘user8’, -2); ?>
</div>
<?php } ?>
<div class=”ja-innerpad clearfix”>
<?php if(!$tmpTools->isFrontPage()) : ?>
<div id=”ja-pathway”>
<?php mosPathway(); ?>
</div>
<?php endif ; ?>
<div id=”ja-current-content”>
<?php if(!$tmpTools->isFrontPage()) : ?>
<?php mosMainBody(); ?>
<?php endif; ?>
<!– BEGIN: JAZIN –>
<?php if($tmpTools->isFrontPage()) : ?>
<div id=”jazin-fp”>
<?php mosLoadModules(‘ja-news’, -1); ?>
</div>
<?php endif; ?>
<!– END: JAZIN –>
</div>
<?php
$spotlight = array (‘user8′,’user9’);
$botsl = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.9);
if( $botsl ) {
?>
<!– BEGIN: BOTTOM SPOTLIGHT –>
<div id=”ja-botsl” class=”clearfix”>
<?php if( mosCountModules(‘user9’) ) {?>
<div class=”ja-box<?php echo $botsl[‘user9’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user9’][‘width’]; ?>;”>
<?php mosLoadModules(‘user9’, -2); ?>
</div>
<?php } ?>
</div>
<!– END: BOTTOM SPOTLIGHT –>
<?php } ?>
<?php if(mosCountModules(‘banner’)) : ?>
<!– BEGIN: BANNER –>
<div id=”ja-banner”>
<?php mosLoadModules(‘banner’, 0); ?>
</div>
<!– END: BANNER –><?php endif; ?>
</div>
</div>
<!– END: CONTENT –>
<?php if ($ja_left || $ja_right || $ja_masscol) { ?>
<!– BEGIN: COLUMNS –>
<div id=”ja-colwrap”>
<?php if ($ja_masscol) { ?>
<!– BEGIN: MASSCOL –>
<div id=”ja-colmass” class=”clearfix”>
<div class=”ja-innerpad”>
<?php mosLoadModules(‘user5’, -2); ?>
<?php if (mosCountModules(‘user6’)) : ?>
<script language=”javascript” type=”text/javascript” src=”<?php echo $tmpTools->templateurl(); ?>/mootabs/mootabs1.2.js”></script>
<script type=”text/javascript”>
window.addEvent(‘load’, initmootabs);
function initmootabs() {
myTabs1 = new jamootabs(‘ja-tabs’, {
<?php echo $ja_mootabs_options; ?>
});
}
</script>
<div id=”ja-tabswrap”>
<div id=”ja-tabs” class=”clearfix”>
<div class=”ja-tab-panels”>
<?php mosLoadModules(‘user6’, -2); ?>
</div>
</div>
</div>
<?php endif; ?>
<?php mosLoadModules(‘user7’, -2); ?>
</div>
</div>
<!– END: MASSCOL –>
<?php } ?>
<div id=”ja-cols” class=”clearfix”>
<?php if ($ja_left) { ?>
<div id=”ja-col1″>
<div class=”ja-innerpad”>
<?php mosLoadModules(‘left’, -2); ?>
</div>
</div>
<?php } ?>
<?php if ($ja_right) { ?>
<div id=”ja-col2″>
<div class=”ja-innerpad”>
<?php mosLoadModules(‘right’, -2); ?>
</div>
</div>
<?php } ?>
</div>
</div><br />
<!– END: COLUMNS –>
<?php } ?>
</div></div></div>
<!– BEGIN: FOOTER –>
<div id=”ja-footerwrap” class=”clearfix”>
<div id=”ja-footer”>
<?php mosLoadModules(“user3”, -1); ?>
<?php include_once (dirname(__FILE__).DS.’/footer.php’ ); ?>
</div>
</div>
<!– END: FOOTER –>
</div>
<?php mosLoadModules(“debug”, -1); ?>
</body>
</html>
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
August 18, 2008 at 2:54 pm #265822Did you see the code i posted above? Replace it with the code you have in your post nr5.
August 18, 2008 at 2:57 pm #265824i tried it but got errors and page would not load
August 18, 2008 at 3:01 pm #265825Ok yes I just tried your and its the same as mine, user8 only goes half way and user8 loses it suffixs
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
August 18, 2008 at 3:07 pm #265828Whats your site url?
August 18, 2008 at 3:21 pm #265834wyreads.com
Menalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
August 18, 2008 at 3:37 pm #265847try to publish something in user 8?
August 18, 2008 at 3:45 pm #265851there is just not on front page
Here: http://wyreads.com/index.php?option=com_content&task=view&id=117&Itemid=2 -
AuthorPosts
This topic contains 17 replies, has 2 voices, and was last updated by beautifaye 16 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum