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 07.08.2008, 10:58
Martin Ficzel
Gast
 
Beiträge: n/a
Standard [TYPO3-templavoila] Datastructures in external Files

Is there a way to handle the datastructure definitions in external files. The
datastructure-xml often becomes quite complex and editing it with the internal editor is
not funny at all.

Currently i work with external ds-xml files and eclipse/subversion but i have to paste the
ds code into the record each time i change anything.

Does anyone know a better way? Regards Martin
_______________________________________________
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 07.08.2008, 11:13
Joerg Wagner
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Datastructures in external Files

Not possible to include external XML. This has been asked many times.

Cheers,
Jörg.


Martin Ficzel schrieb:
> Is there a way to handle the datastructure definitions in external
> files. The datastructure-xml often becomes quite complex and editing it
> with the internal editor is not funny at all.
>
> Currently i work with external ds-xml files and eclipse/subversion but i
> have to paste the ds code into the record each time i change anything.
>
> Does anyone know a better way? Regards Martin

_______________________________________________
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 07.08.2008, 15:07
Daniel Doesburg [netcreators]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Datastructures in external Files

Hi guys,

Firefox extension "It's all text" with notepad++ or pspad

Daniel

Joerg Wagner schreef:
> Not possible to include external XML. This has been asked many times.
>
> Cheers,
> Jörg.
>
>
> Martin Ficzel schrieb:
>> Is there a way to handle the datastructure definitions in external
>> files. The datastructure-xml often becomes quite complex and editing
>> it with the internal editor is not funny at all.
>>
>> Currently i work with external ds-xml files and eclipse/subversion but
>> i have to paste the ds code into the record each time i change anything.
>>
>> Does anyone know a better way? Regards Martin

_______________________________________________
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 08.08.2008, 09:53
Martin Ficzel
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Datastructures in external Files

Thanks for the answers.

The FF-Extension looks nice but cannot compete with eclipse/subversion. I will think about
creating a patch for external datastructures.

Regards Martin
_______________________________________________
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 08.08.2008, 10:35
Xavier Perseguers
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Datastructures in external Files

Hi Martin,

> The FF-Extension looks nice but cannot compete with eclipse/subversion.
> I will think about creating a patch for external datastructures.


Would be nice.

--
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html
_______________________________________________
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 13.08.2008, 08:17
Jan Bednarik
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Datastructures in external Files

Hi,

> Not possible to include external XML. This has been asked many times.


however, the source codes look like they could handle it. Look at this
piece of code:

$srcPointer = $row['tx_templavoila_ds'];
if (t3lib_div::testInt($srcPointer)) { // If integer, then its a
record we will look up:
$DSrec =
$GLOBALS['TSFE']->sys_page->checkRecord('tx_templavoila_datastructure',
$srcPointer);
$DS = t3lib_div::xml2array($DSrec['dataprot']);
} else { // Otherwise expect it to be a file:
$file = t3lib_div::getFileAbsFileName($srcPointer);
if ($file && @is_file($file)) {
$DS = t3lib_div::xml2array(t3lib_div::getUrl($file));
}
}

the problem is, that TCA defines it as database-relation (select). So if
you'd make an extension that would change the field into "file" type, it
may just work.

Just guessing

--
Jan Bednarik
www.bednarik.org - web about Typo3 in czech
_______________________________________________
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!
  #7  
Alt 13.08.2008, 08:39
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Datastructures in external Files

Hi!

Jan Bednarik wrote:
> however, the source codes look like they could handle it. Look at this
> piece of code:
>
> $srcPointer = $row['tx_templavoila_ds'];
> if (t3lib_div::testInt($srcPointer)) { // If integer, then
> its a record we will look up:
> $DSrec =
> $GLOBALS['TSFE']->sys_page->checkRecord('tx_templavoila_datastructure',
> $srcPointer);
> $DS = t3lib_div::xml2array($DSrec['dataprot']);
> } else { // Otherwise expect it to be a file:
> $file = t3lib_div::getFileAbsFileName($srcPointer);
> if ($file && @is_file($file)) {
> $DS = t3lib_div::xml2array(t3lib_div::getUrl($file));
> }
> }
>
> the problem is, that TCA defines it as database-relation (select). So if
> you'd make an extension that would change the field into "file" type, it
> may just work.


This is reserved purely for static data structures (use in extensions). Page and FCE do not support it.

--
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extens...velopment/book
In the blog: http://typo3bloke.net/post-details/t...ng_in_eclipse/
_______________________________________________
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!
  #8  
Alt 13.08.2008, 20:29
Jan Bednarik
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Datastructures in external Files

> This is reserved purely for static data structures (use in extensions).
> Page and FCE do not support it.


I see. Anyway, I'd appriciate it too.

--
Jan Bednarik
www.bednarik.org - web about Typo3 in czech
_______________________________________________
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!
  #9  
Alt 13.08.2008, 20:41
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Datastructures in external Files

Hi!

Jan Bednarik wrote:
>> This is reserved purely for static data structures (use in
>> extensions). Page and FCE do not support it.

>
> I see. Anyway, I'd appriciate it too.


Well, me too I'd love to keep DS/TO external.

It is not only TV question, TYPO3 Core must support DSes in the external files. So it is a little more work than it seems.

--
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extens...velopment/book
In the blog: http://typo3bloke.net/post-details/t...ng_in_eclipse/
_______________________________________________
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] Problems mapping XML-files as TV-templates Franz Koch typo3-project-templavoila@lists.netfielders.de 3 26.07.2008 12:17
[TYPO3-templavoila] Indexing External Documents Nick Weisser typo3-project-templavoila@lists.netfielders.de 0 19.05.2008 14:56
[TYPO3-templavoila] Save TV Datastructures in external files Simon Tuck typo3-project-templavoila@lists.netfielders.de 3 26.02.2008 16:29
[TYPO3-templavoila] how to include files that require tv mapping Cate & Peter typo3-project-templavoila@lists.netfielders.de 1 13.11.2007 10:56
[TYPO3] Indexing external files with crawler Jan HanÄiÄ typo3-english@lists.netfielders.de 4 06.08.2007 19:31


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:21 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2008, 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