Hi all,
I can't seems to find contentpart teaser usage all over the forum. Can anyone help me out?
Best regards
usage of contentpart teaser
-
- Posts: 24
- Joined: Sat 20. Jan 2007, 21:14
-
- Posts: 24
- Joined: Sat 20. Jan 2007, 21:14
Correct me if my undestanding is incorrect. I understand contentpart teaser as a solution to show specifc article summry through its replacement tag. Just like teaser_ex extension except it allows to show specifc article summary. As for the teaser_ex syntax, {Teaser_ex:catefory_alias|count}. The problem which I'm having is that i can't figure out the syntax. I hope this will help your understanding.
Best regards
Best regards
A content part is a content part and a rep tag is a rep tag...the two are different in concept and in how they work.
A rep tag is a placeholder (enclosed in delimeters), with a syntax [keyword and parameter(s)] to achieve certain functions. It is more flexible and can be placed in templates and content parts, to mark where exactly you would like some output to occur.
A content part is "basicly" a form with fields and options, etc. (like a wizard) to be filled out in order to achieve it's functionality. It, more strictly, flows in a linear fashion within the site structure of categories, articles and their content.
I think the teaser_ex addon is like a hybrid of both (the extension adds code functions to generate a rep tag by filling out a wizard [like a content part] and that generated tag can then be placed where you want the teaser to appear [like a rep tag].
There IS a template for the teaser block, when it is used within the link article content part. It DOES reference some tags that are used to control the arrangement and what is/isnot to be shown. Modification of this is limited to whatever tags are supported (by that content part). You can see it's contents in "/template/inc_cntpart/teaser/teaser_block.html" to understand the tags that are referenced and how they are placed by default. Have a look
A rep tag is a placeholder (enclosed in delimeters), with a syntax [keyword and parameter(s)] to achieve certain functions. It is more flexible and can be placed in templates and content parts, to mark where exactly you would like some output to occur.
A content part is "basicly" a form with fields and options, etc. (like a wizard) to be filled out in order to achieve it's functionality. It, more strictly, flows in a linear fashion within the site structure of categories, articles and their content.
I think the teaser_ex addon is like a hybrid of both (the extension adds code functions to generate a rep tag by filling out a wizard [like a content part] and that generated tag can then be placed where you want the teaser to appear [like a rep tag].
There IS a template for the teaser block, when it is used within the link article content part. It DOES reference some tags that are used to control the arrangement and what is/isnot to be shown. Modification of this is limited to whatever tags are supported (by that content part). You can see it's contents in "/template/inc_cntpart/teaser/teaser_block.html" to understand the tags that are referenced and how they are placed by default. Have a look
