Loading...
 

Tikiwiki-devel (mailman list mirror)


Pluginlist to catch the page name and use it as variable

posts: 7853 Israel

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>

posts: 126257 United Kingdom

Hi Bernard

Not sure i understand 100% but \{{page}\} will insert the current page name in a wiki page (if you have wiki arg vars enabled)

HTH

jn



> On 14 Jul 2016, at 17:06, Bernard Sfez <me@bsfez.com> wrote:
>
> 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
>
>
> —————
>
> <signature_200.jpg>
>
>
>
>
> Bernard Sfez : +972(0)54 756 9030 - me at bsfez.com
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev___
> TikiWiki-devel mailing list
> TikiWiki-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
___
TikiWiki-devel mailing list
TikiWiki-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

posts: 7853 Israel

Hi Jonny,

In the same wiki page I use I can use \{{page}\}.

1/ Can I use it as term in a plugin list ie:
\{filter field="tracker_field_title" content=""\} ?

2/ Can I use it in a plugin list of a template that is included (include module) in a page ?

Thanks for sharing your knowledge Jonny
Bernard

> On 14 Jul 2016, at 19:38 , Jonny Bradley <jonny@tiki.org> wrote:
>
> Hi Bernard
>
> Not sure i understand 100% but \{{page}\} will insert the current page name in a wiki page (if you have wiki arg vars enabled)
>
> HTH
>
> jn
>
>
>
>> On 14 Jul 2016, at 17:06, Bernard Sfez <me@bsfez.com> wrote:
>>
>> 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
>>
>>
>> —————
>>
>> <signature_200.jpg>
>>
>>
>>
>>
>> Bernard Sfez : +972(0)54 756 9030 - me at bsfez.com
>> ------------------------------------------------------------------------------
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>> reports.http://sdm.link/zohodev2dev___
>> TikiWiki-devel mailing list
>> TikiWiki-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev
> ___
> TikiWiki-devel mailing list
> TikiWiki-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

—————






Bernard Sfez : +972(0)54 756 9030 - me at bsfez.com <mailto:me@bsfez.com>

NOTE: This e-mail is confidential and is intended only for the recipients listed.
Unauthorised use or disclosure of this e-mail or any of the information in it is
strictly prohibited. If you are not a listed recipient or someone authorised to
receive e-mail on behalf of a listed recipient, please reply to the sender that
the e-mail was misdirected and delete the e-mail. Thank you.
<http://www.linkedin.com/company/shocksite>

posts: 126257 United Kingdom

Hi Bernard

> On 15 Jul 2016, at 13:29, Bernard Sfez <me@bsfez.com> wrote:
>
> Hi Jonny,
>
> In the same wiki page I use I can use \{{page}\}.
>
> 1/ Can I use it as term in a plugin list ie:
> \{filter field="tracker_field_title" content=""\} ?

That was what i meant, but does it work?

> 2/ Can I use it in a plugin list of a template that is included (include module) in a page ?

Not sure why you would use a module (plugin) - was that what you mean? You might be able to use a list plugin in a wiki page template, you would probably have to use the \{FORMAT("otherlist")\}{display _name="list" format="wikiplugin"... etc method, but i usually use a smarty tpl file for that kind of list nesting, so not sure how far you could get like that...

Good luck! :-)

jb



> Thanks for sharing your knowledge Jonny
> Bernard
>
>> On 14 Jul 2016, at 19:38 , Jonny Bradley <jonny@tiki.org> wrote:
>>
>> Hi Bernard
>>
>> Not sure i understand 100% but \{{page}\} will insert the current page name in a wiki page (if you have wiki arg vars enabled)
>>
>> HTH
>>
>> jn
>>
>>
>>
>>> On 14 Jul 2016, at 17:06, Bernard Sfez <me@bsfez.com> wrote:
>>>
>>> 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
>>>
>>>
>>> —————
>>>
>>> <signature_200.jpg>
>>>
>>>
>>>
>>>
>>> Bernard Sfez : +972(0)54 756 9030 - me at bsfez.com
>>> ------------------------------------------------------------------------------
>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>>> patterns at an interface-level. Reveals which users, apps, and protocols are
>>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>>> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>>> reports.http://sdm.link/zohodev2dev___
>>> TikiWiki-devel mailing list
>>> TikiWiki-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>
>>
>> ------------------------------------------------------------------------------
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>> reports.http://sdm.link/zohodev2dev
>> ___
>> TikiWiki-devel mailing list
>> TikiWiki-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>
> —————
>
> <signature_200.jpg>
>
>
>
>
> Bernard Sfez : +972(0)54 756 9030 - me at bsfez.com
>
> NOTE: This e-mail is confidential and is intended only for the recipients listed.
> Unauthorised use or disclosure of this e-mail or any of the information in it is
> strictly prohibited. If you are not a listed recipient or someone authorised to
> receive e-mail on behalf of a listed recipient, please reply to the sender that
> the e-mail was misdirected and delete the e-mail. Thank you.
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev___
> TikiWiki-devel mailing list
> TikiWiki-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
___
TikiWiki-devel mailing list
TikiWiki-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

