Magic Data page/teasers list selected by tag
Permalink Browser Info Environment
I'm working on a Magic Data page or teasers list based on tag selection.
The setup: a page below which all my content pages are, each of which is tagged according to the content, and another page which has a setof tags and which will contain a block with MD which should produce the list of title/links/teasers of all pages in the first set which have one of the tags in the second set.
So far I have this but something is amiss. Here, "/about" is the root of the tagged content, and page 238 is a page tagged with what should be shown on it.
Could anyone more experienced at this take a look?
The setup: a page below which all my content pages are, each of which is tagged according to the content, and another page which has a setof tags and which will contain a block with MD which should produce the list of title/links/teasers of all pages in the first set which have one of the tags in the second set.
So far I have this but something is amiss. Here, "/about" is the root of the tagged content, and page 238 is a page tagged with what should be shown on it.
Could anyone more experienced at this take a look?
"/about" AS_PAGE LIST_ALL_PAGES 999 APPLY_EACH SAVE MYPAGE SET 0 SAVE MYFLAG SET MYPAGE RETRIEVE CONTEXT Page ATTRIBUTE Tags APPLY_EACH SAVE MYTAG SET MYTAG RETRIEVE IN_LIST ( SET 238 CONTEXT Page ATTRIBUTE Tags ) IF ( SET 1 SAVE MYFLAG ) ( ) END_APPLY_EACH SET MYFLAG RETRIEVE EQ 1 IF ( SET MYPAGE CONTEXT Page RETRIEVE PAGE_LINK ) ( NULL ) END_APPLY_EACH HTML_OL
Type: | Discussion |
---|---|
Status: | Archived |
http://www.concrete5.org/marketplace/addons/magic-data/forums/paget...
Please do not post further on this thread.