TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-project-templavoila@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 27.02.2008, 11:45
Simon Tuck
Gast
 
Beiträge: n/a
Standard [TYPO3-templavoila] Getting a field value from the page in an FCE

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 27.02.2008, 11:57
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Getting a field value from the page in anFCE

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 27.02.2008, 14:37
Simon Tuck
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Getting a field value from the page in anFCE

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: TSFEage|title don't think this will work:
TSFEage|tx_templavoila_flex:field_column_1
So 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #4  
Alt 27.02.2008, 18:36
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Getting a field value from the page in anFCE

Hi!

Simon Tuck wrote:
> Yes, but I can't get a field value form inside the page flexform. I can
> do this: TSFEage|title don't think this will work:
> TSFEage|tx_templavoila_flex:field_column_1


Of 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #5  
Alt 28.02.2008, 03:24
Simon Tuck
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Getting a field value from the page in anFCE

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #6  
Alt 28.02.2008, 10:26
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Getting a field value from the page in anFCE

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

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


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:40 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77