Modx Redirector插件限制资源列表

时间:2015-05-18 13:11:26

标签: modx modx-revolution modx-resources

由Shaun McCormick创建的重定向器插件有点过时,我注意到出现了一个错误,并没有出现所有资源。 enter image description here

2 个答案:

答案 0 :(得分:0)

我首先去了存储库提交修复,但是文件没有被跟踪。 https://github.com/splittingred/Redirector

修正:

打开:/core/componenets/redirector/processors/mgr/resources/getlist.class.php

然后添加启动器方法:

public function initialize() {
    $this->setDefaultProperties(array(
        'start' => 0,
        'limit' => 0,
        'sort' => $this->defaultSortField,
        'dir' => $this->defaultSortDirection,
        'combo' => false,
        'query' => '',
    ));

    return true;
}

那应该是它。现在将显示所有资源。

答案 1 :(得分:0)

你的问题是你不知道过滤。

  1. 所有资源清单。
  2. enter image description here

    1. 过滤
    2. enter image description here

      enter image description here

相关问题