Zum Inhalt springen

Positionieren des Markers oder wo finde ich die Html-Template

Erstellt am 7. Februar 2007 · 20 Antworten · letzte Antwort am 9. Februar 2007 · Seite 1 von 2

Tags: Templates & Layouts, Frage

student-uni ·

Hallo,

hab Sprachumschaltung gemacht,
läuft perfekt.

Nun möchte ich die Sprachumschaltungslinks positionieren.

Wie macht man das, ist mir klar:

man muss in HTML-Template ein Marker einfügen
z.B. ###SPRACHE###
und danach mit diesem Marker den ganzen Kram anbinden.

Etzt ein Problem:

ich kann html-Template nicht finden !
(Die Seite würde nicht von mir gemacht)

Fragen
1. Wo kann ich HTML-Template finden
2. Kann es so sein, das es überhaupt keine html-Template gibt
2.1 Wie kann man in diesem Fall den Object positionieren (bzw. ein Marker hinzufügen)
3. Gibt es vielleicht eine andere Möglichkeit den Object zu positionieren

Was hab ich shon gemacht:

Shaue in Templates an und sehe nur Templates mit +ext.
Shaue in file List an, da hab ich ein Index.html gefunden,
der aber ist fast leer

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
	<TITLE></TITLE>
<META http-equiv=Refresh Content="0; Url=/">
</HEAD>

</HTML>

Hab versucht den Marker da einzufügen. Hilft nicht

Danke im Voraus
su.

einpraegsam.​net ·
student-uni schrieb

hab angeschaut - gibt's nicht o.O

Es wäre möglich, dass es kein HTML Template gibt, aber unwahrscheinlich.

Poste doch einfach mal dein komplettes Setup...

student-uni ·