posts: 7853 Israel

I will dig from here, thanks !

> On 16 Jul 2016, at 15:08 , Jonny Bradley <jonny@tiki.org <mailto:jonny@tiki.org>> wrote:
>
> Hi Bernard
>
>> On 15 Jul 2016, at 13:29, Bernard Sfez <me@bsfez.com <mailto:me@bsfez.com>> wrote:
>>
>> Hi Jonny,
>>
>> In the same wiki page I use I can use \{{page}\}.
>>
>> 1/ Can I use it as term in a plugin list ie:
>> \{filter field="tracker_field_title" content=""\} ?
>
> That was what i meant, but does it work?
>
>> 2/ Can I use it in a plugin list of a template that is included (include module) in a page ?
>
> Not sure why you would use a module (plugin) - was that what you mean? You might be able to use a list plugin in a wiki page template, you would probably have to use the \{FORMAT("otherlist")\}{display _name="list" format="wikiplugin"... etc method, but i usually use a smarty tpl file for that kind of list nesting, so not sure how far you could get like that...
>
> Good luck! :-)
>
> jb
>
>
>
>> Thanks for sharing your knowledge Jonny
>> Bernard
>>
>>> On 14 Jul 2016, at 19:38 , Jonny Bradley <jonny@tiki.org <mailto:jonny@tiki.org>> wrote:
>>>
>>> Hi Bernard
>>>
>>> Not sure i understand 100% but \{{page}\} will insert the current page name in a wiki page (if you have wiki arg vars enabled)
>>>
>>> HTH
>>>
>>> jn
>>>
>>>
>>>
>>>> On 14 Jul 2016, at 17:06, Bernard Sfez <me@bsfez.com <mailto:me@bsfez.com>> wrote:
>>>>
>>>> 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
>>>>
>>>>
>>>> —————
>>>>
>>>> <signature_200.jpg>
>>>>
>>>>
>>>>
>>>>
>>>> Bernard Sfez : +972(0)54 756 9030 - me at bsfez.com <mailto:me@bsfez.com>
>>>> ------------------------------------------------------------------------------
>>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>>>> patterns at an interface-level. Reveals which users, apps, and protocols are
>>>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>>>> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>>>> reports.http://sdm.link/zohodev2dev_ <http://sdm.link/zohodev2dev_>
>>>> TikiWiki-devel mailing list
>>>> TikiWiki-devel at lists.sourceforge.net <mailto:TikiWiki-devel@lists.sourceforge.net>
>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>>> patterns at an interface-level. Reveals which users, apps, and protocols are
>>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>>> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>>> reports.http://sdm.link/zohodev2dev <http://sdm.link/zohodev2dev>
>>> ___
>>> TikiWiki-devel mailing list
>>> TikiWiki-devel at lists.sourceforge.net <mailto:TikiWiki-devel@lists.sourceforge.net>
>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>
>> —————
>>
>> <signature_200.jpg>
>>
>>
>>
>>
>> Bernard Sfez : +972(0)54 756 9030 - me at bsfez.com <mailto:me@bsfez.com>
>>
>> NOTE: This e-mail is confidential and is intended only for the recipients listed.
>> Unauthorised use or disclosure of this e-mail or any of the information in it is
>> strictly prohibited. If you are not a listed recipient or someone authorised to
>> receive e-mail on behalf of a listed recipient, please reply to the sender that
>> the e-mail was misdirected and delete the e-mail. Thank you.
>>
>> ------------------------------------------------------------------------------
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>> reports.http://sdm.link/zohodev2dev_ <http://sdm.link/zohodev2dev_>
>> TikiWiki-devel mailing list
>> TikiWiki-devel at lists.sourceforge.net <mailto:TikiWiki-devel@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel <https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel>
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev <http://sdm.link/zohodev2dev>
> ___
> TikiWiki-devel mailing list
> TikiWiki-devel at lists.sourceforge.net <mailto:TikiWiki-devel@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel <https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel>


