Skip to the content
Documentation

OR conditions

No ratings yet

Is there a way to specify OR conditions ? ie : node 43 OR node 56 ?

Comments (1 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. Re: OR conditions

    Jan Kudlicka ·

    No, but you can place 2 groups in override.ini(.append.php) like in the following example:
    [magic_pockets_43]
    Source=node/view/full.tpl
    MatchFile=magic_pocket.tpl
    Subdir=templates
    Match[node]=43
    [magic_pockets_56]
    Source=node/view/full.tpl
    MatchFile=magic_pocket.tpl
    Subdir=templates
    Match[node]=56
    (Note that the group name must be diffent.)
    If you have set of many such nodes, you may consider creating a special class for those nodes or place them in special section (do not forget on permission settings in this case).