Re: [Tiki-devel] Upgraded second production site to Tiki23 - {ALTERNATE()} {ALTERNATE} has changed ?
Roberto Kirschbaum <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <CADWZcziO6JP0LWFb0rogSCayzpuSSL0TCPWhrkBmEeG26-4xFw@mail.gmail.com> |
Hi Bernard, If I see well, your alternate in blue does not have a closing curly bracket... [image: image.png] br Roberto On Sat, Aug 28, 2021 at 1:02 PM Bsfez Tiki via TikiWiki-devel < [email protected]> wrote: > Bug declared (workaround found for my own case) > > > https://dev.tiki.org/item7817-Alternate-block-is-cancelled-when-it-is-used-twice-in-a-module > <https://dev.tiki.org/item7817-Alternate-block-is-cancelled-when-there-no-results-at-the-top-level> > > B > > On 27 Aug 2021, at 15:36 , Bsfez Tiki via TikiWiki-devel < > [email protected]> wrote: > > Hello, > > I upgraded second production to Tiki23 so far all good but an alternate > thing. > I always used it quite simply as I didn’t find any doc about it. > > I have a module in the top area to display a picture if exist in one > tracker or another (they don’t exist in both) > > So I have: > > > {LIST()} > {filter content="2" field="tracker_id"} > {filter content="{{user}}" field="tracker_field_childrenFamilyName"} > {output template="child_picture_inner.tpl"}{ALTERNATE() nothing {ALTERNATE} > {FORMAT(name="picture")}{display name="tracker_field_childrenPicture" > default=" "}{FORMAT} > {LIST} > {LIST()} > {filter content="3" field="tracker_id"} > {filter content="{{user}}" field="tracker_field_parentsFamilyName"} > {output template="child_picture_inner.tpl"}{ALTERNATE()} {ALTERNATE} > {FORMAT(name="picture")}{display name="tracker_field_parentsPicture" > default=" "}{FORMAT} > {LIST} > > If there is a picture it is displayed else nothing > {ALTERNATE()} {ALTERNATE} > > This is not working anymore (still working on the Tiki22 for the same > website). > It show instead: the (ugly) No results for query. > > Something changed or I don’t use properly the {ALTERNATE()} {ALTERNATE} > in a module ? > > Bernard > > _______________________________________________ > TikiWiki-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel > > > _______________________________________________ > TikiWiki-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel > _______________________________________________ TikiWiki-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
image.png
(image/png, 34.1 KB) - not displayed