Hi Andreas!
On Fri, 2004-03-12 at 10:08, Sonic wrote:
> I'm trying to get de.linkm.newsticker to list not only all articles associated
> with one topic but also all subtopics (so essentially all "children" of a
> topic). Is there an easy way to achieve that or do I have to rewrite parts of
> the newsticker? If yes, which functions have to be changed? Ideally, what I
> want to achieve is to have everything ordered by creation date, so that a
> list can look like that:
This is not a job for the newsticker component but for the Navigation
System of MidCOM (NAP). You can e.g. create a style for your newsticker
overview page (i.e. override the newsticker's original style by creating
similar named style elements in your current Style) and add NAP code
there instead of the default Article listing code.
You could set the overview item "count" to 0 and put the code in
show-index-header (or something like that, don't know the exact name
now), empty show-index-item.
With NAP, you get a list of sub-nodes (Topics) and leafs (Articles in
case of the newsticker) for the current Topic. Then you can sort them
and you're done.
> Also, is it possible to install multiple versions of de.linkm.newsticker in
> multiple sitegroups or should I copy and rename it in SG0?
Why would you like to install more than one version? All customization
(Styles, configuration) is done separately (in the /sitegroup-config
snippetdir in each sitegroup), so I don't see a reason to install two
versions... (and apart form that it will screw up your installation if
you try to upgrade the newsticker component).
Nico.
--
Nico Kaiser ::
[EMAIL PROTECTED] :: http://siriux.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]