|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hi Joey,
It seems that i cant reply to the mailinglist at the moment. I think i have found out where to change my TS, but i cant get it to work. I have done the following: tt_content.shortcut.20.0.source.field > tt_content.shortcut.20.0.source.data = GPVar:uid tt_content.shortcut.20.0.tables = tt_content This should (as i see it) show the record of tt_content with the uid taken from the var uid in the url. But it dosent seem to work ![]() /Sune _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#2
|
|||
|
|||
|
> It seems that i cant reply to the mailinglist at the moment.
> I think i have found out where to change my TS, but i cant > get it to work. I have done the following: > > tt_content.shortcut.20.0.source.field > > tt_content.shortcut.20.0.source.data = GPVar:uid > tt_content.shortcut.20.0.tables = tt_content > > This should (as i see it) show the record of tt_content > with the uid taken from the var uid in the url. But it dosent > seem to work ![]() Well it does. This is my code and it works: tt_content.shortcut.20.0.source.field > tt_content.shortcut.20.0.source.data = GPvar:test You don't have to add the tables since the default is already tt_content,blah,blubb. So a single number without a "whatever_" prefix will always be taken from tt_content. But did you notice the difference? GPVar != GPvar HTH Joey -- Wenn man keine Ahnung hat: Einfach mal Fresse halten! (If you have no clues: simply shut your gob sometimes!) Dieter Nuhr, German comedian openBC/Xing: http://www.cybercraft.de T3 cookbook: http://www.typo3experts.com _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#3
|
|||
|
|||
|
Hi Joey,
Yes it works after clearin cache ![]() Thanks alot! But now i have a new issue: I need to show the record in a different "TemplaVoilÃ* Template Object" still using the same " TemplaVoilÃ* Data Structure". Any ideas how to do this? BR Sune >>> JoH asenau<info (AT) cybercraft (DOT) de> 07-06-2007 11:36 >>> > It seems that i cant reply to the mailinglist at the moment. > I think i have found out where to change my TS, but i cant > get it to work. I have done the following: > > tt_content.shortcut.20.0.source.field > > tt_content.shortcut.20.0.source.data = GPVar:uid > tt_content.shortcut.20.0.tables = tt_content > > This should (as i see it) show the record of tt_content > with the uid taken from the var uid in the url. But it dosent > seem to work ![]() Well it does. This is my code and it works: tt_content.shortcut.20.0.source.field > tt_content.shortcut.20.0.source.data = GPvar:test You don't have to add the tables since the default is already tt_content,blah,blubb. So a single number without a "whatever_" prefix will always be taken from tt_content. But did you notice the difference? GPVar != GPvar HTH Joey -- Wenn man keine Ahnung hat: Einfach mal Fresse halten! (If you have no clues: simply shut your gob sometimes!) Dieter Nuhr, German comedian openBC/Xing: http://www.cybercraft.de T3 cookbook: http://www.typo3experts.com _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3] Insert single record on page | Sune Brodersen | typo3-english@lists.netfielders.de | 6 | 07.06.2007 12:57 |
| [TYPO3] Insert record or Plugin SingleView | Leo Barrientos C. | typo3-english@lists.netfielders.de | 0 | 04.04.2007 11:05 |
| [TYPO3-shop] tt_products insert record not working anymore | Sscha Falger | typo3-project-tt-products@lists.netfielders.de | 2 | 17.03.2007 00:20 |
| [TYPO3] FlexForms insert record | Michael Paffrath | typo3-english@lists.netfielders.de | 0 | 20.02.2007 15:45 |
| [TYPO3-german] FlexForms insert record | Michael Paffrath | typo3-german@lists.netfielders.de | 0 | 20.02.2007 15:24 |