Scenic Living | living with a view on life

TAG | content

Here a easy typoscript tip on how to get static content (either a logo, footertext or something else that will be visible on every page of your webbrowser):

[TS begin]

lib.logo = CONTENT
lib.logo {
table = tt_content
select.pidInList = X /* fill in here the ID’s you want here */
select.where = colPos = 0 /* if needed… */
}

[TS end]

And here the same code, ready to copy – paste:

[TS begin]

lib.myObject = CONTENT
lib.myObject {
table = tt_content
select.pidInList =
select.where = colPos =
select.languageField = sys_language_uid
}

[TS end]

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • eKudos
  • MisterWong
  • Reddit
  • Technorati

, , , , , ,

Find it!

Theme Design by devolux.org