Zum Inhalt springen

Probleme TimTab, Kategorien und Kommentaren

Erstellt am 16. Juni 2006 · Noch keine Antworten

Tags: tt_news, Blog, Frage

febo ·

Hallo Typo3´ler

nach dem erfolglosen durchforsten des Forums nach Lösungen formuliere ich nun mal meine Fragen.

Was bisher geschah:

Typo3 3.8.1 installiert
tt_news 2.4.0
ve_guestbook 1.9.6
timtab 0.5.9

Den Tree habe ich aus dem Menual übernommen und als Template habe ich das Kubrick gewählt und es, was das Design angeht, meinen Vorstellungen angepasst.

Die Setup.txt habe ich dahingehend angepasst, das mir der Kalendar auf allen Seiten angezeigt wird.

Was bisher nicht geschah:

Die angezeigten Kategorien werden bei mir nicht verlinkt. Egal welche Funktion ich in das Constant Feld einfüge oder es direkt in die Setup.txt schreibe - es bleibt immer beim alten. Keine Links.

Des Weiteren werden geschrieben Kommentare nicht gespeichert.

Hier meine Konfiguration:

#
#	$Id$
#


# tt_news
plugin.tt_news {

  templateFile = {$page.file.template_tt_news}
  
  singlePid = {$plugin.tx_timtab.blogPid}
  
  displayList.date_stdWrap.strftime = %B %d, %Y
  displaySingle.date_stdWrap.strftime =  %A, %B %d, %Y at %I:%M %p
  enableArchiveDate = 1 
  dontUseBackPid = 1
  catTextMode = 2
  newsAmenuUserFunc =
  useHRDates = 1
  useHRDatesSingle = 1
  useSubCategories = 1
  limit = 10
  
  displayCatMenu {
    mode = timtab
    catmenu_stdWrap.wrap = <li><h2 class="news-catmenu">Rubriken</h2>|</li>
  }

  _LOCAL_LANG.default {
    archiveHeader = Archiv
  }
}


plugin.tx_timtab {

  displayCatMenu.targetPid = 9
  displayCatMenu.wrap = <ul>|</ul>
}

#list all posts of the current month when in archive
[globalVar = GP:tx_ttnews|year > 0]
plugin.tt_news.limit = 100
[global]
[globalVar = GP:tx_ttnews|ps > 0]
plugin.tt_news.limit = 100
[global]

# posts list
temp.list < plugin.tt_news 
temp.list {
  code >
  code = LIST
}

#post single view
temp.single < plugin.tt_news 
temp.single {
  code >
  code = SINGLE
}

# archives
temp.archives < plugin.tt_news 
temp.archives {
  code >
  code = AMENU
}

# categories
temp.categories < plugin.tt_news 
temp.categories {
  code >
  code = CATMENU
}

# ve_guestbook
plugin.tx_veguestbook_pi1 {

  templateFile = {$page.file.template_ve_guestbook}
  limit = 1000
  
  _LOCAL_LANG.default {
    form_firstname = Name
    form_submit = Submit Comment
    form_email = Mail
    form_homepage = Website
  }

  _CSS_DEFAULT_STYLE =  
}

# pagenav, default: 2 levels
temp.pagenav = HMENU
temp.pagenav.wrap = <li id="pagenav"><h2>Seiten</h2>|</li>
temp.pagenav.1 = TMENU
temp.pagenav.1 {
  wrap = <ul>|</ul>
  expAll = 1
  noBlur = 1

  NO {
    wrapItemAndSub = <li class="page_item">|</li>
    ATagTitle.field = abstract // description // title
  }
}
temp.pagenav.2 = TMENU
temp.pagenav.2 {
  wrap = <ul> | </ul>
  noBlur = 1
  
  NO {
    allWrap = <li class="page_item">|</li>
    ATagTitle.field = abstract // description // title
  }
}

# filling markers
temp.blogTitle = TEXT
temp.blogTitle.value = {$plugin.tx_timtab.title}
temp.blogTagline = TEXT
temp.blogTagline.value = {$plugin.tx_timtab.tagline}
temp.blogHomepage = TEXT
temp.blogHomepage.value = {$plugin.tx_timtab.homepage}

#timtab blogroll
temp.blogRoll =< plugin.tx_timtab_pi1
temp.blogRoll {
  header_stdWrap.wrap = <li><h2>Links</h2>|</li>
  dontWrapInDiv = 1
  pid_list = 3
}

