Zum Inhalt springen

TS check for subpages in menu

Erstellt am 21. April 2007 · 3 Antworten · letzte Antwort am 21. April 2007

Tags: Frage, English

htp ·

Hi again to all!

I had a question about some extended options in TS, when I building a menu.

So, I had build 2 level menu list with TS. Is it possible TS to check if in page name ( for example: friends ) has subpages ( for example: new, good, best ). So the menu is like that: Primary (first level) Friends (second level) new, good, best.

Friends|
-new
-good
-best

When I click on the friends link they will be show some text: This is page for my friends.

So, if Friends is empty ( no sub pages ), by onClick on the link Friends, right image from Friends I want to be Blue triangle.

If there are subpages (new, good, best ), by onClick on the link Friends, right image from it I want to be Red triangle.

Currently I have only this: When I onClick on Friends there is only red triangle, I can't implement TS to tell if there is subpages and change the image.

Is it possible to do this with TS? Or I'll need to implement other external scripts?

Thanks for your time, Georgi.

just2b ·

Hello,

of course this is possible with TS. Like the items NO or ACT there are also the items IFSUB and ACTIFSUB which are used as all other items in your menu

georg