—————






Bernard Sfez : +972(0)54 756 9030 - me at bsfez.com <mailto:me@bsfez.com>

posts: 7853 Israel

Hi all,

>> \{filter field="tracker_field_title" content=""\} ?

Work perfectly (after I enabled: Admin=>Editing and Plugins=>Wiki argument variables not set by default)

Thanks Jonny !


In my case I had to change the field type to filter on.
Previously "tracker_field_title" was an item link (easier to manage town list from another tracker) but then only the ItemID could be searched (not the value ie: ItemID: 25, Value: London)

Worked: \{filter field="tracker_field_title" content="25"\}
Didn't worked: \{filter field="tracker_field_title" content="London"\}

So having only a list of 35 town that shouldn't change I recreate a town field with field type "dropdown".
Less fancy but work. :-)


BTW, is there a way to be able to search for the value of an item link and not the itemID ?


> On 16 Jul 2016, at 15:08 , Jonny Bradley <jonny@tiki.org> wrote:
>
> Hi Bernard
>
>> On 15 Jul 2016, at 13:29, Bernard Sfez <me@bsfez.com <mailto:me@bsfez.com>> wrote:
>>
>> Hi Jonny,
>>
>> In the same wiki page I use I can use \{{page}\}.
>>
>> 1/ Can I use it as term in a plugin list ie:
>> \{filter field="tracker_field_title" content=""\} ?
>
> That was what i meant, but does it work?
>
>> 2/ Can I use it in a plugin list of a template that is included (include module) in a page ?
>
> Not sure why you would use a module (plugin) - was that what you mean? You might be able to use a list plugin in a wiki page template, you would probably have to use the \{FORMAT("otherlist")\}{display _name="list" format="wikiplugin"… etc method, but i usually use a smarty tpl file for that kind of list nesting, so not sure how far you could get like that...

I have pages with content (text, images, tables, etc) and a plugin list.
The content of the page is non-dev user editable.
The page are wysiwyg

I'm trying to protect code (plugin list) from non delicate hands. :-D :-D :-D :-D
Where it is small part of content to be edited and it is on one blick I used in the past the wysiwyg plugin (work ok).

May be the module way…


Have a nice day
Bernard


>
> Good luck! :-)
>
> jb
>
>
>
>> Thanks for sharing your knowledge Jonny
>> Bernard
>>
>>> On 14 Jul 2016, at 19:38 , Jonny Bradley <jonny@tiki.org> wrote:
>>>
>>> Hi Bernard
>>>
>>> Not sure i understand 100% but \{{page}\} will insert the current page name in a wiki page (if you have wiki arg vars enabled)
>>>
>>> HTH
>>>
>>> jn
>>>
>>>
>>>
>>>> On 14 Jul 2016, at 17:06, Bernard Sfez <me@bsfez.com> wrote:
>>>>
>>>> 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
>>>>
>>>>
>>>> —————
>>>>
>>>> <signature_200.jpg>
>>>>
>>>>
>>>>
>>>>
>>>> Bernard Sfez : +972(0)54 756 9030 - me at bsfez.com
>>>> ------------------------------------------------------------------------------
>>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>>>> patterns at an interface-level. Reveals which users, apps, and protocols are
>>>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>>>> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>>>> reports.http://sdm.link/zohodev2dev___
>>>> TikiWiki-devel mailing list
>>>> TikiWiki-devel at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>>> patterns at an interface-level. Reveals which users, apps, and protocols are
>>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>>> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>>> reports.http://sdm.link/zohodev2dev
>>> ___
>>> TikiWiki-devel mailing list
>>> TikiWiki-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>
>> —————
>>
>> <signature_200.jpg>
>>
>>
>>
>>
>> Bernard Sfez : +972(0)54 756 9030 - me at bsfez.com
>>
>> NOTE: This e-mail is confidential and is intended only for the recipients listed.
>> Unauthorised use or disclosure of this e-mail or any of the information in it is
>> strictly prohibited. If you are not a listed recipient or someone authorised to
>> receive e-mail on behalf of a listed recipient, please reply to the sender that
>> the e-mail was misdirected and delete the e-mail. Thank you.
>>
>> ------------------------------------------------------------------------------
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>> reports.http://sdm.link/zohodev2dev_ <http://sdm.link/zohodev2dev_>
>> TikiWiki-devel mailing list
>> TikiWiki-devel at lists.sourceforge.net <mailto:TikiWiki-devel@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel <https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel>
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev <http://sdm.link/zohodev2dev>
> ___
> TikiWiki-devel mailing list
> TikiWiki-devel at lists.sourceforge.net <mailto:TikiWiki-devel@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel <https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel>


