Zum Inhalt springen

Externe Verlinkung im extra Fenster

Erstellt am 10. August 2007 · 9 Antworten · letzte Antwort am 7. Mai 2008

Tags: Links, Frage

Sebi_Eda ·

Hallo ich habe eine Frage und zwar wie kann man das einstellen, dass sich, wenn man eine externe Velinkung einstellen will, diese sich in einem Extra Fenster öffnet und nicht in dem selben.

Vielen Dank im vorraus für Eure Hilfe

Grüße
Sebi_Eda

niederberger ·

Trage bei Deinem Template im "Constants" Bereich diese beiden Zeilen ein:

PAGE_TARGET = _self
content.pageFrameObj = _self

Grüsse aus der Schweiz, Thomas N.

Sebi_Eda ·

Das verstehe ich aber nicht, also ich meine wo finde ich diesen denn?
Bisschen genauer bitte beschreiben, bin ja ein Anfänger.
Direkt in in die Seite im Backend Menue, und dann bei dem Feld TS mit eintragen oder wo? Oder macht doch bitte mal einen Screenshot dazu, wäre echt super nett von Euch.

einpraegsam.​net ·

Das wollen die Leute in der Regel zwar nicht hören, aber wenn gravierende Basics fehlen (und das ist bei dir vermutlich der Fall), dann ist es wirklich wirklich sinnvoll die Dokumentation zu lesen:
#48116

Sebi_Eda ·

hier steht es nun drin:

  # Clear out any constants in this reserved room!
styles.content >

content {
    # cat=content/cHeader/h0; type=int[1-5]; label=Default Header type: Enter the number of the header layout to be used by default.
  defaultHeaderType = 1
    # cat=advanced/links; type=small; label=Pageframe object: The name of the "contentframe". Normally set to "page" if the site has a frameset. Otherwise it should be an empty value. This is important, as it determines the target of internal links!
  pageFrameObj = page

  shortcut.tables = tt_content,tt_address,tt_links,tt_guest,tt_board,tt_calender,tt_products,tt_news,tt_rating,tt_poll
    # cat=content; type=wrap; label= Content Element margins: Space above / below each content element (pixels of a clear-gif).
  space = 0|0

  splash.bgCol = white
}


    # cat=advanced; type=int+; label= News Content PID: If your template has a column with "news"-content fetched from another page-id, this is where you enter the id-number of that page!
styles.content.getNews.newsPid = 0

styles.content.links {
  keep = path
    # cat=content/links; type=small; label= Target for external links
  extTarget = _blank
  target = {$PAGE_TARGET}
  allowTags = b,i,u,a,img,br,div,center,pre,font,hr,sub,sup,p,strong,em,li,ul,ol,blockquote,strike,span,h1,h2,h3,h4,h5,h6
}

styles.content.imgtext {
    # TIP! if register[maxImageWidth] is set, this will override maxW
    # cat=content,basic/cImage/a_maxw1; type=int+; label= Max Image Width: This indicates that maximum number of pixels (width) a block of images inserted as content is allowed to consume.
  maxW = 600
    # cat=content/cImage/a_maxw2; type=int+; label= Max Image Width (Text): Same as above, but this is the maximum width when text is wrapped around an imageblock. Default is 50% of the normal Max Image Width
  maxWInText =
    # cat=content/cImage/b; type=color; label= Image border color: Bordercolor of images in content elements when "Border"-option for element is set.
  borderColor = black
    # cat=content/cImage/b; type=int[0-100]; label= Image border thickness: Thickness of border around images in content elements when "Border"-option for element is set.
  borderThick = 2
    # cat=content/cImage/x; type=int[0-100]; label= Advanced, Column space: Horizontal distance between images in a block in content elements of type "Image" or "Text w/Image".
  colSpace = 10
    # cat=content/cImage/x; type=int[0-100]; label= Advanced, Row space: Vertical distance between images in a block in content elements of type "Image" or "Text w/Image".
  rowSpace = 10
    # cat=content/cImage/x; type=int[0-100]; label= Advanced, Margin to text: Horizontal distance between an imageblock and text in content elements of type "Text w/Image".
  textMargin = 10
  linkWrap.width = 800m
  linkWrap.height = 600m
  linkWrap.effects =
    # cat=content/cImage/x; type=boolean; label= Advanced, New window: If set, every click-enlarged image will open in it's own popup window and not the current popup window (which may have a wrong size for the image to fit in)
  linkWrap.newWindow = 0
    # cat=content/cImage/c; type=boolean; label= Images, caption split: If this is checked, then the image caption will be split by each line and they will appear underneath the corresponding image in the imagelist.
  captionSplit = 0
    # cat=content/cImage/c1; type=boolean; label= Images, text split: If this is checked, then the image text (alt, title, longdesc) will be split by each line and they will appear on the corresponding images in the imagelist.
  imageTextSplit = 0
    # cat=content/cImage/c2; type=string; label= Images, empty title handling: How will the 'title' attribute be handled if no title is given for an image. Possible choices: "keepEmpty", "useAlt" or "removeAttr". Recommended for accessibility is "removeAttr". For correct tooltips on IE, use "keepEmpty". For previous TYPO3 behaviour, use "useAlt".
  emptyTitleHandling = useAlt

  titleInLink = 0
  titleInLinkAndImg = 0
}

