Mohammad, I wanted to optimize the plugin moving the TOC code from the tiddler *Content* into the tag tiddler *Eng*. However, I encountered a strange "double displaying" effect:
[image: simple-navigation.png] Could you hint how to sort out this effect? неділя, 22 березня 2020 р. 12:44:48 UTC+2 користувач Mohammad написав: > > Got it! > > Thank you Olegh! > > --Mohammad > > On Sunday, March 22, 2020 at 2:31:43 PM UTC+4:30, oleghbond wrote: >> >> Mohammad, >> >> I've caught your question - you were asking about the wiki content, >> consisting of pairs of Ukr/Eng tiddlers. Yes, both tiddlers in each pair >> are prepared manually, then they are tagged with *Ukr* and *Eng*, >> respectively, and, finally, the field *swap* is created in both of >> tiddlers for cross-referencing. That is the whole technology for a wiki >> writer. >> >> Olegh Bondarenko >> <http://bit.ly/OleghBond>https://bit.ly/oleghbond >> >> >> >> >> >> нд, 22 бер. 2020 о 11:10 Mohammad <[email protected]> пише: >> >>> Thanks for clarification Olegh! >>> >>> I understood both tiddlers (one in Ukranian and one in English) are >>> manually prepared and they are existed in the wiki! >>> >>> --Mohammad >>> >>> On Sunday, March 22, 2020 at 1:33:31 PM UTC+4:30, oleghbond wrote: >>>> >>>> Dear, Mohammad, please have a detailed description of the plugin >>>> components: >>>> ComponentDescription >>>> $:/plugins/boa/langswap/Зміст >>>> <https://protw.github.io/exhazoom/#%24%3A%2Fplugins%2Fboa%2Flangswap%2F%D0%97%D0%BC%D1%96%D1%81%D1%82> >>>> A >>>> plane TOC of tiddlers tagged with *Ukr*, the list of tiddlers is >>>> sortable (draggable) one >>>> $:/plugins/boa/langswap/Content >>>> <https://protw.github.io/exhazoom/#%24%3A%2Fplugins%2Fboa%2Flangswap%2FContent> >>>> A >>>> plane TOC of tiddlers tagged with *Eng*, the list of tiddlers is >>>> sortable (draggable) one >>>> $:/plugins/boa/langswap/Content-Зміст >>>> <https://protw.github.io/exhazoom/#%24%3A%2Fplugins%2Fboa%2Flangswap%2FContent-%D0%97%D0%BC%D1%96%D1%81%D1%82> >>>> Combination >>>> of two TOCs for *Ukr* and *Eng* under macros <<tabs>>, this tiddler is >>>> placed to the sidebar>> >>>> $:/plugins/boa/langswap/img/GBR.svg >>>> <https://protw.github.io/exhazoom/#%24%3A%2Fplugins%2Fboa%2Flangswap%2Fimg%2FGBR.svg> >>>> Great >>>> Britain's flag >>>> $:/plugins/boa/langswap/img/swap.svg >>>> <https://protw.github.io/exhazoom/#%24%3A%2Fplugins%2Fboa%2Flangswap%2Fimg%2Fswap.svg> >>>> Tiddler >>>> swap button image, placed the top right of a tiddler >>>> $:/plugins/boa/langswap/img/UKR.svg >>>> <https://protw.github.io/exhazoom/#%24%3A%2Fplugins%2Fboa%2Flangswap%2Fimg%2FUKR.svg> >>>> Ukrainian >>>> flag >>>> $:/plugins/boa/langswap/readme >>>> <https://protw.github.io/exhazoom/#%24%3A%2Fplugins%2Fboa%2Flangswap%2Freadme> >>>> >>>> Readme >>>> $:/plugins/boa/langswap/swapbutton >>>> <https://protw.github.io/exhazoom/#%24%3A%2Fplugins%2Fboa%2Flangswap%2Fswapbutton> >>>> The >>>> swap button macro code >>>> Eng <https://protw.github.io/exhazoom/#Eng> Tag *Eng* tiddler, >>>> contains previous | next navigation macros <<simple-navigation >>>> tag:Eng>> >>>> Ukr <https://protw.github.io/exhazoom/#Ukr> Tag *Ukr* tiddler, >>>> contains previous | next navigation macros <<simple-navigation >>>> tag:Ukr>> >>>> Olegh Bondarenko >>>> <http://bit.ly/OleghBond>https://bit.ly/oleghbond >>>> >>>> >>>> >>>> >>>> >>>> нд, 22 бер. 2020 о 06:50 Mohammad <[email protected]> пише: >>>> >>>>> Hi Olegh, >>>>> Really great stuff. Love them! >>>>> >>>>> One question: Do you prepare both tiddlers in Uk/En or this is done by >>>>> code? >>>>> >>>>> --Mohammad >>>>> >>>>> On Sunday, March 22, 2020 at 12:16:52 AM UTC+4:30, oleghbond wrote: >>>>>> >>>>>> Plugin is: >>>>>> >>>>>> - titled BOA - Bilingual pages swapper, >>>>>> - placed locally at $:/plugins/boa/langswap >>>>>> <https://protw.github.io/exhazoom/#%24%3A%2Fplugins%2Fboa%2Flangswap> >>>>>> , >>>>>> - placed globally at https://protw.github.io/templ, >>>>>> - dependent on other plugins *Shiraz* and *Utility*. >>>>>> >>>>>> The plugin sets an additional button at the top right of a tiddler >>>>>> intended for switching between identical pages in *Ukrainian* and >>>>>> *English*. The name of the translated matching tiddler is written in >>>>>> the tiddler field swap. >>>>>> >>>>>> >>>>>> Definitely, the plugin can be easily rewritten for any other pair of >>>>>> languages! >>>>>> >>>>>> >>>>>> For example, we have two matching tiddlers titled Стаття and Article, >>>>>> respectively in Ukrainian and English. In order to ensure correct >>>>>> transition from tiddler Стаття in its field swap the value *Article* >>>>>> must >>>>>> be specified, and in tiddler Article in the same field swap – the >>>>>> value *Стаття*, respectively. Also, each of the two tiddlers must be >>>>>> tagged with their language, Ukr or Eng, respectively. >>>>>> >>>>>> >>>>>> Additionally, the plugin creates two tag tiddlers Ukr >>>>>> <https://protw.github.io/exhazoom/#Ukr> and Eng >>>>>> <https://protw.github.io/exhazoom/#Eng>, each of which stores an >>>>>> ordered list of all the tiddlers tagged with the *Ukr* or *Eng*, >>>>>> respectively. Moreover, the order of the tiddlers in these lists can be >>>>>> rearranged using *drag-and-drop* by pre-clicking on the tag icon >>>>>> *Ukr* or *Eng*. And that's not all - there are a couple of >>>>>> navigation buttons previous | next in the bottom of each tiddler >>>>>> from the list. The functionality specified here is provided with a >>>>>> simple-navigation macros, which is part of the plugin >>>>>> $:/plugins/kookma/utility >>>>>> <https://protw.github.io/exhazoom/#%24%3A%2Fplugins%2Fkookma%2Futility> >>>>>> . >>>>>> >>>>>> >>>>>> Also, the plugin creates two plane content tables Зміст and Content >>>>>> based >>>>>> on the Ukr <https://protw.github.io/exhazoom/#Ukr> and Eng >>>>>> <https://protw.github.io/exhazoom/#Eng> tags, respectively. These >>>>>> two tables of content are placed in the sidebar under Content-Зміст >>>>>> tab. >>>>>> >>>>> -- >>>>> You received this message because you are subscribed to a topic in the >>>>> Google Groups "TiddlyWiki" group. >>>>> To unsubscribe from this topic, visit >>>>> https://groups.google.com/d/topic/tiddlywiki/mWh7HOFtEzk/unsubscribe. >>>>> To unsubscribe from this group and all its topics, send an email to >>>>> [email protected]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/tiddlywiki/29b59982-06a3-4080-ab0f-177b02e34ef3%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/tiddlywiki/29b59982-06a3-4080-ab0f-177b02e34ef3%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "TiddlyWiki" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/tiddlywiki/mWh7HOFtEzk/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/tiddlywiki/c3572837-67c2-4c59-8483-305f2500bd31%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/tiddlywiki/c3572837-67c2-4c59-8483-305f2500bd31%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7a52ef25-d2b1-4002-a40e-8802413a7aaf%40googlegroups.com.

