TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3] Remove the link in a menu item

This is a discussion on [TYPO3] Remove the link in a menu item within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi, I have the following TS code for the main menu of my site: temp.Menu = HMENU temp.Menu { entryLevel = ...


Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 26.06.2008, 17:19
Sergio Catalá
Gast
 
Beiträge: n/a
Standard [TYPO3] Remove the link in a menu item

Hi,

I have the following TS code for the main menu of my site:

temp.Menu = HMENU
temp.Menu {
entryLevel = 0
1 = TMENU
1 {
noBlur = 1
expAll = 1
NO {
allWrap = <li>|</li>
ATagParams = class="item"
}
ACT = 1
ACT {
allWrap = <li>|</li>
}
}
}

And I want to remove completely the link for a menu item (<a
href="">|</a>) that Typo3 generates automatically. I would like to do
that for my actual menu item. I've seen you can add certain parameters
to this link using "ATagParams" but my interest would be removing
completely the link. I only want the name of the item to be displayed
and not to be wrapped with the link.

Can I do that?

Thanks in advance,
Sergio


_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 26.06.2008, 17:24
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Remove the link in a menu item

Hi!

Sergio Catalá wrote:
> And I want to remove completely the link for a menu item (<a
> href="">|</a>) that Typo3 generates automatically. I would like to do
> that for my actual menu item. I've seen you can add certain parameters
> to this link using "ATagParams" but my interest would be removing
> completely the link. I only want the name of the item to be displayed
> and not to be wrapped with the link.
>
> Can I do that?


You need to look into TSRef in such cases. There you can find that there a property named doNotLinkIt.

--
Dmitry Dulepov
http://typo3bloke.net/
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 26.06.2008, 17:29
Daniel Huf
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Remove the link in a menu item

Dmitry Dulepov [typo3] wrote:
> Hi!
>
> Sergio Catalá wrote:
>> And I want to remove completely the link for a menu item (<a
>> href="">|</a>) that Typo3 generates automatically. I would like to do
>> that for my actual menu item. I've seen you can add certain parameters
>> to this link using "ATagParams" but my interest would be removing
>> completely the link. I only want the name of the item to be displayed
>> and not to be wrapped with the link.
>> Can I do that?

>
> You need to look into TSRef in such cases. There you can find that there
> a property named doNotLinkIt.
>


watch also under ACT and CUR
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3] menu item without link David Banning typo3-english@lists.netfielders.de 1 20.06.2008 09:00
[TYPO3] active menu item sort/ display active menu item first Kathryn Blair typo3-english@lists.netfielders.de 11 17.06.2008 01:06
[TYPO3] dont link the first item in the menu Tan Le typo3-english@lists.netfielders.de 1 24.07.2007 02:27
[TYPO3-dev] Add/Remove/Change item in TCEFORM depending on ctype Peter Russ typo3-dev@lists.netfielders.de 1 16.03.2007 12:27
[TYPO3] Wrap menu items next to active (selected) menu item Logi Huldar Gunnlaugsson typo3-english@lists.netfielders.de 0 05.02.2007 16:55


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:24 Uhr.


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39