Search Options
close
Search the following clips:
All Clips
Everyone's Clips
My Guides
Sign Up
Install
Learn More
Login
Typo3 - Datensatz auslesen
nouse4name
follow
0
1-13-2007 10:23 AM
203 views
tags:
typo3
,
datensatz
,
auslesen
Add a Comment
Login
to Comment. Not a member yet?
Sign up
Related Clips
10 Greatest Stolen Ideas In The Web
Finding Your Flickr Id
More clips from
nouse4name
A Story About Wolves
Oscmax: Error: 1054 unknown column shippin...
oscmax / oscommerce: bug: order details mi...
Today's Top Clips
Skeletal Cartoons
Apollo 14 astronaut claims aliens HAVE made contact
Kurt Vonnegut: How to Write with Style
6 Plants That Will Grow (Almost) Anywhere
More bad news for alarmists
Richest Americans See Their Income Share Grow
NASA: 70% of climate change due to Pacific oscillations, not CO2
Europe's worst genocide since Hitler
Good riddance
A lost world made by women
visit the
Top Clips page
View the Top Clips from
January 13, 2007
Embed This Clip In Your Site...
<div style="margin: 12px 0px; font-family: arial; color: #333333; background: #ffffff; border: solid 4px #e5e5e5; width: 100%; clear: left;"><div class="CM_CTB_Content_Wrap" style="margin: 0px; padding: 0px;background-color: #ffffff;"><div style="border-bottom: solid 1px #dcdcdc; white-space: nowrap; margin-bottom: 8px; background-color: #eeeeee ;background-image: url(http://www.clipmarks.com/images/source-bg.gif); background-repeat: repeat-x; height: 24px; line-height: 24px; vertical-align: middle; padding-bottom: 4px; color: #666666; font-size: 10px;" ><a href="http://clipmarks.com/clip-to-blog/" title="see clips that are hot right now"><img src="http://content.clipmarks.com/blog_embed/5c386465-84e8-4b10-adc5-883f75469441/ADAB71E3-80C1-4775-973C-0EC3923CE489/" alt="" width="19" height="19" border="0" style="vertical-align: middle; margin: 0px 4px; display: inline; border: none; float:none;" /></a>clipped from <a title="http://www.sk-typo3.de/Datensatz-auslesen.156.0.html" href="http://www.sk-typo3.de/Datensatz-auslesen.156.0.html" style="font-size: 11px;">www.sk-typo3.de</a></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.sk-typo3.de/Datensatz-auslesen.156.0.html"><H1 id="pagetitle">Datensatz auslesen</H1></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.sk-typo3.de/Datensatz-auslesen.156.0.html"><P>manchmal benötigt man Daten aus einer anderen Tabelle als tt_content. </P></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.sk-typo3.de/Datensatz-auslesen.156.0.html"><P>In diesem Beispiel soll bei einer Seite mit der Singleansicht der tt_news der Titel noch an anderer Stelle ausgegeben werden, also ausserhalb des News-Templates. Die ID des Datensatzes wird per GET-Parameter übergeben und steckt in der GET-Var tx_ttnews[tt_news]. </P></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.sk-typo3.de/Datensatz-auslesen.156.0.html"><P>Als Objekt wird RECORD verwendet, der entsprechende Schnipsel sieht so aus:</P></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.sk-typo3.de/Datensatz-auslesen.156.0.html"><DIV class="CodeBoxTitel">TypoScript</DIV></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.sk-typo3.de/Datensatz-auslesen.156.0.html"><DIV class="CodeBox"><PRE class="ts-hl"><SPAN>temp.newsTitel</SPAN><SPAN>=</SPAN><SPAN>COA</SPAN> <SPAN>temp.newsTitel</SPAN><SPAN>{</SPAN> <SPAN> </SPAN><SPAN>wrap</SPAN><SPAN>=</SPAN><SPAN>Das ist der Titel:|</SPAN> <SPAN> </SPAN><SPAN>10</SPAN><SPAN>=</SPAN><SPAN>RECORDS</SPAN> <SPAN> </SPAN><SPAN>10</SPAN><SPAN> </SPAN><SPAN>{</SPAN> <SPAN> # id des template-records</SPAN> <SPAN> </SPAN><SPAN>source</SPAN><SPAN> </SPAN><SPAN>=</SPAN><SPAN> </SPAN><SPAN>{GPvar:tx_ttnews|tt_news}</SPAN> <SPAN> </SPAN><SPAN>source.insertData</SPAN><SPAN> </SPAN><SPAN>=</SPAN><SPAN> </SPAN><SPAN>1</SPAN> <SPAN> </SPAN><SPAN>tables</SPAN><SPAN> </SPAN><SPAN>=</SPAN><SPAN> </SPAN><SPAN>tt_news</SPAN> <SPAN> </SPAN><SPAN>conf.tt_news</SPAN><SPAN> </SPAN><SPAN>></SPAN> <SPAN> </SPAN><SPAN>conf.tt_news</SPAN><SPAN> </SPAN><SPAN>=</SPAN><SPAN> </SPAN><SPAN>TEXT</SPAN> <SPAN> </SPAN><SPAN>conf.tt_news.field</SPAN><SPAN>=</SPAN><SPAN>title</SPAN> <SPAN> </SPAN><SPAN>}</SPAN> <SPAN>}</SPAN></PRE></DIV></blockquote></div><div style="margin: 0px 6px 6px 4px;"><table style="font-size: 11px;border-spacing: 0px;padding: 0px;" cellpadding="0" cellspacing="0" width="100%"><tr><td style="background:transparent;border-width:0px;padding:0px;"> </td><td align="right" style="background:transparent;border-width:0px;padding:0px;width:107px" width="107"><a href="http://clipmarks.com/share/ADAB71E3-80C1-4775-973C-0EC3923CE489/blog/" title="blog or email this clip"><img src="http://content8.clipmarks.com/images/c2b-foot.png" border="0" alt="blog it" width="107" height="17" style="border-width:0px;padding:0px;margin:0px;" /></a></td></tr></table></div></div>
Clipmarks
Home
New Clips
Top Clips
Dashboard
Popular Topics
News
Life
Science
Technology
Entertainment
Get Started
Sign Up
Install Clipping Tool
How Clipping Works
Clip-to-Blog™
ClipSearch
Tools and Resources
FAQ
ClipWeek
Top Clippers
Top Tags
Site Map
About Clipmarks
About Us
Contact
Blog
Copyright
Privacy
EULA
OK