styles.content.uploads {
  jumpurl_secure =
  jumpurl_secure_mimeTypes = pdf=application/pdf, doc=application/msword
  jumpurl =
}

styles.content.mailform {
  target = {$PAGE_TARGET}
    # cat=content/cMailform; type=; label= Message, Formmail OK: This is the message (if any) that is popped-up (JavaScript) when a user clicks "send" with an email-form
  goodMess =
    # cat=content/cMailform; type=; label= Message, Formmail Missing: This is the message that is popped-up when a user has NOT filled required fields in an email-form
  badMess =
}

styles.content.loginform {
  target = _top
    # cat=content/cLogin; type=int+; label= PID of user archive: Enter the page-uid number (PID) of the sysFolder where you keep your fe_users that are supposed to login on this site. This setting is necessary, if login is going to work!
  pid =
    # cat=content/cLogin; type=; label= Message, Login: This is the message (if any) that is popped-up when a user logs in as a front-end user
  goodMess =
}

styles.content.searchform {
    # cat=content/cSearch; type=; label= Message, Searchform: This is the message (if any) that is popped-up when a user performs a search
  goodMess =
}

styles.content.searchresult {
  resultTarget = {$PAGE_TARGET}
  target = {$PAGE_TARGET}
}

  # cat=advanced/links; type=small; label= Target for internal links: Should match the name of the content PAGE-object in TypoScript when used with frames. Most cases: Set to "page" if you have frames in the template. If not, set to "" (empty)
      PAGE_TARGET = _self
      content.pageFrameObj = _self 

[compatVersion = 3.9.0]