—————






Bernard Sfez : +972(0)54 756 9030 - me at bsfez.com <mailto:me@bsfez.com>

posts: 126257 United Kingdom


Hi B

Marking progress, nice! :-)

You might well find \{filter field="tracker_field_title_text" content="London"\} will work for ItemLink and other "related" field types.

jb



> On 18 Jul 2016, at 08:09, Bernard Sfez <me@bsfez.com> wrote:
>
> Hi all,
>
>>> \{filter field="tracker_field_title" content=""\} ?
>
> Work perfectly (after I enabled: Admin=>Editing and Plugins=>Wiki argument variables not set by default)
>
> Thanks Jonny !
>
>
> In my case I had to change the field type to filter on.
> Previously "tracker_field_title" was an item link (easier to manage town list from another tracker) but then only the ItemID could be searched (not the value ie: ItemID: 25, Value: London)
>
> Worked: \{filter field="tracker_field_title" content="25"\}
> Didn't worked: \{filter field="tracker_field_title" content="London"\}
>
> So having only a list of 35 town that shouldn't change I recreate a town field with field type "dropdown".
> Less fancy but work. :-)
>
>
> BTW, is there a way to be able to search for the value of an item link and not the itemID ?
>
>
>> On 16 Jul 2016, at 15:08 , Jonny Bradley <jonny@tiki.org> wrote:
>>
>> Hi Bernard
>>
>>> On 15 Jul 2016, at 13:29, Bernard Sfez <me@bsfez.com> wrote:
>>>
>>> Hi Jonny,
>>>
>>> In the same wiki page I use I can use \{{page}\}.
>>>
>>> 1/ Can I use it as term in a plugin list ie:
>>> \{filter field="tracker_field_title" content=""\} ?
>>
>> That was what i meant, but does it work?
>>
>>> 2/ Can I use it in a plugin list of a template that is included (include module) in a page ?
>>
>> Not sure why you would use a module (plugin) - was that what you mean? You might be able to use a list plugin in a wiki page template, you would probably have to use the \{FORMAT("otherlist")\}{display _name="list" format="wikiplugin"… etc method, but i usually use a smarty tpl file for that kind of list nesting, so not sure how far you could get like that...
>
> I have pages with content (text, images, tables, etc) and a plugin list.
> The content of the page is non-dev user editable.
> The page are wysiwyg
>
> I'm trying to protect code (plugin list) from non delicate hands. :-D :-D :-D :-D
> Where it is small part of content to be edited and it is on one blick I used in the past the wysiwyg plugin (work ok).
>
> May be the module way…
>
>
> Have a nice day
> Bernard
>
>
>>
>> Good luck! :-)
>>
>> jb
>>
>>
>>
>>> Thanks for sharing your knowledge Jonny
>>> Bernard
>>>
>>>> On 14 Jul 2016, at 19:38 , Jonny Bradley <jonny@tiki.org> wrote:
>>>>
>>>> Hi Bernard
>>>>
>>>> Not sure i understand 100% but \{{page}\} will insert the current page name in a wiki page (if you have wiki arg vars enabled)
>>>>
>>>> HTH
>>>>
>>>> jn
>>>>
>>>>
>>>>
>>>>> On 14 Jul 2016, at 17:06, Bernard Sfez <me@bsfez.com> wrote:
>>>>>
>>>>> 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
>>>>>
>>>>>
>>>>> —————
>>>>>
>>>>> <signature_200.jpg>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Bernard Sfez : +972(0)54 756 9030 - me at bsfez.com
>>>>> ------------------------------------------------------------------------------
>>>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>>>>> patterns at an interface-level. Reveals which users, apps, and protocols are
>>>>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>>>>> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>>>>> reports.http://sdm.link/zohodev2dev___
>>>>> TikiWiki-devel mailing list
>>>>> TikiWiki-devel at lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>>>> patterns at an interface-level. Reveals which users, apps, and protocols are
>>>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>>>> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>>>> reports.http://sdm.link/zohodev2dev
>>>> ___
>>>> TikiWiki-devel mailing list
>>>> TikiWiki-devel at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>>
>>> —————
>>>
>>> <signature_200.jpg>
>>>
>>>
>>>
>>>
>>> Bernard Sfez : +972(0)54 756 9030 - me at bsfez.com
>>>
>>> NOTE: This e-mail is confidential and is intended only for the recipients listed.
>>> Unauthorised use or disclosure of this e-mail or any of the information in it is
>>> strictly prohibited. If you are not a listed recipient or someone authorised to
>>> receive e-mail on behalf of a listed recipient, please reply to the sender that
>>> the e-mail was misdirected and delete the e-mail. Thank you.
>>>
>>> ------------------------------------------------------------------------------
>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>>> patterns at an interface-level. Reveals which users, apps, and protocols are
>>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>>> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>>> reports.http://sdm.link/zohodev2dev___
>>> TikiWiki-devel mailing list
>>> TikiWiki-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>
>>
>> ------------------------------------------------------------------------------
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>> reports.http://sdm.link/zohodev2dev
>> ___
>> TikiWiki-devel mailing list
>> TikiWiki-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>
>
>
> —————
>
> <signature_200.jpg>
>
>
>
>
> Bernard Sfez : +972(0)54 756 9030 - me at bsfez.com
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev___
> TikiWiki-devel mailing list
> TikiWiki-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
___
TikiWiki-devel mailing list
TikiWiki-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

