|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hiya,
Is there a way to reference a field value in the page record from within an FCE? I know I can reference parent record values for an fce with register:tx_templavoila_pi1.parentRec.xxx but I can't seem to find a way to get anything from the page. Cheers, Simon _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#2
|
|||
|
|||
|
Hi!
Simon Tuck wrote: > Is there a way to reference a field value in the page record from within > an FCE? I know I can reference parent record values for an fce with > register:tx_templavoila_pi1.parentRec.xxx but I can't seem to find a way > to get anything from the page. You can get values of all global vars using TS. TSFE has a reference to page record (in "page" variable). Or you can get a page uid from "pid" field of parent record and select page fields from db... -- Dmitry Dulepov TYPO3 core team Web: http://typo3bloke.net/ Skype: callto:liels_bugs "Nothing is impossible. There are only limits to our knowledge" _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#3
|
|||
|
|||
|
Hiya!
Dmitry Dulepov [typo3] wrote: > > You can get values of all global vars using TS. TSFE has a reference to > page record (in "page" variable). > > Or you can get a page uid from "pid" field of parent record and select > page fields from db... > Yes, but I can't get a field value form inside the page flexform. I can do this: TSFE age|title don't think this will work: TSFE age|tx_templavoila_flex:field_column_1So I need to insert a new field to the pages table and add the field to 'addRootLineFields'. Cheers, Simon _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#4
|
|||
|
|||
|
Hi!
Simon Tuck wrote: > Yes, but I can't get a field value form inside the page flexform. I can > do this: TSFE age|title don't think this will work: > TSFE age|tx_templavoila_flex:field_column_1Of course not. It is not possible to get field from flexform through TS. TYPO3 does not support it. -- Dmitry Dulepov TYPO3 core team Web: http://typo3bloke.net/ Skype: callto:liels_bugs "Nothing is impossible. There are only limits to our knowledge" _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#5
|
|||
|
|||
|
Hiya!
Dmitry Dulepov [typo3] wrote: > > Of course not. It is not possible to get field from flexform through TS. > TYPO3 does not support it. > I know. To be honest a more direct link between TV and TS would be really helpful. I'm aware that it's not on the menu at the moment, but it would be a great feature. One of the most frustrating things about TV is the disconnect between the traditional TS approach and the Information stored in the flexform fields. I've become fond of TV, as it enables me to really customise the backend elements, but the flip-side is that some stuff which is pretty simple in TS is virtually impossible in a datastructure. For example, sliding a content element or grabbing a value from a different content element or page etc. So anyway, just my 2 cents... Cheers, Simon _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#6
|
|||
|
|||
|
Hi!
Simon Tuck wrote: > I know. To be honest a more direct link between TV and TS would be > really helpful. I'm aware that it's not on the menu at the moment, but > it would be a great feature. One of the most frustrating things about TV > is the disconnect between the traditional TS approach and the > Information stored in the flexform fields. I've become fond of TV, as it > enables me to really customise the backend elements, but the flip-side > is that some stuff which is pretty simple in TS is virtually impossible > in a datastructure. For example, sliding a content element or grabbing a > value from a different content element or page etc. Well, I would be happy to help and resolve it but this is not really a TV issue. TV does not process TS. And flexforms are not specific to TV because any extension can make flexform and use it. If such support is ever built, it will be in TYPO3 core. I would search for corresponding feature request (and post if it does not exist) if I were you. I understand your feelings. I struggled with the same problem once or twice too. -- Dmitry Dulepov TYPO3 core team Web: http://typo3bloke.net/ Skype: callto:liels_bugs "Nothing is impossible. There are only limits to our knowledge" _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3] Templavoila: clearing current field mapping | Darko Jr. Gonzalez | typo3-english@lists.netfielders.de | 1 | 29.11.2007 09:03 |
| [TYPO3-templavoila] put title in field | Felix Natter | typo3-project-templavoila@lists.netfielders.de | 1 | 25.07.2007 07:24 |
| [TYPO3-templavoila] default element field value. | Asbjørn Morell | typo3-project-templavoila@lists.netfielders.de | 4 | 07.05.2007 13:45 |
| [TYPO3] tt_news: how to give multiple values in 'General RecordStorage page' field? | Bing Du | typo3-english@lists.netfielders.de | 0 | 14.03.2007 17:50 |
| [TYPO3-templavoila] Bug in page module with field of<eType>TypoScriptObject</eType> | Mathias Behrle | typo3-project-templavoila@lists.netfielders.de | 4 | 18.02.2007 22:00 |