1

各ドキュメント ID にリンクするすべてのページを表示する modx のプラグインを知っている人はいますか?それとも自分で作成する必要がありますか?

4

1 に答える 1

0

You could write a snippet for yourself. Use the code

$weblinkArray = $modx->getCollection('modWeblink',$criteria);

where $criteria is the set of criteria, restrictions or constraints you want to set, like

$criteria = array( 'published' => 1,// this is optional, more parameters can be optionally added as well )

This gives you an array of the documents that link. Further, you know how to access data of an array.

于 2011-09-16T11:29:40.367 に答える