-
AuthorPosts
-
September 11, 2006 at 8:10 am #117175
hi
i download ja_polaris template and i use arabic languge and i want to transfer models from left to rightwith my thank
faisalSeptember 11, 2006 at 11:27 am #210456I have two additional issues for the ja_polaris template:
1. The header image brakes the whole template layout in Firefox when the “narrow” type is selected
2. How to change the postions of the main content and the second left column so I can get a real right modules column?
September 13, 2006 at 10:40 pm #210498I too have the same request. I would buy Polaris, if not for the limited user positions.
How can we postion the right postion all the way over to the right of the template.
Also, is it possible to place two additional user positions that split user 4 in half?
If not, can you produce a Polaris B in the near future???
Got any answers for us Joomlart?
Thanks
September 26, 2006 at 2:01 pm #210647I guess no answers for moving the right column all the way right?
September 26, 2006 at 2:12 pm #210648two things to do this, use this code for index.php and change these files:
ja_polaris/images/contentwrap-bg.gif
ja_polaris/images/contentwrap-wide-bg.gif<?php
/*————————————————————————
# JA Polaris 1.0 – Sep, 2006
# ————————————————————————
# Copyright (C) 2004-2006 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
# @license – Copyrighted Commercial Software
# Author: J.O.O.M Solutions Co., Ltd
# Websites: http://www.joomlart.com – http://www.joomlancers.com
————————————————————————-*/defined( ‘_VALID_MOS’ ) or die( ‘Restricted access’ );
$iso = split( ‘=’, _ISO );
/*echo “<?xml version=”1.0″ encoding=”‘. $iso[1] .'”?’ .’>”;*/####################################
#support extra color themes
$ja_color_themes = array(‘brown’, ‘green’, ‘red’, ‘blue’); // You can add more color array if needed
##################################### TEMPLATE CONFIGURATIONS ##########
# Change the width of the template
$ja_width_default = ‘wide’; // ‘narrow’: 800×600; ‘wide’: widescreen
# default color
$ja_color_default = ”; //blank for default, else pick one of in extra color themes $ja_color_themes
#font size default
$ja_font_size_default = 3;
# Cnable users option
$ja_tool = 3; // 0: disable all; 1: disable color, enable screen; 2: enable color, disable screen; 3: enable all.
# Choose your prefer Menu Type
$ja_menutype = 3; // 1: Split Menu; 2: Son of Suckerfish Dropdown Menu; 3: Transmenu;
# END: TEMPLATE CONFIGURATIONS ########### Define the template path ##########
$ja_template_path = $mosConfig_live_site.’/templates/ja_polaris’;
$ja_template_absolute_path = $mosConfig_absolute_path.’/templates/ja_polaris’;
include ($ja_template_absolute_path.”/ja_templatetools.php”);$topnav = “”;
$subnav = “”;
if ($ja_menutype == 1) {
require($ja_template_absolute_path.”/ja_splitmenu.php”);
$topnav = ja_topNav(‘mainmenu’, array(‘default’));
$subnav = ja_subNav(‘mainmenu’);
}# Auto Collapse Divs Functions ##########
$ja_right = mosCountModules( ‘right’ ) || mosCountModules( ‘user1’ ) || mosCountModules( ‘user2’ );
$ja_left = mosCountModules( ‘left’ ) || ($subnav);if ( $ja_left && $ja_right ) {
$divid = ‘content’;
$divwrapid = ‘contentwrap’;
} elseif ( $ja_left ) {
$divid = ‘content-fr’;
$divwrapid = ‘contentwrap-fr’;
} elseif ( $ja_right ) {
$divid = ‘content-fl’;
$divwrapid = ‘contentwrap-fl’;
} else {
$divid = ‘content-f’;
$divwrapid = ‘contentwrap-f’;
}?>
<!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(); ?>
<meta http-equiv=”Content-Type” content=”text/html; <?php echo _ISO; ?>” />
<meta http-equiv=”Content-Style-Type” content=”text/css” />
<?php genMenuHead(); ?><link href=”<?php echo $ja_template_path;?>/css/template_css.css” rel=”stylesheet” type=”text/css” />
<?php genColorHead(); ?>
<?php if ( $my->id ) { initEditor(); } ?>
<!–>
<style type=”text/css”>
.clearfix { height: 1%;}
</style>
<!–><!–>
<style type=”text/css”>
.clearfix { display: inline-block;}
</style>
<!–><!–>
<style type=”text/css”>
.clearfix { display: inline-block;}
</style>
<!–></head>
<body id=”bd” class=”<?php echo “$ja_width fs”.$ja_font_size;?>”>
<div id=”ja-container-outer”>
<div id=”ja-container”><a name=”Top” id=”Top”></a>
<a title=”Skip to content” href=”#Content” style=”display: none;”>Skip to content</a><!– BEGIN: HEADER –>
<div id=”ja-header”><h1>
<a href=”index.php”><img src=”<?php echo $ja_template_path;?>/images/logo.gif” alt=”<?php echo $mosConfig_fromname?>” /></a>
</h1><div id=”ja-subheader”>
<div id=”ja-usertools”>
<?php genToolMenu($ja_tool & 1); /*screen tool*/ ?><?php genToolMenu($ja_tool & 2); /*color tool*/ ?>
</div><div id=”ja-search”>
<?php mosLoadModules ( ‘user4’, -1 ); ?>
</div><div id=”ja-newsflash” class=”clearfix”>
<?php mosLoadModules ( ‘top’,-2 ); ?>
</div><div id=”ja-pathway”>
<strong>You are here:</strong> <?php mosPathway(); ?>
</div><div id=”ja-skip-content”>
<a title=”Skip to content” href=”<?php echo getCurrentURL(); ?>#Content”><img src=”<?php echo $ja_template_path;?>/images/user-skipintro.gif” border=”0″ alt=”Skip to content” /></a>
</div></div>
</div>
<!– END: HEADER –><!– BEGIN: MAIN MENU –>
<div id=”ja-topnav-outer”>
<div id=”ja-topnav”>
<?php
switch ($ja_menutype) {
case 1: echo $topnav;
break;
case 2:
include(“ja_cssmenu.php”);
break;
case 3: include(“ja_transmenu.php”);
break;
}
?>
</div>
</div>
<!– END: MAIN MENU –><div id=”ja-<?php echo $divwrapid; ?>” class=”clearfix”>
<?php if ( mosCountModules( ‘left’ ) || ($subnav) ) { ?>
<!– BEGIN: LEFT SIDE –>
<div id=”ja-leftcol”>
<?php if ($subnav) { ?>
<div id=”ja-subnav”>
<h3><?php echo $menuname; ?></h3>
<?php echo $subnav; ?>
</div>
<?php }
echo
mosLoadModules ( ‘left’,-2 );
?>
</div>
<!– END: LEFT SIDE –>
<?php } ?><div id=”ja-mainbody”>
<?php if ( mosCountModules(‘user9’) ) { ?>
<!– BEGIN: SPOTLIGHT –>
<div id=”ja-topstory” style=”background: url(<?php ja_loadHeader(‘user9’);?>) top left; height: 200px;”>
<?php mosLoadModules ( ‘user9’,-2 ); ?>
</div>
<!– END: SPOTLIGHT –>
<?php } ?><!– BEGIN: CONTENT –>
<div id=”ja-<?php echo $divid ?>”>
<a name=”Content” id=”Content”></a>
<?php mosMainBody(); ?>
</div>
<!– END: CONTENT –><?php if ( $ja_right ) { ?>
<!– BEGIN: RIGHT SIDE –>
<div id=”ja-rightcol”>
<?php mosLoadModules ( ‘user1’,-2 );
mosLoadModules ( ‘user2’,-2 );
mosLoadModules ( ‘right’,-2 ); ?>
</div>
<!– END: RIGHT SIDE –>
<?php } ?>
</div></div>
<!– BEGIN: FOOTER –>
<div id=”ja-footer”>
<?php mosLoadModules ( ‘user3’,-1 ); ?><div id=”ja-cert”>
<?php if ($ja_menutype != 3){ ?>
<a href=”http://jigsaw.w3.org/css-validator/validator?uri=<?php echo $mosConfig_live_site;?>” target=”_blank” title=”Our site is valid CSS” style=”text-decoration: none;”> <img src=”<?php echo $ja_template_path;?>/images/but-css.png” alt=”Our site is valid CSS” /> </a>
<?php } ?>
<a href=”http://validator.w3.org/check/referer” target=”_blank” title=”Our site is valid XHTML 1.0 Transitional” style=”text-decoration: none;”> <img src=”<?php echo $ja_template_path;?>/images/but-xhtml10.png” alt=”Our site is valid XHTML 1.0 Transitional” /> </a>
</div><p id=”ja-bottomline”>
<?php include_once( $GLOBALS[‘mosConfig_absolute_path’] . ‘/templates/ja_polaris/footer.php’ ); ?>
</p></div>
<!– END: FOOTER –></div>
</div><?php mosLoadModules( ‘debug’, -1 );?>
</body></html>
September 27, 2006 at 4:56 am #210659Hi. I encountered the same problem as you with the right column beeing on the left. When I played around with the css I realized that I just needed to change the alignment of the div to float right instead of left and the column will move. I am no expert in joomla, have only been tinkering around with it a couple of days but it seems to work just fine on both firefox and ie. Look in the template.css and change alignment on #ja-rightcol { width: 150px; float: right; padding-bottom: 5px; overflow: hidden; }.
Then you need to alter the background for the wide and narrow layout. (contentwrap-bg and contentwrap-wide-bg) that lies in the images folder.
I feel this is less tricky than fiddling with the index.php
I still have the problem with the headerimage breaking the layout in firefox-narrow though…
Otherwise its a wonderful template, thanks a bunch you joomlart guys! Would be nice if you could post some helptopics/answers here when you get the time though. Like on the issue with the headerimagebreaking….
Regards.
Alex
Stockholm sweden.Hung Dinh FriendHung Dinh
- Join date:
- September 2014
- Posts:
- 4408
- Downloads:
- 11
- Uploads:
- 189
- Thanks:
- 309
- Thanked:
- 3310 times in 3 posts
September 28, 2006 at 3:06 am #210679Hi alereh
Thank you for posting the support answers, I will try to give as many as answers as I can. You know, the joomlart and joomlancers are getting busier each day and I am struggling to give help via emails as well.October 13, 2006 at 2:14 am #210993two things to do this, use this code for index.php and change these files:
ja_polaris/images/contentwrap-bg.gif
ja_polaris/images/contentwrap-wide-bg.gifI’m feeling a bit dumb… these images appear to be true white. How should they be altered?
October 26, 2006 at 11:30 pm #211257Then you need to alter the background for the wide and narrow layout. (contentwrap-bg and contentwrap-wide-bg) that lies in the images folder.
</blockquote>
Alex,
What exactly needs to be altered for the images? width??Also, which menu layout are you using for Ja_polaris?
I am using the split menu. Not yet certain that this could also be affecting the right column layout.Thanks
BrunoHo
-
AuthorPosts
This topic contains 9 replies, has 8 voices, and was last updated by brunoho 18 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum