We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39706
    • 34 Posts
    Подскажите нубу, как же в модыксе учитывается структура документа. Щас делаю так:
    [[!GalleryAlbums? &toPlaceholder=`GalleryAlbums` &limit=`0` &albumCoverSort=`rank` &prominentOnly=`0` &rowTpl=`DemoGalAlbumRowTpl` &thumbWidth=`195` &thumbHeight=`140`]]
    [[!GalleryItem`]]
    [[!Gallery? &checkForRequestTagVar=`1` &toPlaceholder=`Gallery` &useCss=`0` &containerTpl=`DemoGalleryAlbumTpl` &thumbWidth=`195` &thumbHeight=`140` &thumbTpl=`DemoGalItemThumb` &imageWidth=`800` &imageHeight=`800`]]
    
    [[!If? &subject=`[[+GalleryItem]]` &operator=`isempty` &then=`
    [[!If? &subject=`[[+Gallery]]` &operator=`isempty` &then=`
    [[+GalleryAlbums]]
    ` &else=`
    [[+Gallery]]
    `]]
    ` &else=`
    [[+GalleryItem]]
    `]]

    т.е. есть главная /gallery/, есть страница категории /gallery/galAlbum=1 и должна быть страница элемента /gallery/?galItem=1&galAlbum=1
    но при таком использовании получается только главная и страница категории. что я делаю не так?