test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • salvomic Friend
    #199578

    hi all,
    I’m using JA News Pro with profile telineiv_t3 (theme default), 3 columns.
    I would like to have categories ordered in a more compact view, as I’ve the first column too long, the second a bit more short, the 3rd too short.
    I think the module order columns in vertical mode, and perhaps it would be better to have also an option to order them horizontally…

    Then, I would like that void categories don’t show at all…

    Salvo

    (http://www.ondaiblea.it)

    Nazario A Friend
    #541960

    Hi Salvo,

    Please try my suggestion:

    – Copy the file blog.php from the /modules/mod_janewspro/tmpl/default/ folder to the /templates/your_template_name/html/mod_janewspro/default/ folder. Then open it.

    In line 41, replace this code:

    <div class="items-row" style="width: <?php echo $width?>%">

    With:

    <div class="items-row">

    In line 74, replace this code:

    <div class="ja-zinsec clearfix <?php echo isset($helper->_themes[$catid])?$helper->_themes[$catid]:''?>">
    With:

    <div class="ja-zinsec clearfix <?php echo isset($helper->_themes[$catid])?$helper->_themes[$catid]:''?>" style="width: <?php echo $width?>%">

    In line 140, replace this code:

    $k += $cols;
    With:

    $k = $cols + 2;

    Remember to clean JAT3 cache after changing.

    Let me know if this helps

    salvomic Friend
    #542009

    thank you Nazario,
    at the end have I to put it in /templates/your_template_name/html/mod_janewspro/default/ folder?
    Doing so, I get now all in only one column…

    Salvo

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

This topic contains 3 replies, has 2 voices, and was last updated by  salvomic 10 years, 5 months ago.

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