Hi Joey,
Getting rid of the currentpagetitle.cObject is a good idea, it's lot cleaner
like that. And the stdWrap works fine now, I thought I had tried that option
but
must have made some other mistake then.
Nice sunday puzzle, other people solve crosswords :-)
All set, thanks again!
Loek
Jo
> 2 = TMENU
> 2.NO {
> allStdWrap {
> # Show only if current-page-id and menu-item-parent_id match
> if {
> value.data = TSFE:id
> equals.field = pid
> }
> }
> stdWrap {
> # Put the register content before the linktext
> da
> I needed the allStdWrap to be able to hide the unwanted items
> entirely, but because of that now only the words downloads/info/wiki
> are linked, not the entire line including {register:level1Title}. I
> tried to achieve that but didn't succeed. Anyway, it's acceptable
> like it is now.
2 = TME
Thanks Joey, it wasn't exactly what I need, but it was a useful trick that is
part of the solution below.
The problem was that I also needed to show only certain subpages, e.g. only
those with downloads, or only those with the wiki. But since those pages all
have the same name I solved this with
> What I'm trying to achieve is this:
>
> The page tree looks like this:
>
>> --Page1
>>|--downloads
>>|--info
>>\--wiki
>>
>> --Page2
>>|--downloads
>>|--info
>>\--wiki
>>
>
> etc.
>
> Now I want to show a menu with only pages from the 2nd level but
> where the link texts a
> This is a hard one. Perhaps you can have a look at the 'browse' part
> of MENU.
It's not that hard but I have to admit it's a bit tricky, but browse won't
do the trick at all.
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
> Without any fancy fun here is a solution:
>
> lib.menu = COA
> lib.menu.10 = TEXT
> lib.menu.10.data = leveltitle:-2
> lib.menu.20 = HMENU
> lib.menu.20.1 = TMENU
> lib.menu.20.1.NO.linkWrap = |
Unfortunately not in this case, since leveltitle works with focus on the
current page and not the pag
Hi Loek,
Without any fancy fun here is a solution:
lib.menu = COA
lib.menu.10 = TEXT
lib.menu.10.data = leveltitle:-2
lib.menu.20 = HMENU
lib.menu.20.1 = TMENU
lib.menu.20.1.NO.linkWrap = |
Lots of succes!
Daniel
___
TYPO3-english mailing list
TYPO3-e
lutions
>
> W: http://www.actiview.nl
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Loek
> Hilgersom
> Sent: 17 August 2007 11:44
> To: typo3-english@lists.netfielders.de
> Subject: Re: [TYPO3] Getting titl
ew.nl
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Loek
> Hilgersom
> Sent: 17 August 2007 11:44
> To: typo3-english@lists.netfielders.de
> Subject: Re: [TYPO3] Getting title of parent item in a menu
>
&g
m: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Loek
Hilgersom
Sent: 17 August 2007 11:44
To: typo3-english@lists.netfielders.de
Subject: Re: [TYPO3] Getting title of parent item in a menu
Katja,
Thanks for the suggestion, but that also takes the title of the parent of
the
current
Katja,
Thanks for the suggestion, but that also takes the title of the parent of the
current page (the page that is shown now), not of the menu-item. And I can't
add
a marker for every menu-item, that would be less flexible than just adding a
content element with all the menu links by hand (th
Hi Loek,
One way to go is to have a separate marker for the header item of the menu
###headeritem###
###menu###
marks.headeritem = TEXT
marks.headeritem.data = leveltitle:1
- Katja
"Loek Hilgersom" <[EMAIL PROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
> Hi,
>
> I'm trying to create a m
Hi,
I'm trying to create a menu of pages where I want to add the title of the
parent
page to the text of every item (the items are from different parent pages, of
course).
I tried with leveltitle:-2, but this only gives back the title of the parent of
the current page, not of the menu-item.
14 matches
Mail list logo