posts: 7853 Israel

Lovely !!!

Thanks for the last inch (and the first and the medium) :-D :-D :-D

Doc updated with this valuable info !!

Bernard

> On 18 Jul 2016, at 15:37 , Jonny Bradley <jonny@tiki.org> wrote:
>
>
> Hi B
>
> Marking progress, nice! :-)
>
> You might well find \{filter field="tracker_field_title_text" content="London"\} will work for ItemLink and other "related" field types.
>
> jb
>
>
>
>> On 18 Jul 2016, at 08:09, Bernard Sfez <me@bsfez.com> wrote:
>>
>> Hi all,
>>
>>>> \{filter field="tracker_field_title" content=""\} ?
>>
>> Work perfectly (after I enabled: Admin=>Editing and Plugins=>Wiki argument variables not set by default)
>>
>> Thanks Jonny !
>>
>>
>> In my case I had to change the field type to filter on.
>> Previously "tracker_field_title" was an item link (easier to manage town list from another tracker) but then only the ItemID could be searched (not the value ie: ItemID: 25, Value: London)
>>
>> Worked: \{filter field="tracker_field_title" content="25"\}
>> Didn't worked: \{filter field="tracker_field_title" content="London"\}
>>
>> So having only a list of 35 town that shouldn't change I recreate a town field with field type "dropdown".
>> Less fancy but work. :-)
>>
>>
>> BTW, is there a way to be able to search for the value of an item link and not the itemID ?
>>
>>
>>> On 16 Jul 2016, at 15:08 , Jonny Bradley <jonny@tiki.org> wrote:
>>>
>>> Hi Bernard
>>>
>>>> On 15 Jul 2016, at 13:29, Bernard Sfez <me@bsfez.com> wrote:
>>>>
>>>> Hi Jonny,
>>>>
>>>> In the same wiki page I use I can use \{{page}\}.
>>>>
>>>> 1/ Can I use it as term in a plugin list ie:
>>>> \{filter field="tracker_field_title" content=""\} ?
>>>
>>> That was what i meant, but does it work?
>>>
>>>> 2/ Can I use it in a plugin list of a template that is included (include module) in a page ?
>>>
>>> Not sure why you would use a module (plugin) - was that what you mean? You might be able to use a list plugin in a wiki page template, you would probably have to use the \{FORMAT("otherlist")\}{display _name="list" format="wikiplugin"… etc method, but i usually use a smarty tpl file for that kind of list nesting, so not sure how far you could get like that...
>>
>> I have pages with content (text, images, tables, etc) and a plugin list.
>> The content of the page is non-dev user editable.
>> The page are wysiwyg
>>
>> I'm trying to protect code (plugin list) from non delicate hands. :-D :-D :-D :-D
>> Where it is small part of content to be edited and it is on one blick I used in the past the wysiwyg plugin (work ok).
>>
>> May be the module way…
>>
>>
>> Have a nice day
>> Bernard
>>
>>
>>>
>>> Good luck! :-)
>>>
>>> jb
>>>
>>>
>>>
>>>> Thanks for sharing your knowledge Jonny
>>>> Bernard
>>>>
>>>>> On 14 Jul 2016, at 19:38 , Jonny Bradley <jonny@tiki.org> wrote:
>>>>>
>>>>> Hi Bernard
>>>>>
>>>>> Not sure i understand 100% but \{{page}\} will insert the current page name in a wiki page (if you have wiki arg vars enabled)
>>>>>
>>>>> HTH
>>>>>
>>>>> jn
>>>>>
>>>>>
>>>>>
>>>>>> On 14 Jul 2016, at 17:06, Bernard Sfez <me@bsfez.com> wrote:
>>>>>>
>>>>>> 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
>>>>>>
>>>>>>
>>>>>> —————
>>>>>>
>>>>>> <signature_200.jpg>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Bernard Sfez : +972(0)54 756 9030 - me at bsfez.com
>>>>>> ------------------------------------------------------------------------------
>>>>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>>>>>> patterns at an interface-level. Reveals which users, apps, and protocols are
>>>>>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>>>>>> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>>>>>> reports.http://sdm.link/zohodev2dev___
>>>>>> TikiWiki-devel mailing list
>>>>>> TikiWiki-devel at lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>>>>> patterns at an interface-level. Reveals which users, apps, and protocols are
>>>>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>>>>> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>>>>> reports.http://sdm.link/zohodev2dev
>>>>> ___
>>>>> TikiWiki-devel mailing list
>>>>> TikiWiki-devel at lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>>>
>>>> —————
>>>>
>>>> <signature_200.jpg>
>>>>
>>>>
>>>>
>>>>
>>>> Bernard Sfez : +972(0)54 756 9030 - me at bsfez.com
>>>>
>>>> NOTE: This e-mail is confidential and is intended only for the recipients listed.
>>>> Unauthorised use or disclosure of this e-mail or any of the information in it is
>>>> strictly prohibited. If you are not a listed recipient or someone authorised to
>>>> receive e-mail on behalf of a listed recipient, please reply to the sender that
>>>> the e-mail was misdirected and delete the e-mail. Thank you.
>>>>
>>>> ------------------------------------------------------------------------------
>>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>>>> patterns at an interface-level. Reveals which users, apps, and protocols are
>>>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>>>> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>>>> reports.http://sdm.link/zohodev2dev___
>>>> TikiWiki-devel mailing list
>>>> TikiWiki-devel at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>>> patterns at an interface-level. Reveals which users, apps, and protocols are
>>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>>> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>>> reports.http://sdm.link/zohodev2dev
>>> ___
>>> TikiWiki-devel mailing list
>>> TikiWiki-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>
>>
>>
>> —————
>>
>> <signature_200.jpg>
>>
>>
>>
>>
>> Bernard Sfez : +972(0)54 756 9030 - me at bsfez.com
>> ------------------------------------------------------------------------------
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
>> reports.http://sdm.link/zohodev2dev___
>> TikiWiki-devel mailing list
>> TikiWiki-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev
> ___
> TikiWiki-devel mailing list
> TikiWiki-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel

—————






Bernard Sfez : +972(0)54 756 9030 - me at bsfez.com <mailto:me@bsfez.com>

NOTE: This e-mail is confidential and is intended only for the recipients listed.
Unauthorised use or disclosure of this e-mail or any of the information in it is
strictly prohibited. If you are not a listed recipient or someone authorised to
receive e-mail on behalf of a listed recipient, please reply to the sender that
the e-mail was misdirected and delete the e-mail. Thank you.
<http://www.linkedin.com/company/shocksite>


Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.