I'm trying to implement a LikePagesAction for
pages, that will list
all the pages that start and end with the same words as a current
pages. But i don't know how to collect all the pages in a folder from
a children page ...
Inside the action write something list this:
structure parent children collect: [ :child |
... ].
Additional information:
structure. "the structure the action is executed on"
structure parent. "the parent folder of the structure the action is
..."
structure parent children. "the children of the parent folder ..."
HTH
Lukas
--
Lukas Renggli
http://renggli.freezope.org