Found it: lib.baggrund = COA lib.baggrund { 10= TEXT 10.data = page:media <-- THIS 10.wrap = <td class="right_content" style="background-image: url (fileadmin/right_backgrounds/|); background-repeat: no-repeat;"></td> }
Best regards Kristian [EMAIL PROTECTED] Den 07/09/2007 kl. 12.29 skrev Kristian Wind: > Hello! > > I think that what I'm looking for is the "name" for the "Files" field > to do something like: > > 10 = TEXT > 10.field = header > > - so I can parse it into my template. > > Anyone got an ide - og am I way off...? > > > Best regards, > Kristian > > [EMAIL PROTECTED] > > > > Den 07/09/2007 kl. 10.29 skrev Kristian Wind: > >> Hello again! >> >> It was copied wrong! The code I'm using is: >> >> lib.baggrund = IMG_RESOURCE >> lib.baggrund { >> file.import = fileadmin/right_backgrounds/ >> file.import.field = media >> file.import.listNum = 0 >> stdWrap.wrap = <td class="right_content" style="background-image: url >> (fileadmin/backgrounds/|); background-repeat: no-repeat;"></td> >> } >> lib. baggrund < temp. baggrund >> >> >> Sorry! >> >> Best regards, >> Kristian >> >> [EMAIL PROTECTED] >> >> >> >> Den 07/09/2007 kl. 10.08 skrev Kristian Wind: >> >>> Hello Christopher! >>> >>> Can you give an example? I am missing a link of some sort. >>> >>> Could this be a way? >>> >>> lib.baggrund = IMG_RESOURCE >>> lib.baggrund { >>> file.import = fileadmin/right_backgrounds/ >>> file.import.field = media >>> file.import.listNum = 0 >>> stdWrap.wrap = <td class="right_content" style="background-image: >>> url >>> (fileadmin/backgrounds/|); background-repeat: no-repeat;"></td> >>> } >>> lib.bild_b1 < temp.bild_b1 >>> >>> This returns: >>> >>> <td class="right_content" style="background-image: url(fileadmin/ >>> backgrounds/); background-repeat: no-repeat;"></td> >>> >>> I have added a picture to the "Files:" field in the page >>> properties... >>> >>> >>> Best regards, >>> Kristian >>> >>> [EMAIL PROTECTED] >>> >>> >>> >>> Den 07/09/2007 kl. 9.34 skrev Christopher Torgalson: >>> >>>> Hi, >>>> >>>> On 9/7/07, Kristian Wind <[EMAIL PROTECTED]> wrote: >>>>> Hello everyone! >>>>> >>>>> This has been covered before, but there was no solution, as far >>>>> as I >>>>> could see. >>>>> >>>>> What I need is to map the field "Files:" from the advanced page >>>>> properties into a backend style. Like this: >>>>> >>>>> <div id="example" style="background-image: url(fileadmin/ >>>>> backgrounds/ >>>>> PICTURE_GOES_HERE); background-repeat: no-repeat;"></div> >>>>> >>>>> How do I do that? >>>> >>>> >>>> Simple: use IMG_RESOURCE instead of IMAGE--IMG_RESOURCE returns the >>>> file location, not a complete img element. If you're interested in >>>> using TS to generate CSS on-the-fly, have a look at the extension >>>> bh_firtools. >>>> >>>> -- >>>> Christopher Torgalson >>>> http://www.typo3apprentice.com/ >>>> _______________________________________________ >>>> TYPO3-english mailing list >>>> TYPO3-english@lists.netfielders.de >>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english >>> >>> _______________________________________________ >>> TYPO3-english mailing list >>> TYPO3-english@lists.netfielders.de >>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english >> >> _______________________________________________ >> TYPO3-english mailing list >> TYPO3-english@lists.netfielders.de >> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english > > _______________________________________________ > TYPO3-english mailing list > TYPO3-english@lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english