styles.content.imgtext >
styles.content.imgtext {
    # TIP! if register[maxImageWidth] is set, this will override maxW
    # cat=content/cImage/b1; type=int+; label= Max Image Width: This indicates that maximum number of pixels (width) a block of images inserted as content is allowed to consume.
  maxW = 600
    # cat=content/cImage/b2; type=int+; label= Max Image Width (Text): Same as above, but this is the maximum width when text is wrapped around an imageblock. Default is 50% of the normal Max Image Width.
  maxWInText =
    # cat=content/cImage/c1; type=int+; label= Default Image Width: This indicates that default number of pixels (width) a block of images inserted as content will consume, if the user didn't specify otherwise in the content object.
  linkWrap.width = 800m
  linkWrap.height = 600m
  linkWrap.effects =

    # cat=content/cImage/x; type=boolean; label= Advanced, New window: If set, every click-enlarged image will open in it's own popup window and not the current popup window (which may have a wrong size for the image to fit in)
  linkWrap.newWindow = 0

  captionSplit = 0
    # cat=content/cImage/e1; type=boolean; label= Images, text split: If this is checked, then the image text (caption, alt, title, longdesc) will be split by each line and they will appear on the corresponding images in the imagelist.
  imageTextSplit = 1
    # cat=content/cImage/e2; type=string; label= Images, empty title handling: How will the 'title' attribute be handled if no title is given for an image. Possible choices: "keepEmpty", "useAlt" or "removeAttr". Recommended for accessibility is "removeAttr". For correct tooltips on IE, use "keepEmpty". For previous TYPO3 behaviour, use "useAlt".
  emptyTitleHandling = removeAttr
    # cat=content/cImage/e3; type=boolean; label= Images, title in link: Do you want the 'title' attribute to be added to the surrounding <a> tag, if present? Recommended for accessibility is "true".
  titleInLink = 1
    # cat=content/cImage/e4; type=boolean; label= Images, title in link and IMG: If you have the title in the <a>-tag (titleInLink=true), you don't get the 'title' in the <img>-tag. IE will not show the tooltip anymore. So to get the 'title' in <img> too (to keep IE happy), set this too. Recommended for accessibility is "false". For correct tooltips on IE, set this to "true".
  titleInLinkAndImg = 0

    # cat=content/cImage/g1; type=int[0-100]; label= Advanced, Column space: Horizontal distance between images in a block in content elements of type "Image" or "Text w/Image". If you change this manually in your CSS, you need to adjust this setting accordingly.
  colSpace = 10
    # cat=content/cImage/g2; type=int[0-100]; label= Advanced, Row space: Vertical distance between images in a block in content elements of type "Image" or "Text w/Image". If you change this manually in your CSS, you need to adjust this setting accordingly.
  rowSpace = 5
    # cat=content/cImage/g3; type=int[0-100]; label= Advanced, Margin to text: Horizontal distance between an imageblock and text in content elements of type "Text w/Image".
  textMargin = 10

    # cat=content/cImage/i1; type=color; label= Image border, color: Bordercolor of images in content elements when "Border"-option for element is set.
  borderColor = black
    # cat=content/cImage/i2; type=int[0-100]; label= Image border, thickness: Thickness of border around images in content elements when "Border"-option for element is set.
  borderThick = 2
    # cat=content/cImage/i3; type=int+; label= Image border, padding: Padding left and right to the image, around the border.
  borderSpace = 0
    # cat=content/cImage/i4; type=string; label= Image border CSS-selector: If you want your border to apply elsewhere, change this setting. E.g. to apply to the whole image+caption, use 'DIV.csc-textpic-border DIV.csc-textpic-imagewrap .csc-textpic-image'.
  borderSelector = DIV.csc-textpic-border DIV.csc-textpic-imagewrap .csc-textpic-image IMG
}

[END]

# TYPO3 CVS ID: $Id: constants.txt 1647 2006-07-17 16:40:18Z mundaun $

Nur irgendwie macht er es immernochnicht warum das?

stevee ·

Hallo Sebi
Anstatt lange zu schreiben, das Anfänger die Basics lesen sollen, könnte man doch schnell einen Hinweis geben, finde ich. Das wäre doch einiges einfacher. Denn ich weiss, wie schwer es bei mir war, sich in das ganze Thema einzustudieren...

Hier auf jedenfall der Tipp, der bis jetzt noch nicht gegeben wurde (falls es bei Dir überhaupt noch pendent ist...):

Du gehst ins Backend, klickst links auf "Template", dann in der Baumstruktur auf die Seite, die das gewünschte Template enthält. Dort gibts dann ein Pulldown-Menü, wo Du "Info/Modify" anklickst. Jetzt hast Du eine Reihe Felder vor Dir, u.a. auch das Feld "Constants", dass Du nun verändern kannst.

En Gruess
Stevee

Unbekannter Benutzer ·

Also Anfänger auf die Doku zu verweisen finde ich OK. Bei fehlenden Basics einen Hinweis zu geben finde ich auch OK.
Aber diesen Hinweis in ein Thema zu schreiben, das 9 Monate alt ist halte ich für absolut über. Ich denke die Frage sollte geklärt sein.
Ein Mod sollte das Thema schließen um sowas zu vermeiden.