DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Automatic Pagetitle

06.07.2006
| 4671 views |
  • submit to reddit
        Renders the current Pagetitle as a Gif File. Put it in your Template above the content.


# PAGETITLE

temp.title = IMAGE
temp.title.wrap = <h1>|</h1>
temp.title.file = GIFBUILDER
temp.title.file {
  XY = [10.w]+4, 23
  backColor = #F6F6F6
  10 = TEXT
  10 {
   text.data = page:subtitle // page:title
   fontSize = 18
   fontFile = fileadmin/template/fonts/THESASBP.TTF
   fontColor = #005277
   offset = 0,16
   align = left
   niceText = 1
  }
}

page.10 < temp.title