Freedom Of Customization
It is possible to create your own block layout, write it in HTML with your own CSS etc.
Use special "tags" to place the content prepared by Category Block.
Or example, if you want to have the image only to be shown, type [image] into "Custom Block Layout" box.
Example:
Full List of "Tags"
- [image] - Image
- [link] - Link (without <a href...)
- [articletitle] - Article Title
- [article] - Shortened Article
- [createdby - User that created an article
- [username] - Username of the one who created an article
- [metadesc] - Meta Description of an article
- [metakey] - Meta Keywords
- [hits] - Number of views
- [creationdate] - Creation Date
- [readmore] - Readmore link (with <a href...)
- [gotocomments] - Goto Comments
- [introtext] - Introtext (article) with it's formatting (html)
- [fulltext] - Fulltext (article) with it's formatting (html)
You may pass some parameter there like: [image:100,60,style="border: 1px red solid;"]
Where [image is a "Tag" and everything after ":" is parameters separated by comma ",".
Above will create an image tag <img src="/..." width="100" height="60" style="border: 1px red solid;" />
List of "Tags" with parameters:
- [image:width,height,option] - Image
- [metadate:parameter] - Article metadata like: author,robots,rights}
Example: [metadate:author] - [creationdate:dateformat] - Creation Date //example: "F j, Y, g:i a"
- [readmore:custom label,targetwindow,option] - Readmore link (with <a href...)
- [gotocomments:custom label,targetwindow,optio] - Goto Comments
If statements
Simple if-endif blocks, to delete (clear) a part of the layout if the value of the tag not empty or (not (not empty) ) = empty
[if:tag_name] **** [endif:tag_name]
[ifnot:tag_name] **** [endifnot:tag_name]
If statements: Odd/Even
[if:item_even] Show the code inside if row number is odd [endif:item_even]
[if:item_odd] Show the code inside if row number is even [endif:item_odd]
[if:column_even] Show the code inside if column is odd [endif:column_even]
[if:column_odd] Show the code inside if column is even [endif:column_odd]
[if:line_even] Show the code inside if line is odd [endif:line_even]
[if:line_odd] Show the code inside if line is even [endif:line_odd]
If statements: Active Article
[if:active] Show the code inside if the article is selected [endif:active]
[ifnot:active] Show the code inside if article is NOT selected [endifnot:active]
If statements: Item Position
[if:first] Show the code inside if this is the first item [endif:first]
[ifnot:first] Show the code inside if this is NOT the first item [endifnot:first]
[if:last] Show the code inside if this is the last item [endif:last]
[ifnot:last] Show the code inside if this is NOT the last item [endifnot:last]
If statements: Before Active Item
[if:beforeactive] Show the code inside if this not an active item but the active one is in-front [endif:beforeactive]
[ifnot:beforeactive] Show the code inside if this not an active item and the active already been [endifnot:beforeactive]