# timtab Calendar
[globalVar = GP:tx_ttnews|year > 0][globalVar = GP:tx_ttnews|ps > 0]
temp.calendar =< plugin.tx_timtab_pi3
temp.calendar {
  header_stdWrap.wrap = <h2 class="news-catmenu">Kalendar</h2>|
  dontWrapInDiv = 1
  pid_list = 5
  targetPid = 9
}
[else]
temp.calendar =< plugin.tx_timtab_pi3
temp.calendar {
  header_stdWrap.wrap = <h2 class="news-catmenu">Kalendar</h2>|
  dontWrapInDiv = 1
  pid_list = 5
  targetPid = 9
[global]

# page cObject
page >
page = PAGE
page {
  typeNum = 0

  # <head>
  headTag = <head profile="http://gmpg.org/xfn/11">
  headerData {
    10 = TEXT
    10.value = <link rel="pingback" href="{$plugin.tx_timtab.homepage}/?type=200" />
    
    20 = TEXT
    20.value = <link rel="alternate" type="application/rss+xml" title="RSS-Feed" href="{$plugin.tx_timtab.homepage}/?type=100" />
  }

  # <body>
  bodyTag = <body>
  10 = TEMPLATE
  10 {
    template = FILE
    template.file = {$page.file.template_std}
    
    workOnSubpart = DOCUMENT_BODY
  
    marks {
      CALENDAR < temp.calendar
      PAGENAV < temp.pagenav
      ARCHIVES < temp.archives
      CATEGORIES < temp.categories
      BLOG_TITLE < temp.blogTitle
      BLOG_TAGLINE < temp.blogTagline
      BLOG_HOME < temp.blogHomepage
      POSTS_LIST < temp.list
      POST_SINGLE < temp.single
      BLOG_CONTENT_NORMAL < styles.content.get
      CONTENT_RIGHT < styles.content.getRight
      CONTENT_BORDER < styles.content.getBorder
      BLOG_BLOGROLL < temp.blogRoll
    } # end marks
  } # end page.10 (TEMPLATE)
  
  # add some 'dynamic' css
  includeCSS.file001 = {$page.file.css}
  
  config {
    # get XHTML compliant output
    xmlprologue = none
    doctype = xhtml_trans
    xhtml_cleaning = all
  
    # Spamprotection
    spamProtectEmailAddresses = -3
    spamProtectEmailAddresses_atSubst = <span>@</span>
  
    # targets
    intTarget = {$PAGE_TARGET}
    extTarget = _blank
  
    # externalize js and css
    removeDefaultJS = external

    # advertise that we can receive Pingback
    #additionalHeaders = X-Pingback: {$plugin.tx_timtab.homepage}/?type=200

    # Admin Panel
    admPanel = 1
  } # end page.config
  
} # end page (PAGE)


#remove cleargif
content.headerSpace = 0|0
content.space = 0|0

# homepage
[globalVar = TSFE:id = {$plugin.tx_timtab.homePid}]
page.10.template.file = {$page.file.template_main}
[global]

# single view
[globalVar = TSFE:id = {$plugin.tx_timtab.blogPid}]
plugin.tx_timtab.gravatar.size = 23

page.10.template.file = {$page.file.template_single}
[global]

Und hier das Constant Feld des Templates:

plugin.tx_timtab.title = meinedomain.de
plugin.tx_timtab.blogPid = 8
plugin.tx_timtab.homePid = 9
plugin.tx_timtab.tagline = noch ein Text
plugin.tx_timtab.homepage = http://www.meinedomain.de

plugin.tx_timtab.showLatestDate = 1
plugin.tx_timtab.catLatestDate.strftime = %d.%m.%G

plugin.tx_timtab_pi2.enableBlogger = 1
plugin.tx_timtab_pi2.enableMetaWeblog = 1
plugin.tx_timtab_pi2.strictAPI = 1
plugin.tx_timtab_pi2.pidStorePosts = 5
plugin.tx_timtab_pi2.pidStoreComments = 4
plugin.tx_timtab_pi2.bloggerTitle = Artikeleintrag

plugin.tt_news.singlePid = 8
plugin.tt_news.pid_list = 5
plugin.tt_news.backPid = 9

plugin.tt_news.catImageMode = 1
plugin.tt_news.catSelectorTargetPid = 9
plugin.tt_news.displaySubCategories = 1
plugin.tt_news.showRelatedNewsByCategory = 1
plugin.tt_news.useSPidFromCategory = 1
plugin.tt_news.useMultiPageSingleView = 1
plugin.tt_news.useBidirectionalRelations = 1
plugin.tt_news.usePagesRelations = 1
plugin.tt_news.archiveTypoLink.parameter = 9

plugin.tt_news.displayXML.xmlTitle = meinedomain.de: Letzte Meldungen
plugin.tt_news.displayXML.xmlLink = http://www.mainedomain.de
plugin.tt_news.displayXML.xmlDesc = Letzte Meldungen
plugin.tt_news.displayXML.xmlLang = de
plugin.tt_news.displayXML.xmlLimit = 10

Hat irgendjemand von euch eine Ahnung, welcher Fehler mir bei der Installation unterlaufen sein könnte?
Wenn mehr Angaben nötig sind, bitte posten. Dank im Voraus

Gruß febo