Zum Inhalt springen

Im Druckfenster erscheint ###CONTENT###

Erstellt am 17. Januar 2005 · 3 Antworten · letzte Antwort am 19. Januar 2005

Tags: Templates & Layouts, Frage

daffyduck ·

Seit über vier Stunden versuche ich nun mit hilfe diese Forums die Druckversion zum laufen zu bringen... doch nirgends wird dieses Problem beschrieben.

In der Druckvorschau erscheint bei mir die folgende Ausgabe:

Title: home
Subtitle: 
Author: 

--------------------------------------------------------------------------------
###CONTENT### 
--------------------------------------------------------------------------------
Go back to the regular design...

Dort wo ###CONTENT### steht sollte aber der Seiteninhalt ausgegeben werden, aber ich kriege es einfach nicht hin.

Hier mein Constants:

content.break.bodytext = <br />
content.wrap.bodytext = |<br />

plugin.tx_gooffotoboek_pi1.loadnext = 1
plugin.tx_gooffotoboek_pi1.noresize = 0
plugin.tx_gooffotoboek_pi1.icons = 1
plugin.tx_gooffotoboek_pi1.use_anchor = 0
plugin.tx_gooffotoboek_pi1.disable_dircomment = 0
plugin.tx_gooffotoboek_pi1.rev_sort_root = 0
plugin.tx_gooffotoboek_pi1.show_teaser = 0
plugin.tx_gooffotoboek_pi1.thumb_filenames = 0
plugin.tx_gooffotoboek_pi1.rev_sort_files = 0
plugin.tx_gooffotoboek_pi1.rev_sort_dirs = 0
plugin.tx_gooffotoboek_pi1.no_full = 0
plugin.tx_gooffotoboek_pi1.default_thumb = 1
plugin.tx_gooffotoboek_pi1.debug = 0
plugin.tx_gooffotoboek_pi1.show_exif = 0
plugin.tx_gooffotoboek_pi1.show_exif_all = 0
plugin.tx_gooffotoboek_pi1.slideshow = 1
plugin.tx_gooffotoboek_pi1.thumb_per_row = 5
plugin.tx_gooffotoboek_pi1.thumb_rows = 5
plugin.tx_gooffotoboek_pi1.thumb_maxw = 110
plugin.tx_gooffotoboek_pi1.thumb_maxh = 100
plugin.tx_gooffotoboek_pi1.img_maxh = 570
plugin.tx_gooffotoboek_pi1.img_maxw = 570
plugin.tx_gooffotoboek_pi1.exif_jhead = /usr/bin/jhead
plugin.tx_gooffotoboek_pi1.exif_metacam = /usr/bin/metacam
plugin.tx_gooffotoboek_pi1.webpath = uploads/fotobook
plugin.tx_gooffotoboek_pi1.img_spacer = fileadmin/gal_nav/spacer.gif
plugin.tx_gooffotoboek_pi1.img_up_off = fileadmin/gal_nav/up_off.gif
plugin.tx_gooffotoboek_pi1.img_thumb_on = fileadmin/gal_nav/thumb_on.gif
plugin.tx_gooffotoboek_pi1.img_up_on = fileadmin/gal_nav/up_on.gif
plugin.tx_gooffotoboek_pi1.img_index_off = fileadmin/gal_nav/index_off.gif
plugin.tx_gooffotoboek_pi1.img_nav_end = fileadmin/gal_nav/navend.gif
plugin.tx_gooffotoboek_pi1.img_index_on = fileadmin/gal_nav/index_on.gif
plugin.tx_gooffotoboek_pi1.path = fileadmin/gallerie
plugin.tx_gooffotoboek_pi1.img_thumb_off = fileadmin/gal_nav/thumb_off.gif
plugin.tx_gooffotoboek_pi1.img_slide_start = fileadmin/gal_nav/slidestart.gif
plugin.tx_gooffotoboek_pi1.img_slide_stop = fileadmin/gal_nav/slidestop.gif
plugin.tx_gooffotoboek_pi1.img_next_off = fileadmin/gal_nav/next_off.gif
plugin.tx_gooffotoboek_pi1.img_next_on = fileadmin/gal_nav/next_on.gif
plugin.tx_gooffotoboek_pi1.img_prev_on = fileadmin/gal_nav/prev_on.gif
plugin.tx_gooffotoboek_pi1.img_prev_off = fileadmin/gal_nav/prev_off.gif
plugin.tx_gooffotoboek_pi1.img_nav_start = fileadmin/gal_nav/navstart.gif
plugin.tx_gooffotoboek_pi1.slidetime = 6

