donators

n@work Internet Informationssysteme GmbHYour ad here

sponsors

Advertising

Multiusage of contents

By: Thomas

10.01.06 16:33 Age: 5 yrs

I want to insert one content element on all pages of my site. How can I handle this?

First of all create a new page or sysfolder where you can put the content element in. Create the content element and write down (or memorize) the UID of it and the PID of the page or sysfolder you created it in. Then add the following TypoScript into your setup field of your pagetemplate:

  1.  
  2. marks.MYMARKER = CONTENT
  3. marks.MYMARKER {
  4.   table = tt_content
  5.   select.uidInList = UID of the content element
  6.   select.pidInList = PID of the page the content element is placed on
  7. }
  8.  

Found a mistake?

If you found a mistake or if you have a good tip or suggestion, please contact me at thomas(at)typo3-unleashed.net. I will check it and correct the entry or insert the new one.

Thanks in advance for your help.