Joomla 3.2.3精选文章订购

时间:2014-03-27 05:06:44

标签: joomla article featured

在Joomla 3.2.3中,我不能像J 1.5.x中那样制作文章订单,我想按照我在管理员区域定义的那样对首页文章进行排序。 我尝试了几种方法仍然没有任何成功,1周已经...... :( 我试过的最后一个是:

a) Content => Featured Article => (at top right) sort table by "Ordering Descending"
b) I moved the article in the order i want, then click at "Double arrow" to save it
c) Then i click at "Options" (right top), it will open the Global configuration -> Article page. 
+) Then i click at "Category"  => Choose Layout = Blog,   
+) "Blog/Featured Layout" => Multi column Order = Across. 
+) "Shared Option" => Category Order = No Order, Article Order = Ordering
Date for Ordering = published
Then clicked at "Save and Close"
d) I click at "Menu" => Main Menu => Home => layout
+) multi column order = across,
+) Category order = no order,
+) Article Order = featured article order

但是在前端,文章没有改变 它仍按"日期降序"

排序

有什么问题?

由于

4 个答案:

答案 0 :(得分:7)

我有J! 3.3.1并遇到了同样的问题。

进入菜单管理器。打开每个菜单项,然后在“布局”选项卡中进行以下更改:

类别订单 - 无订单(这是让您的文章以您想要的方式订购的真正关键。

文章订单 - 最新版本(或您希望订购的版本。

订购日期 - 我使用已发布但您可以使用您想要的任何内容。

为每个菜单项执行此操作,它应该可以解决问题。

答案 1 :(得分:2)

有同样的问题。无需编码。可以在菜单中完成。

  1. 文章管理员点击左侧的特色文章。将显示您的精选文章,并显示订购列。相应的订单。

  2. 转到菜单管理器,找到要显示精选文章的页面。在第二个选项卡上是布局。转到条款订单并从下拉列表中选择“特色文章订单”。保存,您的文章将按您选择的顺序显示。

答案 2 :(得分:1)

Joomla 3.3.6在这里,我遇到了同样的问题,无论如何,特色排序总是下降,我在 components / com_content / helpers / query.php 中更改了第106行:

$orderby = 'a.featured DESC, fp.ordering, ' . $queryDate . ' DESC ';

为:

$orderby = 'a.featured ASC, fp.ordering, ' . $queryDate . ' DESC ';

现在它可以正常工作。

答案 3 :(得分:0)

我在主页的特色文章订购时遇到了同样的问题。无论我说它的顺序是什么都没有用。

我的家庭设置是

类别订单 - 无订单

商品订单 - 功能文章订单

感谢Andrea的提示,我将components / com_content / helpers / query.php中的第106行更改为

$orderby = ' fp.ordering, a.featured ASC, ' . $queryDate . ' DESC ';

因此,按照fp(首页)排序排序始终是第一位的。

这肯定不是最好的修正,但至少它解决了我的问题。 对我来说,它看起来像订单的查询构造中的错误

相关问题