Seite 1 von 1

News Module

Verfasst: Do 12. Aug 2004, 19:55
von CZealot
Hello,
I am very sorry for posting this topic in English...
I ask moderators to Move it to apropriate forum if needed.
I have recently Installed Contenido 4.4.4. Currently I am experimenting with its features...
As I understood there is no such built in feature like News Module/Script.
If such a module exists I would be thankfull if you could redirect me to it and explain briefly its logic of working (of cource if its not already explained in nglish :) ).
Thank you in advance,
CZealot

Verfasst: Fr 13. Aug 2004, 08:10
von Weisshun
If you are seeking for a feature that lists your artikels in cronological order than there is a Modul in the main downloadsection of contenido you my find useful its the w3concepts_alist_v1 Version 1.0 06.05.2004 from Andreas Kummer- it list the Headline as well as the Subheadline of the articels starting withe the newest entery.

The documentation gives you following options::
¡kategorie you want to be shown - Kategorie, die angezeigt werden soll
¡amount of artikels to be shown- Anzahl Artikel, die je Seite angezeigt werden sollen
¡ should the start artikel be shown- Startartikel mit anzeigen oder ausblenden
¡amount of sighns to be shown in the subheadline ( full word) - Anzahl angezeigte Zeichen der Subheadline (Trennung
erfolgt vor dem Wort, das nicht mehr dargestellt werden
kann)
the text fpr previous link- i Text, der für den Previous-Link angezeigt werden soll (kann
auch eine Graphik sein)
;) you can read this!!Text, der für den Next-Link angezeigt werden soll (can also be ....kann
auch eine Graphik sein)
¡amount of layers and sublayers - Anzahl zu berücksichtigende Ebenen (0 = nur gewählte
Kategorie, -1 = gewählte Kategorie sowie enthaltene
Kategorien, -2 = gewählte Kategorie sowie enthaltene
Kategorien und deren Subkategorien.)

Now we enter the stylish section :) you can do the outlining directly in the modul or you can handel it over the CSS

Die Steuerung der Darstellung erfolgt entweder direkt im
Quellcode des Moduls oder über CSS.
This are the styl elements you can use: I gues you dont need a translation here ....
Es stehen folgende Stile zur Verfügung:
¡ artlist_headline: Formatierung der Zellen der Headline
sowie des Datums (oberste Zeile)
¡ artlist_headlinelink: Formatierung der Headline (die
Zugleich als Link dient)
¡ artlist_date: Formatierung des Datums (nur Darstellung,
das Datumsformat kann direkt über den SQL-Query
gesteuert werden)
¡ artlist_subheadline: Formatierung der Subheadline
(gleichzeitig die Formatierung der zweiten Zeile).
Dokumentation zu Contenido
Ó four for business AG

Exampelecode for the style:
Auf unserer Site haben wir folgende Einstellungen für die Stile
verwendet:
.artlist_headline {font-weight:bold; padding-top:5px;
padding-bottom:5px; border-top:1px solid #006699; textalign:
left}
.artlist_headlinelink {font-weight:bold; color:#006699}
.artlist_date {padding-top:5px; padding-bottom:5px;
border-top:1px solid #006699; text-align:right;}
.artlist_subheadline {font-style: italic; paddingbottom:
20px; text-align:justify;}
You can use this example for the beginning
Diese Werte können als Startwerte benutzt werden.
Installation- sanweisung:

1. Input in Modulinput kopieren./ copy ;)
2. Output in Moduloutput kopieren. ""
3. Stile in Layout oder in das entsprechende CSS-File
integrieren. put the style in the layout or the CSS
4. Gegebenenfalls SQL-Query anpassen, wenn ein
anderes Datumsformat gewünscht wird. adjust the SQL-Query if you want to change the date appearance
5. Gegebenenfalls Ausgabe anpassen, wenn die Steuerung
über CSS als nicht ausreichend empfunden wird. you may want to adjust the output code if the handling over CSS does not satisfy your needs

well this sounds complicatet but it isn´t ;)

if you want a modul that aslo shows a picture you will have to look here: http://www.contenido.de/forum/viewtopic.php?t=3209 but the folks are still working on it
.....

Verfasst: Fr 13. Aug 2004, 21:54
von CZealot
Thank you very much for your reply.
After some modifications in layout It will be exactly what I need.
Thank you very much again :D