Re: [Tiki-devel] CODE plugin not 100% working in forum ?
Bsfez Tiki via TikiWiki-devel <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Jean Marc,
Thanks for looking at this.
This help like writing: { {page} } (no extra-space)
๐๐๐
As advanced is Tiki, we should be able to write code and wiki arg in a page or a forum comment for technical reasons.
IMO using {CODE()} {CODE} should override everything.
I will post a wish...
Bernard
> On 10 Mar 2021, at 02:53 , Jean-Marc Libs <[email protected]> wrote:
>
> I understand wiki arg vars are the first thing to be interpreted by the wiki parser. Before plugins or anything else.
>
> You wrote ~np~{{page}}~/np~
>
> What happened is, {{page}} was immediately replaced with its value, which is nothing (this is not a page, it's a forum post).
> So now you get: ~np~~/np~
>
> That displays nothing.
>
> The person who answered you followed Luci's advice and wrote ~np{~/np~{page}}.
> At first the parser looks for wiki args and finds no wiki arg in ~np{~/np~{page}}.
>
> Then ~np{~/np~ is replaced with { and you get to have displayed {{page}}.
>
> Hope this helps,
> J-M
>
> On Sun, Mar 7, 2021 at 6:56 AM Bsfez Tiki via TikiWiki-devel <[email protected] <mailto:[email protected]>> wrote:
> Same (I edited/resaved to be sure)
>
> <Screen Shot 2021-03-07 at 07.53.32 .png>
>
>> On 7 Mar 2021, at 02:32 , luciash via TikiWiki-devel <[email protected] <mailto:[email protected]>> wrote:
>>
>> And now?
>>
>> On 05.03.2021 10:01, Bsfez Tiki via TikiWiki-devel wrote:
>>> Ahemโฆ not working.
>>>
>>> Nothing is displayed.
>>>
>>> see: https://tiki.org/forumthread76435-PluginLIST-How-does-relation-filter-work#threadId76438 <https://tiki.org/forumthread76435-PluginLIST-How-does-relation-filter-work#threadId76438>
>>>
>>>
>>> Bernard
>>>
>>>
>>>> On 5 Mar 2021, at 10:57 , Bsfez Tiki via TikiWiki-devel <[email protected] <mailto:[email protected]>> wrote:
>>>>
>>>> Thank you Luci for the complete explanation. ;-)
>>>>
>>>> B
>>>>
>>>>> On 4 Mar 2021, at 16:11 , luciash via TikiWiki-devel <[email protected] <mailto:[email protected]>> wrote:
>>>>>
>>>>> wiki arg vars are always interpreted everywhere, even in CODE wikiplugin, not only in Forums. u need to use ~np~{~/np~{page}}
>>>>>
>>>>> why? because of parsing order, they need to be interpreted last (after other parsing is done)
>>>>>
>>>>> luci
>>>>>
>>>>>
>>>>> On 04.03.2021 13:22, Bsfez Tiki via TikiWiki-devel wrote:
>>>>>> Hello,
>>>>>>
>>>>>> I tried to use the CODE plugin in an answer on the forum but the wiki syntax doesnโt appear:
>>>>>>
>>>>>> {CODE()}{{page}}{CODE}
>>>>>>
>>>>>> Shouldnโt we be able to write anything between CODE tags without having it interpreted ?
>>>>>>
>>>>>> B
>>>>>>
>>>>>> _______________________________________________
>>>>>> TikiWiki-devel mailing list
>>>>>> [email protected] <mailto:[email protected]>
>>>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel <https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel>
>>>>>
>>>>> _______________________________________________
>>>>> TikiWiki-devel mailing list
>>>>> [email protected] <mailto:[email protected]>
>>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel <https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel>
>>>>
>>>>
>>>> _______________________________________________
>>>> TikiWiki-devel mailing list
>>>> [email protected] <mailto:[email protected]>
>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel <https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel>
>>>
>>>
>>> _______________________________________________
>>> TikiWiki-devel mailing list
>>> [email protected] <mailto:[email protected]>
>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel <https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel>
>>
>>
>> _______________________________________________
>> TikiWiki-devel mailing list
>> [email protected] <mailto:[email protected]>
>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel <https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel>
>
> _______________________________________________
> TikiWiki-devel mailing list
> [email protected] <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel <https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel>
_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel