I have tested the behaviour of blog layouts: (1) Front Page Blog Layout, (2) Section Blog Layout and (3) Category Blog Layout (Note: For the test, I have created 7 articles in a Section/Category and published them in the Front Page).
The first thing i have noticed is that the flow of articles in the blog is different in Joomla! 1.5 than in Joomla! 1.0 (see image attached). The following are several issues/bugs that i have found:
1. Front Page Blog Layout and Category Blog Layout:Case A: When setting Columns to an even number, and #Intro to an odd number, then both layouts try to display always an even number of articles in the #Intro section. For example if i set Columns to 2, both layouts do the following:
# Leading 1 -> Shows 1 article
# Intro 1 -> Shows 2 articles
# Links 4 -> Shows 3 links
=>The layout takes the needed articles from #Links to #Intro (to complete an even number of articles in the #Intro).
Case B: In the same situation, if i set #Links to 0, then the layout has no article to take and it shows the following errors (
see related report):
Quote:
Front Page Blog Layout
Notice: Trying to get property of non-object in joomla_root\components\com_content\views\frontpage\view.html.php on line 146
Notice: Undefined property: stdClass::$attribs in joomla_root\components\com_content\views\frontpage\view.html.php on line 150
Notice: Undefined property: stdClass::$id in joomla_root\components\com_content\views\frontpage\view.html.php on line 178
Notice: Undefined property: stdClass::$id in joomla_root\plugins\content\vote.php on line 21
Notice: Undefined property: stdClass::$title in joomla_root\components\com_content\views\frontpage\tmpl\default_item.php on line 19
Notice: Undefined property: stdClass::$slug in joomla_root\components\com_content\helpers\icon.php on line 54
Notice: Undefined property: stdClass::$slug in joomla_root\components\com_content\helpers\icon.php on line 149
Notice: Undefined property: stdClass::$slug in joomla_root\components\com_content\helpers\icon.php on line 78
Notice: Undefined property: stdClass::$author in joomla_root\components\com_content\views\frontpage\tmpl\default_item.php on line 70
Notice: Undefined property: stdClass::$modified in joomla_root\components\com_content\views\frontpage\tmpl\default_item.php on line 107
Notice: Undefined property: stdClass::$created in joomla_root\components\com_content\views\frontpage\tmpl\default_item.php on line 84
Category Blog Layout
Notice: Trying to get property of non-object in joomla_root\components\com_content\views\category\view.html.php on line 155
Notice: Undefined property: stdClass::$attribs in joomla_root\components\com_content\views\category\view.html.php on line 163
Notice: Undefined property: stdClass::$slug in joomla_root\components\com_content\views\category\view.html.php on line 200
Notice: Undefined property: stdClass::$id in joomla_root\plugins\content\vote.php on line 21
Notice: Undefined property: stdClass::$title in joomla_root\components\com_content\views\category\tmpl\blog_item.php on line 19
Notice: Undefined property: stdClass::$slug in joomla_root\components\com_content\helpers\icon.php on line 54
Notice: Undefined property: stdClass::$slug in joomla_root\components\com_content\helpers\icon.php on line 149
Notice: Undefined property: stdClass::$slug in joomla_root\components\com_content\helpers\icon.php on line 78
Notice: Undefined property: stdClass::$author in joomla_root\components\com_content\views\category\tmpl\blog_item.php on line 70
Notice: Undefined property: stdClass::$created in joomla_root\components\com_content\views\category\tmpl\blog_item.php on line 84
2. Section Blog Layout:This layout shows a different behaviour.
Case A: In the same context than above (2 columns), this layout does the following:
# Leading 1 -> Shows 1 article # Leading 1 -> Shows 1 article
# Intro 1 -> Shows 0 articles # Intro 2 -> Shows 1 articles
# Links 4 -> Shows 5 links # Links 4 -> Shows 5 links
=> This layout considers Leading articles as Intro, and then those Intro articles which aren't showed are summed to Links.
Case B: In the same situation, if i set #Links to 0, the layout doesn't show the errors reported above (for Front Page and Category Blog Layout), but the behaviour is the same as for the Case A (Leading articles are considered as Intro).