[RTE]
[default]
[skin]=EXT:t3skin/rtehtmlarea/htmlarea.css
[FE]
[skin]=EXT:t3skin/rtehtmlarea/htmlarea.css
[proc]
[overruleMode]=ts_css
[dontConvBRtoParagraph]=1
[remapParagraphTag]=p
[allowTagsOutside]=hr, address,img
[allowTags]= a, abbr, acronym, address, blockquote, b, br, caption, center, cite, code, div, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, li, link, ol, p, pre, q, sdfield, span, strike, strong, sub, sup, table, thead, tbody, tfoot, td, th, tr, tt, u, ul
[keepPDIVattribs]=xml:lang
[entryHTMLparser_db]=1
[allowTags]= a, abbr, acronym, address, blockquote, b, br, caption, center, cite, code, div, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, li, link, ol, p, pre, q, sdfield, span, strike, strong, sub, sup, table, thead, tbody, tfoot, td, th, tr, tt, u, ul
[htmlSpecialChars]=0
[tags]
[span]
[fixAttrib]
[style]
[unset]=1
[p]
[fixAttrib]
[align]
[unset]=1
[div]
[fixAttrib]
[align]
[unset]=1
[hr]
[allowedAttribs]=class
[​b]
[allowedAttribs]=xml:lang
[blockquote]
[allowedAttribs]=xml:lang
[cite]
[allowedAttribs]=xml:lang
[em]
[allowedAttribs]=xml:lang
[​i]
[allowedAttribs]=xml:lang
[q]
[allowedAttribs]=xml:lang
[strong]
[allowedAttribs]=xml:lang
[sub]
[allowedAttribs]=xml:lang
[sup]
[allowedAttribs]=xml:lang
[tt]
[allowedAttribs]=xml:lang
[removeTags]=center, font, o:p, sdfield, strike, u
[keepNonMatchedTags]=protect
[HTMLparser_db]
[noAttrib]=br
[xhtml_cleaning]=1
[exitHTMLparser_db]=1
[tags]
[​b]
[remap]=strong
[​i]
[remap]=em
[keepNonMatchedTags]=1
[htmlSpecialChars]=0
[allowedClasses]= external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail, align-left, align-center, align-right, csc-frame-frame1, csc-frame-frame2, component-items, action-items, component-items-ordered, action-items-ordered, important, name-of-person, detail
[enableWordClean]=1
[removeTrailingBR]=1
[removeComments]=1
[removeTags]=center, font, o:p, sdfield, strike,u
[removeTagsAndContents]=style,script
[showButtons]=class, blockstylelabel, blockstyle, textstylelabel, textstyle, formatblock, bold, italic, subscript, superscript, orderedlist, unorderedlist, outdent, indent, textindicator, insertcharacter, link, table, findreplace, chMode, removeformat, undo, redo, about, toggleborders, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge,image
[keepButtonGroupTogether]=1
[showStatusBar]=0
[hidePStyleItems]=pre,address
[inlineStyle]
[text-alignment]= p.align-left, h1.align-left, h2.align-left, h3.align-left, h4.align-left, h5.align-left, h6.align-left, td.align-left { text-align: left; } p.align-center, h1.align-center, h2.align-center, h3.align-center, h4.align-center, h5.align-center, h6.align-center, td.align-center { text-align: center; } p.align-right, h1.align-right, h2.align-right, h3.align-right, h4.align-right, h5.align-right, h6.align-right, td.align-right { text-align: right; }
[frames]= p.csc-frame-frame1, table.csc-frame-frame1 { background-color: #EDEBF1; padding: 2px 4px 2px 4px; border: 1px solid #333333; } p.csc-frame-frame2, table.csc-frame-frame2 { background-color: #F5FFAA; padding: 2px 4px 2px 4px; border: 1px solid #333333; }
[ul]= ul.component-items { color: #186900; list-style-type: circle; } ul.action-items { color: #8A0020; list-style-image: url(img/red_arrow_bullet.gif); }
[ol]= ol.component-items-ordered { color: #10007B; list-style-type: lower-roman; } ol.action-items-ordered { color: #8A0020; list-style-type: lower-greek; }
[inline-text]= span.important { color: #8A0020; } span.name-of-person { color: #10007B; } span.detail { color: #186900; }
[ignoreMainStyleOverride]=1
[classesParagraph]= align-left, align-center, align-right, csc-frame-frame1, csc-frame-frame2
[classesTable]=csc-frame-frame1, csc-frame-frame2
[classesTD]=align-left, align-center, align-right
[classesLinks]=external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
[classesCharacter]=important, name-of-person, detail
[classesAnchor]=external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
[default]
[page]=internal-link
[​url]=external-link-new-window
[file]=download
[mail]=mail
[disableAlignmentFieldsetInTableOperations]=1
[disableSpacingFieldsetInTableOperations]=1
[disableColorFieldsetInTableOperations]=1
[disableLayoutFieldsetInTableOperations]=1
[disableBordersFieldsetInTableOperations]=1
[hideButtons]=chMode, blockstyle, textstyle, underline, strikethrough, subscript, superscript, lefttoright, righttoleft, left, center, right, justifyfull, table, inserttag, findreplace, removeformat, copy, cut, paste
[proc]
[overruleMode]=ts_css
[dontConvBRtoParagraph]=1
[remapParagraphTag]=p
[allowTagsOutside]=hr, address,img
[allowTags]= a, abbr, acronym, address, blockquote, b, br, caption, center, cite, code, div, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, li, link, ol, p, pre, q, sdfield, span, strike, strong, sub, sup, table, thead, tbody, tfoot, td, th, tr, tt, u, ul
[keepPDIVattribs]=xml:lang
[entryHTMLparser_db]=1
[allowTags]= a, abbr, acronym, address, blockquote, b, br, caption, center, cite, code, div, em, font, h1, h2, h3, h4, h5, h6, hr, i, img, li, link, ol, p, pre, q, sdfield, span, strike, strong, sub, sup, table, thead, tbody, tfoot, td, th, tr, tt, u, ul
[htmlSpecialChars]=0
[tags]
[span]
[fixAttrib]
[style]
[unset]=1
[p]
[fixAttrib]
[align]
[unset]=1
[div]
[fixAttrib]
[align]
[unset]=1
[hr]
[allowedAttribs]=class
[​b]
[allowedAttribs]=xml:lang
[blockquote]
[allowedAttribs]=xml:lang
[cite]
[allowedAttribs]=xml:lang
[em]
[allowedAttribs]=xml:lang
[​i]
[allowedAttribs]=xml:lang
[q]
[allowedAttribs]=xml:lang
[strong]
[allowedAttribs]=xml:lang
[sub]
[allowedAttribs]=xml:lang
[sup]
[allowedAttribs]=xml:lang
[tt]
[allowedAttribs]=xml:lang
[removeTags]=center, font, o:p, sdfield, strike, u
[keepNonMatchedTags]=protect
[HTMLparser_db]
[noAttrib]=br
[xhtml_cleaning]=1
[exitHTMLparser_db]=1
[tags]
[​b]
[remap]=strong
[​i]
[remap]=em
[keepNonMatchedTags]=1
[htmlSpecialChars]=0
[allowedClasses]= external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail, align-left, align-center, align-right, csc-frame-frame1, csc-frame-frame2, component-items, action-items, component-items-ordered, action-items-ordered, important, name-of-person, detail
[enableWordClean]=1
[removeTrailingBR]=1
[removeComments]=1
[removeTags]=center, font, o:p, sdfield, strike,u
[removeTagsAndContents]=style,script
[showButtons]=class, blockstylelabel, blockstyle, textstylelabel, textstyle, formatblock, bold, italic, subscript, superscript, orderedlist, unorderedlist, outdent, indent, textindicator, insertcharacter, link, table, findreplace, chMode, removeformat, undo, redo, about, toggleborders, tableproperties, rowproperties, rowinsertabove, rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter, columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter, celldelete, cellsplit, cellmerge,image
[keepButtonGroupTogether]=1
[showStatusBar]=1
[hidePStyleItems]=pre,address
[inlineStyle]
[text-alignment]= p.align-left, h1.align-left, h2.align-left, h3.align-left, h4.align-left, h5.align-left, h6.align-left, td.align-left { text-align: left; } p.align-center, h1.align-center, h2.align-center, h3.align-center, h4.align-center, h5.align-center, h6.align-center, td.align-center { text-align: center; } p.align-right, h1.align-right, h2.align-right, h3.align-right, h4.align-right, h5.align-right, h6.align-right, td.align-right { text-align: right; }
[frames]= p.csc-frame-frame1, table.csc-frame-frame1 { background-color: #EDEBF1; padding: 2px 4px 2px 4px; border: 1px solid #333333; } p.csc-frame-frame2, table.csc-frame-frame2 { background-color: #F5FFAA; padding: 2px 4px 2px 4px; border: 1px solid #333333; }
[ul]= ul.component-items { color: #186900; list-style-type: circle; } ul.action-items { color: #8A0020; list-style-image: url(img/red_arrow_bullet.gif); }
[ol]= ol.component-items-ordered { color: #10007B; list-style-type: lower-roman; } ol.action-items-ordered { color: #8A0020; list-style-type: lower-greek; }
[inline-text]= span.important { color: #8A0020; } span.name-of-person { color: #10007B; } span.detail { color: #186900; }
[ignoreMainStyleOverride]=1
[classesParagraph]= align-left, align-center, align-right, csc-frame-frame1, csc-frame-frame2
[classesTable]=csc-frame-frame1, csc-frame-frame2
[classesTD]=align-left, align-center, align-right
[classesLinks]=external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
[classesCharacter]=important, name-of-person, detail
[classesAnchor]=external-link, external-link-new-window, internal-link, internal-link-new-window, download, mail
[default]
[page]=internal-link
[​url]=external-link-new-window
[file]=download
[mail]=mail
[disableAlignmentFieldsetInTableOperations]=1
[disableSpacingFieldsetInTableOperations]=1
[disableColorFieldsetInTableOperations]=1
[disableLayoutFieldsetInTableOperations]=1
[disableBordersFieldsetInTableOperations]=1
[config]
[tt_content]
[bodytext]
[proc]
[overruleMode]=ts_css
[types]
[text]
[proc]
[overruleMode]=ts_css
[textpic]
[proc]
[overruleMode]=ts_css
[classes]
[align-left]
[name]=LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifyleft
[value]=text-align: left;
[align-center]
[name]=LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifycenter
[value]=text-align: center;
[align-right]
[name]=LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifyright
[value]=text-align: right;
[csc-frame-frame1]
[name]=LLL:EXT:rtehtmlarea/htmlarea/plugins/DynamicCSS/locallang.xml:frame-frame1
[value]=background-color: #EDEBF1; border: 1px solid #333333;
[csc-frame-frame2]
[name]=LLL:EXT:rtehtmlarea/htmlarea/plugins/DynamicCSS/locallang.xml:frame-frame2
[value]=background-color: #F5FFAA; border: 1px solid #333333;
[important]
[name]=LLL:EXT:rtehtmlarea/htmlarea/plugins/DynamicCSS/locallang.xml:important
[value]=color: #8A0020;
[name-of-person]
[name]=LLL:EXT:rtehtmlarea/htmlarea/plugins/DynamicCSS/locallang.xml:name-of-person
[value]=color: #10007B;
[detail]
[name]=LLL:EXT:rtehtmlarea/htmlarea/plugins/DynamicCSS/locallang.xml:detail
[value]=color: #186900;
[component-items]
[name]=LLL:EXT:rtehtmlarea/htmlarea/plugins/DynamicCSS/locallang.xml:component-items
[value]=color: #186900;
[action-items]
[name]=LLL:EXT:rtehtmlarea/htmlarea/plugins/DynamicCSS/locallang.xml:action-items
[value]=color: #8A0020;
[component-items-ordered]
[name]=LLL:EXT:rtehtmlarea/htmlarea/plugins/DynamicCSS/locallang.xml:component-items
[value]=color: #186900;
[action-items-ordered]
[name]=LLL:EXT:rtehtmlarea/htmlarea/plugins/DynamicCSS/locallang.xml:action-items
[value]=color: #8A0020;
[classesAnchor]
[externalLink]
[class]=external-link
[type]=url
[titleText]=LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:external_link_titleText
[externalLinkInNewWindow]
[class]=external-link-new-window
[type]=url
[titleText]=LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:external_link_new_window_titleText
[internalLink]
[class]=internal-link
[type]=page
[titleText]=LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:internal_link_titleText
[internalLinkInNewWindow]
[class]=internal-link-new-window
[type]=page
[titleText]=LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:internal_link_new_window_titleText
[download]
[class]=download
[type]=file
[titleText]=LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:download_titleText
[mail]
[class]=mail
[type]=mail
[titleText]=LLL:EXT:rtehtmlarea/htmlarea/plugins/TYPO3Browsers/locallang.xml:mail_titleText
[TCEFORM]
[tt_content]
[bodytext]
[RTEfullScreenWidth]=100%
[TCEMAIN]
[permissions]
[userid]=2
[groupid]=1
[user]=31
[group]=31
[everybody]=show
[tx_crawler]
[crawlerCfg]
[paramSets]
[test]=&L=0&contentId=[_TABLE:tt_content]
[procInstrFilter]=tx_indexedsearch_reindex
[baseUrl]=http://localhost/

student-uni ·

## Default PAGE object:
page = PAGE
page.typeNum = 0
config.index_enable = 1
plugin.tx_indexedsearch.templateFile = EXT:indexed_search/pi/indexed_search.html

student-uni ·

vielleicht das:

[page]=PAGE
[10]=TEMPLATE
[template]=< plugin.tx_automaketemplate_pi1
[workOnSubpart]=DOCUMENT_BODY
[subparts]
[DivNavigation]=HMENU
[SEARCH]=USER
[BreadCrumb]=HMENU
[DivBottom]=HMENU
[DivContent]=CONTENT

aber wie kann ich denn ein ###MARKER### hinzufügen

einpraegsam.​net ·

Kannst du mal dein Setup posten bitte?

PS: Immerhin wissen wir schonmal das die Installation mit dem Autoparser arbeitet und ein HTML Template einzubinden scheint (workOnSubpart)

student-uni ·

2 wunschtacho
Meinst du das :

User Settings - [admin]

Simulate backend user:
a_editor_for_draft ()a_editor_for_live ()a_media_uploader ()a_publisher ()nouser_page_creator ()
Language:
English Arabic - [Arabic] Bahasa Malaysia - [Bahasa Malaysia] Basque - [Basque] Bosnian - [Bosnian] Brazilian Portuguese - [Brazilian Portuguese] Bulgarian - [Bulgarian] Catalan - [Catalan] Chinese (Simpl) - [Chinese (Simpl)] Chinese (Trad) - [Chinese (Trad)] Croatian - [Croatian] Czech - [Czech] Danish - [Danish] Dutch - [Dutch] Esperanto - [Esperanto] Estonian - [Estonian] Faroese - [Faroese] Finnish - [Finnish] French - [French] German - [German] Greek - [Greek] Greenlandic - [Greenlandic] Hebrew - [Hebrew] Hindi - [Hindi] Hungarian - [Hungarian] Icelandic - [Icelandic] Italian - [Italian] Japanese - [Japanese] Korean - [Korean] Latvian - [Latvian] Lithuanian - [Lithuanian] Norwegian - [Norwegian] Persian - [Persian] Polish - [Polish] Portuguese - [Portuguese] Romanian - [Romanian] Russian - [Russian] Serbian - [Serbian] Slovak - [Slovak] Slovenian - [Slovenian] Spanish - [Spanish] Swedish - [Swedish] Thai - [Thai] Turkish - [Turkish] Ukrainian - [Ukrainian] Vietnamese - [Vietnamese]
Startup:
Use condensed mode in backend
(for small screens):
Select navigation mode: Left frame menu (default) Selectorbox in top frame Icons in top frame
Start up in the module 'Task Center'
Show Thumbnails by default:
Show help text when applicable:
Max. Title Length:

Advanced functions:
Recursive Copy: Enter the number of page
sublevels to include, when a page is copied: levels
Recursive Delete(!): Allow ALL subpages
to be deleted when deleting a page:

Edit:
Wide document background:
Enable Rich Text Editor (if available):
File upload directly in Doc-module:
Context Sensitive Help mode: Display help icon only Display full text message
Disable Popup Context Menus:

Personal data:
Your name:
Your email address:
Notify me by email, when somebody logs in
from my account: ()
New password:
New password, again:

Reset all Values to default:
Notice! In order to activate most of these changes, please reload the backend (eg. logout and login again).

einpraegsam.​net ·

- Du aktivierst die erste Seite (Rootseite)
- Dann links im Menü Template auswählen
- Versichern dass das Dropdown Menü rechts oben auf Info/Modify steht
- Dann auf das Stiftsymbol vor Setup klicken
- Den Inhalt kopieren...

student-uni ·

Das hab ich shon mal gemacht

## Default PAGE object:
page = PAGE
page.typeNum = 0
config.index_enable = 1
plugin.tx_indexedsearch.templateFile = EXT:indexed_search/pi/indexed_search.html

einpraegsam.​net ·

ok, vermutlich sind noch weitere Templates in dein Root Template eingebunden, denn es fehlt noch einiges.

Statt auf den Stift zu klicken, jetzt bitte mal auf "Click here to edit whole template record"
Dann schau mal in diesem Abschnitt: Include basis template

Sind da noch weitere Eingebunden?

student-uni ·

Aha!
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = fileadmin/html/Haupt_Template.html

# Here we define which elements in the HTML that
# should be wrapped in subpart-comments:
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
TD.all = 1
DIV.all = 1
}
# Prefix all relative paths with this value:
relPathPrefix = fileadmin/html/
}

einpraegsam.​net ·
student-uni schrieb

Das ist sie
content.file = fileadmin/html/Haupt_Template.html

ich bin doch blöd #angry#
Herzlichen herzlichen Dank
😃

Halleluja 🙂

skorpi ·

Also mit dem Object Browser.... da braucht man nicht in vielen verteilten +ext-Templates zu suchen... ;-)
+ext heißt übrigens nicht, dass das TS-Template für eine Extension gilt. Es soll lediglich heißen, dass es das Root-Template erweitert und statt +ext könnte da auch Kühlschrank stehen ;-)