test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Janice W Davis Friend
    #161064

    I have a Section/Blog page witht the following below. The first page shows as expected with the articles across the page in 2 columns. The 2nd page has 2 columns but only shows articles in the 1st column. You can see the 1st page here: http://www.imagesthatsuit.com/Fashion-Articles/
    and the 2nd: http://www.imagesthatsuit.com/Fashion-Articles/Page-2.html

    How do I get the 2nd page to show the articles across?

    Settings
    # Leading: 0
    # Intro: 6
    Columns: 2
    # Links: 4
    Category Order: order
    Primary Order Most Recent First
    Multi Column Order: Across

    Pagination: show
    Pagination Results: Show
    Show a Feed Link: Yes

    Thanks
    Janice

    khoand Friend
    #379850

    Hi Janice,
    you do following steps:
    – Open <joomla url>templatesja_leadhtmlcom_contentsectionblog.php file
    – Add this code

    $items_column = ($this->params->get('num_intro_articles', 4) / $this->params->get('num_columns'));
    if ($i + $this->params->get('num_intro_articles', 4) >= $this->total)
    $items_column = ($this->total - $i) / $this->params->get('num_columns');

    before

    $divider = '';
    – Replace this code

    <?php for ($y = 0; $y < ($this->params->get('num_intro_articles', 4) / $this->params->get('num_columns')); $y ++) :
    to

    <?php for ($y = 0; $y < $items_column; $y ++) :

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

This topic contains 2 replies, has 2 voices, and was last updated by  khoand 13 years, 9 months ago.

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