usage of contentpart teaser

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
homer.j.simpson
Posts: 24
Joined: Sat 20. Jan 2007, 21:14

usage of contentpart teaser

Post by homer.j.simpson »

Hi all,
I can't seems to find contentpart teaser usage all over the forum. Can anyone help me out?
Best regards
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Post by Jensensen »

hi homer,

probably this could help...

http://www.phpwcms.de/forum/viewtopic.p ... art+teaser
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
homer.j.simpson
Posts: 24
Joined: Sat 20. Jan 2007, 21:14

Post by homer.j.simpson »

Could u please show me the syntax.

Thanks in advance
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Post by Jensensen »

what :?: :idea: :?:
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
homer.j.simpson
Posts: 24
Joined: Sat 20. Jan 2007, 21:14

Post by homer.j.simpson »

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
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

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 ;)
homer.j.simpson
Posts: 24
Joined: Sat 20. Jan 2007, 21:14

Post by homer.j.simpson »

Thanks for the clarification Dexxus.
:D
Post Reply