[TYPO3-english] external link in menu
Mikel
lists at con-version.com
Tue Jan 14 17:28:16 CET 2014
I'm not sure if you need to configure the target in TS.
Maybe you can handle that with a workaround: Change the page type to
"Link to external URL". Within the tab "Behaviour" (page properties) you
can set the target of the link. Try to enter "_blank" in the field "link
target".
Tested with 6.1.X
Mikel
> Hello,
>
> I have the following typoscript for a menu and it works fine:
> (from the introduction package...)
>
>
> menu = HMENU
> menu {
> 1 = TMENU
> 1 {
> wrap = <ul>|</ul>
>
> NO = 1
> NO {
> ATagTitle {
> field = title
> fieldRequired = nav_title
> }
>
> wrapItemAndSub = <li>|</li>
>
> stdWrap.htmlSpecialChars = 1
> }
>
> }
> }
>
>
> Now I would like to directly link to an external link in the menu (so
> that it does not first point to an internal page which is the standard
> behaviour when changing the page type to external url...
>
> I have found this script to do it, but I do not know how to combine it
> with the above. Can anyone help? Thanks in advance...
>
> Stefan
>
>
>
>
> lib.menu=HMENU
> lib.menu{
> 1=TMENU
> 1.wrap=<ul>|</ul>
> 1.NO {
> # hier nicht verlinken, ansonsten bekommt man
> doppelte <a> tags
> doNotLinkIt = 1
> wrapItemAndSub=<li>|</li>
> stdWrap.cObject = CASE
> stdWrap.cObject {
> key.field = doktype
> default = TEXT
> default {
> typolink.parameter.field = uid
> field = title
> stdWrap.htmlSpecialChars = 1
> }
> # 4 = shortcut
> 4 = TEXT
> 4 {
> field = title
> typolink.parameter.field = shortcut
> }
> # 3 = external url
> 3 = TEXT
> 3 {
> field = title
> typolink.parameter.field = url
> typolink.extTarget.field = target
> }
>
> }
> }
> }
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list