plugin.tt_news.file.templateFile = news_template*.tmpl
plugin.tt_news.wrap1 = <font face="verdana" size="2" color="black"> | </font>
plugin.tt_news.wrap2 = <font face="verdana" size="1" color="black"> | </font>
plugin.tt_news.wrap3 = <font face="verdana" size="1" color="white"><strong> | </strong></font>
plugin.tt_news.color1 = #E7E7E7
plugin.tt_news.color2 = #F1F1F1
plugin.tt_news.color3 = #7A7A7A
plugin.tt_news.color4 = #FFFFFF
plugin.tt_news.pid_list = 24
plugin.tt_news.singlePid = 55
plugin.tt_news.archiveTypoLink.parameter = 54
plugin.tt_news.allowCaching = 1
plugin.tt_news.datetimeDaysToArchive = 0
plugin.tt_news.limit = 7
plugin.tt_news.latestLimit = 3
plugin.tt_news.catTextMode = 1
plugin.tt_news.catImageMode = 1
plugin.tx_gooffotoboek_pi1.templateFile = fileadmin/fotoboek.tpl
plugin.feadmin.fe_users.file.templateFile = fe_admin_fe_users*.tmpl
plugin.feadmin.fe_users.color2 = #999999
plugin.feadmin.fe_users.color3 = #333333
plugin.feadmin.fe_users.color1 = #CCCCCC
plugin.feadmin.fe_users.pid = 57
plugin.feadmin.fe_users.usergroupOverride = 1

plugin.alt.print { 
file.template = fileadmin/printversion_content.tmpl
file.stylesheet = style*.css
file.language = de
}

Mein Setup:

config.sys_language_uid = 1 
config.language = de 
config.locale_all = german

plugin.tt_news.displayList.date_stdWrap.strftime = %d. %B %Y 
plugin.tt_news.displaySingle.date_stdWrap.strftime = %A, %d. %B %Y 
plugin.tt_news.displayLatest.date_stdWrap.strftime = %d. %B %Y 
plugin.tt_news.displayAmenu.date_stdWrap.strftime = %A, %d. %B %Y 

seite = PAGE
seite {
   typeNum = 0
   bodyTag = <body bgColor = "#CA8484">
   stylesheet = fileadmin/style.css
   meta.AUTHOR = Daniel Diethelm
   meta.DESCRIPTION = Hier steht eine Beschreibung

   10 = TEMPLATE
   10.template = FILE
   10.template.file = fileadmin/vorlage.html
   10.workOnSubpart = DOKUMENT

   10.marks {

      # Datum einfügen:
      DATE = COA_INT
      DATE {
        10 = TEXT
        10.data = date:U
        10.strftime = %A, %d. %B %Y
        10.wrap = <div class="date"> | </div>
      }

      MENU_OBEN = HMENU
      MENU_OBEN.special = directory
      MENU_OBEN.special.value = 4
      MENU_OBEN.1 = TMENU
      MENU_OBEN.1.NO = 1
      MENU_OBEN.1.ATagParams = class="A"
      MENU_OBEN.1.NO.linkWrap = <div class="linkWeiss">&nbsp; | &nbsp;&#124; |*|&nbsp; | &nbsp;&#124; |*| &nbsp; |


      MENU_LINKS = HMENU
      MENU_LINKS.special = directory
      MENU_LINKS.special.value = 3
      MENU_LINKS.entryLevel = 1
      MENU_LINKS.1 = GMENU
      MENU_LINKS.1.NO = 1
      MENU_LINKS.1.NO {
         wrap = |<br>
         XY = 199, 24
         backColor = #F1F1F1
         10 = TEXT
         10.text.field = title
         10.fontColor = #7A7A7A
         10.fontFile = fileadmin/fonts/gulim.ttf
         10.fontSize = 10
         10.niceText = 5
         10.offset = 30, 17

         20 = IMAGE
         20.file = GIFBUILDER
         20.file {
         XY = 199, 1
         backColor = #E2E2E2
         20.offset = 8, 23
      }
      }

      MENU_LINKS.1.RO < .MENU_LINKS.1.NO
      MENU_LINKS.1.RO {
         tmp < .backColor
         backColor = #E2E2E2
         5 < .10
         5.fontColor < .tmp
         5.fontColor = #CDCDCD
         5.offset = 32,19
      }
      MENU_LINKS.1.CUR < .MENU_LINKS.1.RO
      MENU_LINKS.2 < .MENU_LINKS.1
      MENU_LINKS.2 {
         NO.backColor = #F1F1F1
         NO.10.fontColor = #7A7A7A

         NO.10.fontSize = 8
         NO.10.offset = 60, 17
         NO.20.niceText = 1
         NO.20.offset = 199, 23

         NO.20.file.backColor = #F1F1F1
         RO < .NO
         RO.backColor = #E2E2E2
         RO.5 >
         CUR < .RO
      }

      INHALT = CONTENT
      INHALT {
         table = tt_content
         select.orderBy = sorting
         select.where = colPos = 0
      }

      RECHTS = CONTENT
      RECHTS {
         table = tt_content
         select.orderBy = sorting
         select.where = colPos = 2
      }

PRINT = IMAGE 
PRINT { 
file = fileadmin/homepage_gestaltung/drucker.gif 
stdWrap.postUserFunc = tx_make_printlink 
stdWrap.postUserFunc.simulateStaticDocuments = 0 
stdWrap.postUserFunc.include_post_vars = 1 
stdWrap.postUserFunc.popup = 1 
stdWrap.postUserFunc.windowparams = ( 
resizable=yes,toolbar=no,scrollbars=yes,menubar=no,width=750,height=400 
) 
stdWrap.postUserFunc.windowname = printwindow 
}
  }
}

Was mache ich falsch?

webdeveloper ·

richtig.
es wird nicht klappen, wenn du einen marker-namen in deinem template verwendest, den es aber gar nicht auf der seite (html-template) gibt 😉