• Resolved bustel

    (@bustel)


    template: article.tmpl

    problem:
    I have a few articles and it should be all in two columns, when i have 6 articles: then articles 2, 3, 5 and 6 are in two columns but article 1 and 4 aren’t… where can i find the setup of the columns? or how should i do to put all the articles in two columns???

    https://www.ads-software.com/plugins/arlima/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter bustel

    (@bustel)

    I have 6 articles…

    article 2 & 3 are in <div class=”arlima child-wrapper”>
    article 5 & 6 are in <div class=”arlima child-wrapper”>

    article 1 & 4 aren’t… how can I set it also in <div class=”arlima child-wrapper”>?

    Thread Starter bustel

    (@bustel)

    I think the problem is solve in the template.css but don’t know where to search…

    Thread Starter bustel

    (@bustel)

    I have find something in ListTemplateRenderer.php

    line: 312

    if(
                    ($num_children == 4 && ($count == 1 || $count == 2)) ||
                    ($num_children == 6 && ($count != 0 && $count != 3)) ||
                    ($num_children > 1 && $num_children != 4 && $num_children != 6 && ($count != 0 || $has_even_children) )
                )

    if i remove this code, then the articles are all in two columns… but there is one last problem… the first article is on the right side of column 1, and the thirth article is on the left side on column three… the two articles should be togheter in one column…

    Plugin Author victor_jonsson

    (@victor_jonsson)

    This is not a bug, it’s a feature ??

    Maybe in the future we’ll introduce an action that lets you control how the child articles are grouped without hacking the core of Arlima.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘problem articles in 2 columns’ is closed to new replies.