Page 2 of 2

Posted: Thu 31. May 2007, 02:50
by Jensensen
try

[x]

and have fun
bye

Posted: Thu 31. May 2007, 07:25
by Oliver Georgi
OK, then again - and sorry for the peeved undertones ;-)

So you need a replacement tag which returns listing of "all" articles inside same level - maybe template based like cp teaser?

Should this go recursive inside the level, so you will get all articles of sub levels too?

Current article should be listed too maybe marked as active?


So, you need something like content part teaser - but there an additional setting like -> current level and/or recursive.

Oliver

Posted: Fri 1. Jun 2007, 04:11
by danielreeders
Oliver Georgi wrote:OK, then again - and sorry for the peeved undertones ;-)

So you need a replacement tag which returns listing of "all" articles inside same level - maybe template based like cp teaser?

Should this go recursive inside the level, so you will get all articles of sub levels too?

Current article should be listed too maybe marked as active?


So, you need something like content part teaser - but there an additional setting like -> current level and/or recursive.

Oliver
Hi Oliver,

That's exactly right :D Except recursion could lead to some odd results unless you also included category title and link in the menu produced.

It would be great if you could include an option for a CSS prefix:

Code: Select all

<P><A HREF="{articlelink}" class="{prefix}menulink">{title}</a></p>
On my client's site I have three information sections, about HIV/AIDS, Sexual Health, and Hepatitis, and the goal is that each section will eventually have its own icons and colours. By including an optional CSS prefix, like the table name prefix in the database, I can reference the menulinks really easily in the stylesheet: hivaids_menulink, sexualhealth_menulink, hepatitis_menulink.

To highlight the active article, I'd just add a suffix to its CSS class and let the webmaster specify how it should look in the stylesheet.

Code: Select all

<P><A HREF="{articlelink}" class="{prefix}menulink_active">{title}</a></p>
That way, if a webmaster doesn't want to highlight the active page, they just specify menulink, menulink_active in the stylesheet - both the same.

Thank you so, so much!!

Daniel