Zum Inhalt springen

Menü aufteilen

Erstellt am 8. April 2007 · 4 Antworten · letzte Antwort am 10. April 2007

Tags: Frage

Avalarion ·

Hi,

Ich betreibe eine Rollenspielseite, die sich noch im wachstum befindet.

Auf der Seite habe ich links eine Navigation und rechts eine Navigation, das soll so sein:

Links - Außerhalb des Spiels
Rechts - Innerhalb des Spiels

Hat jemand eine Idee, wie ich das realisieren könnte?

Gruß

Bastian

Avalarion ·

Ja ich dachte auch schon an

begin=17

Aber wo endet das dann? UNd wo beginnt dann die andere?

Ich bin nicht ganz so fitt in TypoSkript!

Avalarion ·

Das hier ist mein TypoScript:

config.language = de
config.locale_all = de_DE
config.spamProtectEmailAddresses = 2
config.spamProtectEmailAddresses_atSubst = (at)
config.admPanel = 0
config.index_enable = 1
config.index_externals = 1
config.simulateStaticDocuments = 0
config.simulateStaticDocuments_addTitle = 0 
config.simulateStaticDocuments_noTypeIfNoTitle = 1
config.doctype = xhtml_trans
config.xhtml_cleaning = all
config.htmlTag_langKey = de

styles.content.links.extTarget = _self

### Admin Panel einschalten ###
admPanel.enable.edit = 1
admPanel.enable.cache = 1
admPanel.enable.hide = 1

page = PAGE
PAGE_TARGET = _self
page.typeNum = 0
page.bodyTag = <body> 
page.stylesheet = fileadmin/template/new/css_design.css


plugin.meta.flags.useSecondaryDescKey = 0
plugin.meta.flags.alwaysGlobalDescription = 1
plugin.meta.flags.alwaysGlobalKeywords = 1
plugin.meta.global.email = Myself@Horas-Reich.de
plugin.meta.global.keywords = Horas,Reich,DSA,Rollenspiel,RPG,WBB,Typo3,Avalarion,DSA Ring
plugin.meta.global.description = Tritt ein ins Horasreich, einer fantastischen Welt aus dem Rollenspiel "Das Schwarze Auge" (DSA) und geselle dich zu der Schar derer, die bereits den Weg hierher gefunden haben. 
plugin.meta.global.robots = index,follow


page.headerData.1 = TEXT
page.headerData.1.value = <meta http-equiv="Content-Script-Type" content="text/javascript" /> 
page.headerData.10 < plugin.meta 
page.headerData.20 = TEXT
page.headerData.20.value = <link rel="alternate" type="application/rss+xml" title="Horas Reich Feed" href="http://www.Horas-Reich.de/rss.php">
page.headerData.30 = TEXT 
page.headerData.30.value = <link rel="alternate" type="application/rss+xml" title="RSS-Feed" href="http://www.Horas-Reich.de/rss.php"> 

page.10 = TEMPLATE
page.10 {
	template = FILE
	template.file =  fileadmin/template/new/index.html
	workOnSubpart = DOCUMENT_BODY
	marks{
	CONTENT = CONTENT
		CONTENT {
			table = tt_content
			select.orderBy = sorting
			select.where = colPos = 0
		}
		
		
		RECHTS = HMENU
		RECHTS {
			noBlur = 1
			wrap =  |
			1 = TMENU
			1 {
				noBlur = 1
				expAll = 1
				NO {
					allWrap = <div class="tabelle_oben">|</div>
				}
			}
			2 = TMENU
			2{
				noBlur = 1
				entryLevel = 0
				expAll = 1
				NO{
					allWrap = <div align="center">|</div>
				}
				ACT = 1
				ACT{                 
					allWrap = <div align="center"><b>|</b></div>
				}
			}
		}
	


		MENU = HMENU
		MENU.noBlur = 1
		MENU.wrap =  |
		MENU.1 = TMENU
		MENU.1.noBlur = 1
		MENU.1 {
			expAll = 1
			NO {
				allWrap = <div class="tabelle_oben">|</div>
			}
		}

		MENU.2 = TMENU
		MENU.2.noBlur = 1
		MENU.2 {
			entryLevel = 0
			expAll = 1
			NO{
				allWrap = <div align="center">|</div>
			}
			ACT = 1
			ACT{                 
				allWrap = <div align="center"><b>|</b></div>
			}
		}
		
		BREAD = HMENU
		BREAD{
			special = rootline
			special.range = 0|-1
			special.targets.3 = page
			1 = TMENU
			1.target = _top
			1.wrap = <font size="-1">|</font> 
			1.NO {
				linkWrap = | ->
			}
		}
		
	}
}


	##### Überschriften der Seiteninhalte neu formatieren ##### 
	lib.stdheader > 
	lib.stdheader = CASE 
	lib.stdheader { 
		key.field = header_layout 
		4 = TEXT 
		4.field = header 
		4.wrap = <div class="tabelle_oben">|</div>
		4.required = 1 
		5 = TEXT 
		5.field = header 
		5.wrap = <div class="tabelle_oben_content">|</div>
		5.required = 1 
	}

RECHTS soll alle Unterpunkte von der ID 30 auslesen
MENU soll alle Unterpunkte von der ID 20 auslesen

Wo muss ich was änden?

Avalarion ·

Habe es gelöst!

special = directory 
special.value = 30
special = directory 
special.value = 20

musste ich jeweils in MENU und RECHTS packen!

Wenn jemand dazu hilfe braucht soll er das hier schreiben, ich hab da genug Zeit mit verbracht das jetzt zu verstehen!