Hallo,
ich weiß einige werden jetzt sagen google doch einfach, aber da komm ich auch nicht weiter.
🙁
Ich hab auf meiner Webseite (http://www.blinzler.org) einen Marker für den Login gesetzt.
jetzt ist meine frage wie sag ich Typo das er dort den Loginbereich hinsetzt und zwar horizontal?
blinzler = PAGE
blinzler {
typeNum = 0
stylesheet = uploads/tf/frog_css.css
meta.AUTHOR = Martin Brandt
meta.DESCRIPTION = Erstellt von Martin Brandt.
10 = TEMPLATE
10.template = FILE
10.template.file = uploads/tf/template_frog.html
workOnSubpart = DOKUMENT
10.marks {
# Menü
M_LINKS = HMENU
M_LINKS.special = directory
M_LINKS.special.value = 1
M_LINKS.1 = GMENU
M_LINKS.1.NO = 1
M_LINKS.1.NO {
wrap = |<br>
XY = 140, 18
backColor = #efefef
10 = TEXT
10.text.field = title
10.fontColor = #5d5d5d
10.fontFile = fileadmin/fonts/arial.ttf
10.fontSize = 9
10.niceText = 1
10.offset = 6, 12
20 = IMAGE
20.file = GIFBUILDER
20.file {
XY = 140,1
backColor = #FFFFFF
}
20.offset = 0, 17
}
M_LINKS.1.RO < .M_LINKS.1.NO
M_LINKS.1.RO.backColor = #d7dbc3
M_LINKS.1.CUR < .M_LINKS.1.RO
M_LINKS.2 < .M_LINKS.1
M_LINKS.2 {
NO.backColor = #f8faee
NO.10.fontColor = #686868
NO.10.fontSize = 8
NO.10.offset = 10, 12
NO.20.file.backColor = #d7dbc3
RO < .NO
RO.backColor = #FFFFFF
RO.5 >
CUR < .RO
}
# Submenü2
M_LINKS.2.CUR < .M_LINKS.2.RO
M_LINKS.3 < .M_LINKS.1
M_LINKS.3 {
NO.backColor = #FFFFFF
NO.10.fontColor = #686868
NO.10.fontSize = 7
NO.10.offset = 14, 12
NO.20.file.backColor = #EFEFEF
RO < .NO
RO.backColor = #f8faee
RO.5 >
CUR < .RO
}
# Inhalte
CONTENT = CONTENT
CONTENT {
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
}
:o [/url]
Hallo,
der Thread sollte helfen:
#274753
lg georg
Ich hab heute den ganzen tag ohne erfolg rumprobiert. 😢
Ich hab "newloginbox" installiert und registrieren das soll keiner bei mir dürfen von daher brauch ich die extension nicht.
jetzt ist die frage wo in meinem typoscript muss ich das was ihr da besprochen habt einfügen?? (*ich will nicht nerven bin halt newbe*).
Habs übers wochenende probiert aber es tut sich nichts. Nicht einmal mein Markert (###LOGIN### siehe http://www.blinzler.org) verschwindet.
hier ist mal das was ich verbrochen habe. (wie gesagt ein anmeldeformular brauch ich nicht)
# Login-BOX
[usergroup = *]
temp.100 = TEXT
#temp.100.data = TSFE : id
temp.100.dataWrap (
<form action="{getIndpEnv:TYPO3_REQUEST_URL}" method="post">
<div> <span style="font-size: 11px;"><input class="logout" type="submit" value="Logout" /> · <a href="registrierung.html?tx_srfeuserregister_pi1%5Bpointer%5D=&tx_srfeuserregister_pi1%5Bmode%5D=&tx_srfeuserregister_pi1%5Bsword%5D=&tx_srfeuserregister_pi1%5Bsort%5D=&tx_srfeuserregister_pi1%5Bcmd%5D=edit">eigene Daten bearbeiten</a>
<input type="hidden" name="logintype" value="logout" /> </div></form>
)
#<b>#Ansonsten wird der [else] Zweig angezeigt</b>
[else]
temp.100 = TEXT
#temp.100.data = TSFE : id
temp.100.dataWrap (
<form name="form" action="index.php?id=157" method="post">
<div id="login"><input name="user" class="login" type="text" id="user" title="Benutzername" value="" onfocus="if (this.value==this.defaultValue) this.value=''" size="12" />
<input name="pass" class="login" type="password" id="pass" title="Passwort" onfocus="if (this.value==this.defaultValue) this.value=''" value="" size="12" />
<input class="login" name="image" type="submit" value="Login" title="Login" />
<input type="hidden" name="redirect_url" value="{getIndpEnv:TYPO3_REQUEST_URL}" />
<input type="hidden" name="logintype" value="login" /> <input type="hidden" name="pid" value="7" />
<a href="index.php?id=158&tx_srfeuserregister_pi1[pointer]=&tx_srfeuserregister_pi1[mode]=&tx_srfeuserregister_pi1[sword]=&tx_srfeuserregister_pi1[sort]=&tx_srfeuserregister_pi1[cmd]=create">Neu registrieren</a>
</div>
</form>
)
[global]
# / Login-BOX
blinzler = PAGE
blinzler {
# LOGIN
marks.LOGIN < temp.100
# /LOGIN
# Spracheinstellung
10.config.sys_language_uid = 1
10.config.language = de
10.config.locale_all = de_DE
# /Spracheinstellung
typeNum = 0
stylesheet = uploads/tf/frog_css.css
meta.AUTHOR = Martin Brandt
meta.DESCRIPTION = Erstellt von Martin Brandt.
10 = TEMPLATE
10.template = FILE
10.template.file = uploads/tf/template_frog.html
workOnSubpart = DOKUMENT
10.marks {
# Menü links
M_LINKS = HMENU
M_LINKS.special = directory
M_LINKS.special.value = 1
M_LINKS.1 = GMENU
M_LINKS.1.NO = 1
M_LINKS.1.NO {
wrap = |<br>
XY = 140, 18
backColor = #efefef
10 = TEXT
10.text.field = title
10.fontColor = #5d5d5d
10.fontFile = fileadmin/fonts/arial.ttf
10.fontSize = 9
10.niceText = 1
10.offset = 6, 12
20 = IMAGE
20.file = GIFBUILDER
20.file {
XY = 140,1
backColor = #FFFFFF
}
20.offset = 0, 17
}
M_LINKS.1.RO < .M_LINKS.1.NO
M_LINKS.1.RO.backColor = #d7dbc3
M_LINKS.1.CUR < .M_LINKS.1.RO
M_LINKS.2 < .M_LINKS.1
M_LINKS.2 {
NO.backColor = #f8faee
NO.10.fontColor = #686868
NO.10.fontSize = 8
NO.10.offset = 10, 12
NO.20.file.backColor = #d7dbc3
RO < .NO
RO.backColor = #FFFFFF
RO.5 >
CUR < .RO
}
# Submenü2
M_LINKS.2.CUR < .M_LINKS.2.RO
M_LINKS.3 < .M_LINKS.1
M_LINKS.3 {
NO.backColor = #FFFFFF
NO.10.fontColor = #686868
NO.10.fontSize = 7
NO.10.offset = 14, 12
NO.20.file.backColor = #EFEFEF
RO < .NO
RO.backColor = #f8faee
RO.5 >
CUR < .RO
}
# Inhalte
CONTENT = CONTENT
CONTENT {
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
}
😢 HELP 😢
na wenn nichtmal der marker verschwindet, dann liegts wohl an deinem page object!
schon mal probiert:
marks.Deinmarker = TEXT
marks.Deinmarker.value = irgendwas
wenn das auch nicht ersetzt wird, dann stimmt was nicht mit dem pageobject, dem template oder dem marker. (mir passiert in letzter zeit zb. öfters dass ich die drei rauten am ende vergesse :-( ).
und wenn ich mir deinen code auf die schnelle ansehe, dann muss ich sagen, du ersetzt ja den marker BEVOR du überhaupt das template file einliest, geschweige denn den subpart festlegst.
--> gehen Sie zurück zum Anfang 😉