Re: [TYPO3-english] Typoscript in a file

2011-03-22 Thread Falko Trojahn
Am 14.03.2011 16:00, schrieb Tomasz Melcer: On 14.03.2011 14:06, Tomas Mrozek wrote: Main disadvantage is that you're not able to use T3editor with syntax coloring... ...while the advantage is that you use full scale text editor with syntax coloring plus much much more. ;-) Yes... as long

Re: [TYPO3-english] Typoscript in a file

2011-03-15 Thread Ivano Luberti
For the ones that were not able to understand how to use TS in a file instead that in the DB I just have found this: http://jasonlefkowitz.net/2007/01/easier_typoscri/ It suggests also a mixed way, using external editors through a Firefox add on, nut I think this has been already made old by

Re: [TYPO3-english] Typoscript in a file

2011-03-14 Thread Marcus 'biesior' Biesioroff
W dniu 11-03-13 19:13, Tomasz Melcer pisze: Hello, I am now writing all my TypoScript in a file, and my template record is just including this file. This makes me easier to coordinate with changes to html/css template, as I can keep everything in Subversion. Are there any disadvantages of this

Re: [TYPO3-english] Typoscript in a file

2011-03-14 Thread Josef Florian Glatz
Am 14.03.2011 10:34, schrieb Marcus 'biesior' Biesioroff: W dniu 11-03-13 19:13, Tomasz Melcer pisze: Hello, I am now writing all my TypoScript in a file, and my template record is just including this file. This makes me easier to coordinate with changes to html/css template, as I can keep

Re: [TYPO3-english] Typoscript in a file

2011-03-14 Thread Tomas Mrozek
Main disadvantage is that you're not able to use T3editor with syntax coloring... ...while the advantage is that you use full scale text editor with syntax coloring plus much much more. ;-) Tomas Mrozek ___ TYPO3-english mailing list

Re: [TYPO3-english] Typoscript in a file

2011-03-14 Thread Tomasz Melcer
On 14.03.2011 14:06, Tomas Mrozek wrote: Main disadvantage is that you're not able to use T3editor with syntax coloring... ...while the advantage is that you use full scale text editor with syntax coloring plus much much more. ;-) Yes... as long as you have syntax coloring scheme. I found

Re: [TYPO3-english] Typoscript in a file

2011-03-14 Thread Tomasz Melcer
On 13.03.2011 23:24, Ivano Luberti wrote: If I have well understood you cannot have different templates in different sub trees? Do you mean that you have several TS files one for each template record? My webpage isn't complicated enough for this to be required -- one 10kB TS file, including

Re: [TYPO3-english] Typoscript in a file

2011-03-14 Thread Tomasz Melcer
On 14.03.2011 17:36, Tomas Mrozek wrote: Yes... as long as you have syntax coloring scheme. I found nothing for vim. ... I got so much used to vim... Plus one more reason to create your own coloring scheme then. :-) I know there's one for PSPad and Notepad++ so you can use it as a basis for

[TYPO3-english] Typoscript in a file

2011-03-13 Thread Tomasz Melcer
Hello, I am now writing all my TypoScript in a file, and my template record is just including this file. This makes me easier to coordinate with changes to html/css template, as I can keep everything in Subversion. Are there any disadvantages of this method compared to keeping TS in the

Re: [TYPO3-english] Typoscript in a file

2011-03-13 Thread Jigal van Hemert
Hi, On 13-3-2011 19:13, Tomasz Melcer wrote: Are there any disadvantages of this method compared to keeping TS in the database? Two: - when saving the TS in a file the configuration cache is not automatically cleared (maybe with the new t3editor in 4.5 it is cleared?) - TS in a file is

Re: [TYPO3-english] Typoscript in a file

2011-03-13 Thread Ivano Luberti
If I have well understood you cannot have different templates in different sub trees? Do you mean that you have several TS files one for each template record? Il 13/03/2011 19.13, Tomasz Melcer ha scritto: Hello, I am now writing all my TypoScript in a file, and my template record is just

[TYPO3-english] typoscript to check file existence?

2010-04-13 Thread Martin Bless
What the best typoscript to check if a file exists? I'm looking for something like 501.jsfile.if.isTrue.cObject = TEXT 501.jsfile.if.isTrue.cObject.value = dummy 501.jsfile.if.isTrue.cObject.typolink.parameter =fileadmin/script.js 501.jsfile.if.isTrue.cObject.typolink.returnLast = url