masterchief
Well-known member
any progress using file attachments as resources for Xen Gallery?
.xengalleryPage .xengalleryContainer
{
float: left;
margin-right: -230px;
margin-left: 0px;
}
.xengalleryPage .xengalleryContainer .insideContainer
{
margin-right: 230px;
margin-left: 0px;
}
.xengalleryPage .container .xengallerySideBar
{
padding-left: 10px;
padding-right: 0px;
}
All in extra?It can be changed with some CSS.
Code:.xengalleryPage .xengalleryContainer { float: left; margin-right: -230px; margin-left: 0px; } .xengalleryPage .xengalleryContainer .insideContainer { margin-right: 230px; margin-left: 0px; } .xengalleryPage .container .xengallerySideBar { padding-left: 10px; padding-right: 0px; }
View attachment 86086
<xen:include template="xengallery_media_block">
<xen:set var="$blockPhrase">Super Terrific Media</xen:set> // Use either {xen:phrase xengallery_new_media}, {xen:phrase xengallery_random_media} or your own custom title
<xen:set var="$blockId">XMGMediaForumListSidebar</xen:set> // This can be changed but must be something unique.
<xen:set var="$type">new</xen:set> // You can set this to 'rand' for a random selection.
<xen:set var="$items">2</xen:set> // Any number. Number of images that are visible in the slider.
<xen:set var="$limit">20</xen:set> // Any number. Number of images to be loaded (not all are visible).
<xen:set var="$slideWidth">160</xen:set> // This is the width of each slide in the slider. The slides may not be exactly this width due to responsive design resizing them dynamically.
<xen:set var="$categories">all</xen:set> // Use a comma separated list to display images from selected categories e.g. 2,3,5,7. Set to 'all' to include all categories, 0 to exclude
<xen:set var="$albums">1</xen:set> // Set to 1 to include images from albums, 0 to exclude
<xen:set var="$isSidebarBlock">1</xen:set> // Sets the styling so it will look like a sidebar block
<xen:set var="$captions">1</xen:set> // Set to 1 to show captions on hover, set to 0 to always hide.
<xen:set var="$noResponsive">1</xen:set> // Set to 0 for responsive, 1 for fixed. Responsive will show more images at a smaller size at narrower browser widths, fixed will keep the number of images set in $items at the same size whatever the browser width.
</xen:include>
Creating a sidebar widget. Went pretty smooth but how do I go about customizing the name of the block's font (blockphrase) by bolding, changing the color, adding a background so on and so forth? I've seemingly tried everything.
The Add Media button will appear in containers (category or album) where you have permission to add media to that container.
We use essential cookies to make this site work, and optional cookies to enhance your experience.