Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • rayfurre Friend
    #136988

    Hi

    If you check out

    http://www.ndl.no

    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 Friend
    #285916

    rayfurre;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 Friend
    #285956

    Well 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 Friend
    #285961

    Can you open /modules/mod_janews/tmpl/blog.php and paste the entire text here please?

    rayfurre Friend
    #285963

    Here 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.comhttp://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 Friend
    #285972

    The 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.

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 2 voices, and was last updated by  scotty 15 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum