Pluginlist to catch the page name and use it as variable
Hello,
I have several wiki pages using the same a plugin list from another wiki page used as tpl using the plugin "Include" a portion of another wiki page.
So, I have a few pages like this;
"problema" include the "problema _list_tpl" to display trackeritems filtered \{filter field="tracker_field_title" content="problema"\}
"problemb" include the "problemb _list_tpl" to display trackeritems filtered \{filter field="tracker_field_title" content="problemb"\}
"problemc" include the "problemc _list_tpl" to display trackeritems filtered \{filter field="tracker_field_title" content="problemc"\}
"problemd" include the "problemd _list_tpl" to display trackeritems filtered \{filter field="tracker_field_title" content="problemd"\}
Would be nice to find a way to avoid those duplicate tpl with the pagename inserted each time on the unique plugin list template.
I see there is a another module: "Include template" that Include a template file in a page with a parameter to pass variable:
"values passed to the TPL"
"Values can be passed to tpl file, for example values=var1:val1&var2:val2"
But no doc I could find + not sure how to pass it
Bernard
—————
Bernard Sfez : +972(0)54 756 9030 - me at bsfez.com <mailto:me@bsfez.com>