如何在modx中创建自动符号链接?

时间:2015-05-10 20:51:27

标签: modx modx-revolution

是否有任何解决方案可以在MODX中的子文件夹(容器)中自动创建符号链接?

在资源选项卡中,我有容器“test1”,我在其中创建文档(资源),我需要在容器“test2”(和“test3”和“test4”)中自动创建符号链接(实际上是三个符号链接中的两个)链接到此创建的文档(资源)

结果我的链接很少:

  1. link ... / test1 / newdocument.html
  2. link ... / test2 / newdocument.html
  3. link ... / test3 / newdocument.html
  4. link ... / test4 / newdocument.html

1 个答案:

答案 0 :(得分:0)

我想你想在另一个文件夹/目录中显示这些资源吗?

更好的方法应该是使用getresources或pdoResoureces来动态显示已有的内容。