-
AuthorPosts
-
rayfurre Friend
rayfurre
- Join date:
- August 2006
- Posts:
- 86
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 5
- Thanked:
- 3 times in 1 posts
January 11, 2009 at 2:51 pm #136988Hi
If you check out
you will see that the two colums are below each other not side by side…this is because long titles are written as one long sentence and not being forced onto two lines…this is only so in Firefox in Internet explorer it works fine.
Please help
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
January 11, 2009 at 3:30 pm #285916rayfurre;105410…this is because long titles are written as one long sentence and not being forced onto two lines
It can’t be. The titles are not set to ‘no-wrap’
You have changed the config somewhere. In the demo the columns width is defined by a %. In your site they are not. It is not called from the .css though. You must have altered a parameter somewhere.
rayfurre Friendrayfurre
- Join date:
- August 2006
- Posts:
- 86
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 5
- Thanked:
- 3 times in 1 posts
January 11, 2009 at 6:35 pm #285956Well I did check out the params..nothing noteable to change…unless you can guide to something more specific, I really dont care what the problem is as long as I can get it fixed.
scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
January 11, 2009 at 6:56 pm #285961Can you open /modules/mod_janews/tmpl/blog.php and paste the entire text here please?
rayfurre Friendrayfurre
- Join date:
- August 2006
- Posts:
- 86
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 5
- Thanked:
- 3 times in 1 posts
January 11, 2009 at 7:08 pm #285963Here you go
<?php
/*————————————————————————
# JA Dravity for joomla 1.5 – Version testing – Licence Owner JOOM
# ————————————————————————
# Copyright (C) 2004-2008 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
# This file may not be redistributed in whole or significant part.
————————————————————————-*/$catorsec = trim( $params->get( ‘catorsec’ ));
$showimage = $params->get( ‘showimage’, 0 );
$autoresize = intval (trim( $params->get( ‘autoresize’, 0) ));
$img_w = intval (trim( $params->get( ‘width’, 100 ) ));
$img_h = intval (trim( $params->get( ‘height’, 100 ) ));
$img_align = $params->get( ‘align’ , ‘left’);$maxchars = intval (trim( $params->get( ‘maxchars’, 200 ) ));
$introitems = intval (trim( $params->get( ‘introitems’, 1 ) ));
$linkitems = intval (trim( $params->get( ‘linkitems’, 0 ) ));$showreadmore = intval (trim( $params->get( ‘showreadmore’, 1 ) ));
$showcattitle = trim( $params->get( ‘showcattitle’ ));
$hiddenClasses = trim( $params->get( ‘hiddenClasses’, ” ) );$cols = intval (trim( $params->get( ‘cols’, 2 ) ));
$news = count($contents);
if($news < $cols) $cols = $news;
if (!$cols) return;
$width = 99.9/$cols;?>
<div id=”jazin-wrap”>
<div id=”jazin” class=”clearfix”><?php
$k = 0;
for ($z = 0; $z < $cols; $z ++) :
$cls = $cols==1?’full’:($z==0?’left’:($z==$cols-1?’right’:’center’));
?>
<div class=”jazin-<?php echo $cls;?>” style=”width:<?php echo $width;?>%”>
<?php for ($y = 0; $y < ($news / $cols) && $k<$news; $y ++) :
$params->set(‘blog_theme’, $themes[$k]);
$rows = $contents[$k];
if($catid) {
$path = JModuleHelper::getLayoutPath(‘mod_janews’, ‘blog_item’);
if (file_exists($path)) {
require($path);
}
//include(dirname(__FILE__).’/blog_item.php’);
}
$k++;
endfor; ?>
</div>
<?php endfor; ?></div>
</div>scotty Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
January 11, 2009 at 8:57 pm #285972The file appears to be correct but…
<div class="jazin-<?php echo $cls;?>" style="width:<?php echo $width;?>%">
…for some reason the part in red is not being written into your page. I have no idea why and can only guess that it is something you changed somewhere else.
-
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by scotty 15 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum