= SliceGroup = A slice of type SliceGroup will display a group of slices[[BR]] The members of the group are determined using their tags, the slice group will display each slice which has the specified tag.[[BR]] This is one of the most powerful features of ACR and can be used to implement News, Image Galleries, Video Repositories, etc...[[BR]] The slice group also implements pagination, you can specify how many slices to view for each page. == Preview == Not implemented == Use == * view: '''slicegroup''' * content: '''ini''' == INI == Starts with a '''[group]''' section and must contain the following variables * '''filter_tag''' = the tag for which to filter the group, slices with this tag will be displayed by the slicegroup The following variables are optional * '''size''' = how many slices to see inside each slicegroup page, default is 0 which means ''unlimited'' * '''type''' = which tag to use to embedd the displayed slices. By default each slice is embedded inside a ''div'', you can specify ''li'' for example to apply things like jQuery Carousel to the slice gorup * '''preview''' = Whenever to display the slice itself or the preview of the slice for each slicegroup member (1 means display preview, 0 means display slice) * '''orderer''' = Which ordering function to use to display the members of the slicegroup. By default they are not ordered. The ''content_time'' ordering function is the only one available by default. You can register new ordering functions by appending them to the ''acr.lib.views.SliceGroupRenderer.slice_orderers'' dictionary (key is the name of the orderer, values is the callable). The argument passed to the ordering function is the SQLAlchemy query to modify. == Example == {{{ [group] filter_tag=news size=5 orderer=content_time preview=1 }}}