Die TYPO3 Mailingliste - nicht fragen: lesen!
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 = ...
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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 |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
|
|
|
||||
| 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 |