Форум больше не используется. Присоединяйтесь к каналу #community-ru в Slack for TYPO3 community |
06.12.2005, 14:51 | #1 |
Новенький
Регистрация: 06.12.2005
Сообщений: 12
|
Как увидеть меню??
На центральной странице сайта не могу увидеть свое меню Кнстанты и сетап описала. В сетапе явно ошибка, а где - не пойму. может кто подскажет начинающему?
#Mehrspachig ####################################### config.LinkVars = L config.sys_language_uid = 0 config.language = de config.locale_all = de_DE English language, sys_language.uid = 1 [globalVar = GP:L=1] config.sys_language_uid = 1 config.language = en config.locale_all = en_EN [global] # Use CSS Styled Content! ####################################### # Cache Control Headers (TYPO3 3.8.0) ####################################### config.sendCacheHeaders = 1 # XHTML DOCTYPE ####################################### config.doctype = <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> config.htmlTag_setParams = xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" # Externalize CSS and JS ####################################### config.removeDefaultJS = external config.inlineStyle2TempFile = 1 # Spam Protection for Email ####################################### config { spamProtectEmailAddresses = 2 spamProtectEmailAddresses_atSubst = (at) } # Send UTF-8 Notification Email Headers ####################################### config.notification_email_charset = utf-8 config.notification_email_encoding = quoted-printable config.notification_email_urlmode = all # Simulate static pages (uncomment/comment to configure) ####################################### #config.simulateStaticDocuments = 1 #config.simulateStaticDocuments_noTypeIfNoTitle = 1 # config.simulateStaticDocuments_addTitle = 30 # config.simulateStaticDocuments_pageTitleFirst = 1 # config.pageTitleFirst = 1 # config.simulateStaticDocuments_pEnc = base64 # config.simulateStaticDocuments_pEnc = md5 # config.simulateStaticDocuments_pEnc_onlyP = cHash,L,print,L,fD[_FIELDLIST],fD[disable],fD[usergroup],tx_srfeuserregister_pi1[aC], #tx_srfeuserregister_pi1[cmd],tx_srfeuserregister_pi1[rU],tx_srfeuserregister_pi1[sFK],tx_ttnews[backPid], tx_ttnews[tt_news], tx_ttnews[pS], tx_ttnews[pL], tx_ttnews[arc], tx_ttnews[cat], tx_ttnews[pointer], tx_ttnews[swords] # config.simulateStaticDocuments = PATH_INFO # config.absRefPrefix = http:// www.mydomain.com/ # Setting up 'page' to be the default PAGE object (type=0) ####################################### lib.stdheader.10.stdWrap.wrap = tt_content.stdWrap.dataWrap = <A name="{field:uid}"></a> page = PAGE page.typeNum = 0 config.xhtml_cleaning = all config.disablePrefixComment = 1 config.pageTitleFirst = 1 page.includeCSS { file1 = fileadmin/TV-templates/template9/css/style.css } page.headerData.10 = TEXT page.headerData.10.value ( <style type="text/css" media="all"> @import url(fileadmin/TV-templates/template9/css/Menu.css); </style> <!--[if lte IE 6]> <style type=text/css> @import url(fileadmin/TV-templates/template9/css/Menu4IE.css); BODY {BEHAVIOR: url("fileadmin/TV-templates/template9/css/ADxMenu.htc")} </style> <![endif]--> ) page.bodyTag = <body> page.1 = TEMPLATE page.1.marks.PAGE_UID = TEXT page.1.marks.PAGE_UID.field = uid page.1 { template = FILE template.file = fileadmin/TV-templates/template9/template_multilanguage.html workOnSubpart = DOCUMENT_BODY subparts.RNDIMG < temp.rndImageTop subparts.CONTENT_LEFT < styles.content.getLeft subparts.CONTENT_RIGHT < styles.content.getRight subparts.CONTENT_BORDER < styles.content.getBorder subparts.CONTENT < styles.content.get # Flags ####################################### subparts.FLAGS = PHP_SCRIPT subparts.FLAGS.file = fileadmin/TV-templates/template9/langMenu.php # Top horizontal dropdown menu ####################################### subparts.TOPNAV = HMENU subparts.TOPNAV.special = directory #subparts.TOPNAV.special = list subparts.TOPNAV.special.value = 1 #subparts.TOPNAV.excludeUidList = 1,2,3,5,6,7 subparts.TOPNAV { wrap = <div id="menu"> | </div> entryLevel = 1 1 = TMENU 1 { expAll=1 noBlur = 1 wrap = <ul id="menuList" class="adxm"> | </ul> NO { wrapItemAndSub = <li> | </li> } } 2 = TMENU 2 { expAll=1 noBlur = 1 wrap = <ul class="subList"> | </ul> NO { wrapItemAndSub = <li class="submenu"> | </li> } } 3 = TMENU 3 { expAll=1 noBlur = 1 wrap = <ul class="subList"> | </ul> NO { wrapItemAndSub = <li class="submenu"> | </li> } } 4 = TMENU 4 { expAll=1 noBlur = 1 wrap = <ul class="subList"> | </ul> NO { wrapItemAndSub = <li class="submenu"> | </li> } } } # Vertical Navigation ####################################### subparts.VERTNAV = HMENU subparts.VERTNAV.1 = TMENU subparts.VERTNAV.special = directory subparts.VERTNAV.special.value = 1 #subparts.VERTNAV.special = list #subparts.VERTNAV.excludeUidList = 1,2,3 subparts.VERTNAV.1 { # Normal state properties ####################################### NO.allWrap = <div class="vertnav1"> | </div> # Enable active state and set properties: ####################################### ACT = 1 noBlur = 1 ACT.allWrap = <div class="vertnav1-act"> | </div> } # Second level menu-object ####################################### subparts.VERTNAV.2 = TMENU subparts.VERTNAV.2 { # Normal state properties ####################################### NO.allWrap = <div class="vertnav2"> | </div> # Enable active state and set properties: ####################################### ACT = 1 noBlur = 1 ACT.allWrap = <div class="vertnav2-act"> | </div> } # Third level menu-object ####################################### subparts.VERTNAV.3 = TMENU subparts.VERTNAV.3 { # Normal state properties ####################################### NO.allWrap = <div class="vertnav3"> | </div> # Enable active state and set properties: ####################################### ACT = 1 noBlur = 1 ACT.allWrap = <div class="vertnav3-act"> | </div> } # Fourth level menu-object ####################################### subparts.VERTNAV.4 = TMENU subparts.VERTNAV.4 { # Normal state properties ####################################### NO.allWrap = <div class="vertnav4"> | </div> # Enable active state and set properties: ####################################### ACT = 1 noBlur = 1 ACT.allWrap = <div class="vertnav4-act"> | </div> } } # Bottom Navigation ####################################### subparts.BOTTOMNAV = HMENU # subparts.BOTTOMNAV.special = directory # subparts.BOTTOMNAV.special.value = 1 subparts.BOTTOMNAV.1 = TMENU subparts.BOTTOMNAV.1 { NO.allWrap = |*| <span class="bottomnav"> | |</span> |*| ACT = 1 noBlur = 1 ACT.allWrap = |*| <span class="bottomnav"> | |</span> |*| } # Enabling the admin panel for the 'page' PAGE object: ####################################### page.config.admPanel=1 #PREVENTS EXISTING USERGROUPS BEING LOST IF A USER EDITS THEIR PROFILE ####################################### plugin.feadmin.fe_users.edit.evalValues.usergroup = unsetEmpty #ASSIGNS DEFAULT USERGROUP UID=1 TO ALL NEW USERS ####################################### plugin.feadmin.fe_users.create.overrideValues.user group = 1 # Click to enlarge popup ####################################### tt_content.image.20.1.imageLinkWrap { JSwindow.expand = 0,0 bodyTag = <BODY style="margin: 0; background: #000000;"> title = Page Popup #default(Image) } tt_content.textpic.20.1 < tt_content.image.20.1 |
06.12.2005, 16:17 | #2 |
Senior Member
Регистрация: 27.02.2006
Сообщений: 131
|
re: Как увидеть меню??
Девушка и тайпо? Интересные метаморфозы разработки
####################################### subparts.BOTTOMNAV = HMENU # subparts.BOTTOMNAV.special = directory # subparts.BOTTOMNAV.special.value = 1 subparts.BOTTOMNAV.1 = TMENU subparts.BOTTOMNAV.1 { NO.allWrap = |*| <span class="bottomnav"> | |</span> |*| ACT = 1 noBlur = 1 ACT.allWrap = |*| <span class="bottomnav"> | |</span> |*| } тут много всего не определено, например, с какого уровня строить меню? вот пример нормального меню Код:
lib.second_level_menu = HMENU lib.second_level_menu.begin = 10 lib.second_level_menu.maxItems = 5 lib.second_level_menu.entryLevel = 0 lib.second_level_menu.wrap = | lib.second_level_menu.1 = TMENU lib.second_level_menu.1.collapse = 0 lib.second_level_menu.1.expAll = 0 lib.second_level_menu.1.NO { allWrap = || |*| #ATagBeforeWrap = 1 #ATagParams = class="second_menu" } lib.second_level_menu.1.ACT < lib.second_level_menu.1.NO lib.second_level_menu.1.ACT = 1 lib.second_level_menu.1.ACT { ATagBeforeWrap = 1 ATagParams = style="color:#ff9934; text-decoration:none;" } |