Teasers in brief format
Verfasst: Di 1. Aug 2006, 16:26
Hi Everyone, I hope you can assist me with a Module Request, although I don't speak german.
I am currently using a layout which contains apart from other things the following code
<!--start:content-->
<p style="margin-top: 0; margin-bottom: 0">
<container id="107" name="Mid Content" types="Content" mode="optional" default="">Content 1</container>
<!--end:content-->
I am then using a Template based on above layout and with a couple of teasers (using the teaser module). The teaser will point to a page called "Package"
However, when the page is displayed the teaser will also display everything within the above container. In my case I have added a picture together with some text, and it will show this where I have called the teaser, exactly as it shows in the "Package" page.
What I would like to do is to change the teaser module to abbreviate the data in the above container (picture and text) so when I use a Teaser to call for the Package page, it will show that in a different format. In other words, I would like it to be limited to e.g. 200 words and I would like the picture to be reduced to e.g. 120px. If possible it would be great to also have a "...more" link that would point to the page "Package".
In some way it will have the same effect as the News List Module, which abbreviates the text and reduces the picture to whatever specified. However, the News List uses a Html template which the Teaser module doesn't.
So would any of you have an idea of how we can change the coding for the Teaser Module in order to do this??
I would be greatful if you could help with this issue and hope you are able to understand what i mean.
I would appreciate your comments.
Thanks
Geuxor
I am currently using a layout which contains apart from other things the following code
<!--start:content-->
<p style="margin-top: 0; margin-bottom: 0">
<container id="107" name="Mid Content" types="Content" mode="optional" default="">Content 1</container>
<!--end:content-->
I am then using a Template based on above layout and with a couple of teasers (using the teaser module). The teaser will point to a page called "Package"
However, when the page is displayed the teaser will also display everything within the above container. In my case I have added a picture together with some text, and it will show this where I have called the teaser, exactly as it shows in the "Package" page.
What I would like to do is to change the teaser module to abbreviate the data in the above container (picture and text) so when I use a Teaser to call for the Package page, it will show that in a different format. In other words, I would like it to be limited to e.g. 200 words and I would like the picture to be reduced to e.g. 120px. If possible it would be great to also have a "...more" link that would point to the page "Package".
In some way it will have the same effect as the News List Module, which abbreviates the text and reduces the picture to whatever specified. However, the News List uses a Html template which the Teaser module doesn't.
So would any of you have an idea of how we can change the coding for the Teaser Module in order to do this??
I would be greatful if you could help with this issue and hope you are able to understand what i mean.
I would appreciate your comments.
Thanks
Geuxor