Quote

We're also available for Custom Joomla Development

Hire us now

All thumbs instead of "Other Articles Placement" when the last row isnt full?

Hello,

my problem is, that I dont want the only Link to other items, for example when the last row contains only 2 items in an 4 comlums grid. Is it possible to show thumbnail and title for the last ones too? I want the pictures of the last to guides on this site: http://www.grazguides.at/neu2/de/team

Thanks for help, best regards and many thanks for your great work!

J├╝rgen Neuhold
Resolved
The discussion has been resolved.
       
  • Replied by admin on Thursday, February 02 2017, 04:51 PM · Hide· #1
    Hi could you tell me what values do you have for these fields in the module backend :

    Number of Columns
    Number of Rows
    Number of tabs
    Number of Articles
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by juergenhold on Thursday, February 02 2017, 06:52 PM · Hide· #2
    Number of Columns 4
    Number of Rows 999
    Number of tabs 0
    Number of Articles 999

    Same intention on http://www.grazguides.at/neu2/de/programm
  •  
  • Replied by juergenhold on Friday, February 03 2017, 08:52 AM · Hide· #3
    Every time, the number of items divided through the number of colums isnt an integer, the "rest" and last items appears without thumbnail ...
  •  
  • Replied by admin on Friday, February 03 2017, 01:33 PM · Hide· #4
    Hi jurgenhold, yes the sum of number of articles divided by the number of column should be an integer.
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
  •  
  • Replied by juergenhold on Saturday, February 04 2017, 11:22 PM · Hide· #5
    Because in my layout always 4 columns are used, I did a quick and dirty workaround in the default.php after line 18 in the do while loop:

    	if ($total_articles == "1" || $total_articles == "5" || $total_articles == "9" || $total_articles == "13" || $total_articles == "17" || $total_articles == "21" || $total_articles == "25" || $total_articles == "29" || $total_articles == "33" || $total_articles == "37" || $total_articles == "41" || $total_articles == "45" || $total_articles == "49" || $total_articles == "53" || $total_articles == "57"){
    		$total_intro_text = $total_intro_text-3;
    	}
    	if ($total_articles == "2" || $total_articles == "6" || $total_articles == "10" || $total_articles == "14" || $total_articles == "18" || $total_articles == "22" || $total_articles == "26" || $total_articles == "30" || $total_articles == "34" || $total_articles == "38" || $total_articles == "42" || $total_articles == "46" || $total_articles == "50" || $total_articles == "54" || $total_articles == "58"){
    		$total_intro_text = $total_intro_text-2;
    	}
    	if ($total_articles == "3" || $total_articles == "7" || $total_articles == "11" || $total_articles == "15" || $total_articles == "19" || $total_articles == "23" || $total_articles == "27" || $total_articles == "31" || $total_articles == "35" || $total_articles == "39" || $total_articles == "43" || $total_articles == "47" || $total_articles == "51" || $total_articles == "55" || $total_articles == "59"){
    		$total_intro_text = $total_intro_text-1;
    	}


    is working for my, for now ... best regards
  •  
  •  
    Replied by admin on Sunday, February 05 2017, 01:39 AM · Hide· #6
    Hm, ok juergenhold.
    Glad to know you managed to solve it
    Please post rating at the Joomla! Extensions Directory - http://extensions.joomla.org/profile/profile/details/264
Your Response
Please login first in order for you to submit comments