Hi,
What did Steve Jobs say at the Macworld keynote? "Every once in a while, a revolutionary product comes along that changes everything".
Well, that might not be the right words for what we have here but anyway. We finished a first beta version of the TypoScript editor for TYPO3 I mentioned some days ago! The feedback was so fantastic and we where very motivated to create something usable as soon as possible. Now we have it!
Here is the official announcement:
Hello world!
a few days ago, Thomas Hempel and I started to work on a fully integrated TypoScript-Editor with syntax-highlighting.
We based it on CodePress (codepress.org), a free (LGPL) javascript-based online-editor with syntax-highlighting for PHP, HTML, CSS an some more languages.
Today we can present our very first beta. The main features till now are:
As this is a beta only, there are still some issues.
So till now the AJAX save only works in template module. There are also some other issues with the list modules that may cause some errors.
Furthermore we need the option to deactivate it like you can do it with the RTE in content elements.
Some more issues sleep inside for sure. So we need your help: Lets us know, what you like and what is missing or can be solved in a better way!
You can find the needed files, the patch and a screencast how to apply it on http://www.typo3-unleashed.net/codepress We looking forward to get your feedback. Please send us a mail with your comments at codepress(at)typo3-unleashed.net.
Greets
Thomas and Tobias
We have packed and prepared several files. First of all we have the patch package which consists of patch-file and the codepress sources. Put them into your TYPO3 source directoy, patch it and uncompress the source archive.
Please note that the patch was created against the latest TYPO3 trunk. If you don't have a subversion checkout you can download a complete patched TYPO3 source package. Just use this for your installation.
Because we don't have any documentation yet, we created two small screenvideos. They are without any comments or sound (sorry! next time!) but show you the installation with the patch files and give you some impressions from the backend.
Now it's your turn! Test it and give us feedback! Help us to bring this baby into the core in version 4.2!
Greets,
Thomas
#2: Thomas commented on Sunday, 13-05-07 22:47
Hi Ben,
yes we will try to bring into the core for version 4.2! Because I am in the core team, we habe some contact yes. ;-) I already talked to some people and most of them like the feature. So i think it's onyl a technical thing to integrate it well into the core.
Greets,
Thomas
#3: mathias commented on Sunday, 13-05-07 23:02
Hey Thomas,
cool thing! Maybe this can be also used for editing php/html files in the ext. manager.
thx 4 that.
#4: Björn commented on Sunday, 13-05-07 23:40
BTW: We're waiting for an installer update to choose the charset before TYPO3 is setting up the DB (ISO-8859-1 -> UTF-8). Will this be part of 4.2 or will it be available with the completly rewritten installer in 4.5?
#5: Thomas commented on Monday, 14-05-07 05:53
@Björn: How is this related to the topic? And who said that the new installer won't be available in 4.2? ;-)
Greets,
Thomas
#6: Björn commented on Monday, 14-05-07 08:51
Well, you mentioned 4.2 ... ;)
I love have this two new feature in the upcomming version of TYPO3 which would really ease my life as a developer :)
#7: Pavel commented on Monday, 14-05-07 09:50
Great work!
Q: Is there any "Go to line" function/dialog?
#8: Thomas commented on Monday, 14-05-07 09:52
Hi Pavel,
not yet. But it's a neat idea. I'm not sure if this very easy to make because of the underlying technique but we will see.
Greets,
Thomas
#9: Ingo commented on Monday, 14-05-07 12:43
how about making it available as an extension using xclasses so many more not so diff and patch savy people can try it out and you get even more feadback?!
#10: Thomas commented on Monday, 14-05-07 12:49
We offer a complete patched source-package. That's really easy to install I think. :-)
The point is, that we won't do xclass things because it doesn't make development easier and it has no other advantages then an easier installation.
Greets,
Thomas
#12: Mario Rimann commented on Monday, 14-05-07 19:31
This looks very nice! I hope to see this in one of the upcoming TYPO3 releases!
Well done guys!
#14: Fabian commented on Monday, 14-05-07 21:43
Looks very nice as it is now already and if you can get some sort of IntelliSense auto-completion in there it would help so many people who are still learning TYPO3.
#15: Peter Klein commented on Sunday, 20-05-07 19:32
You should rewrite the linenumbering function, so that it doesn't use an image.
If you do it like an ordered list, then line numbering would also work when you turn word wrap on. It should be possible to do it using CSS only, with the help of the content/counter CSS properties.
I did some experiments on that a while back..
#16: Thomas commented on Tuesday, 22-05-07 09:03
Hi,
@Fabian: I don't think that will happen in near future.
@Peter: Yes! We're working on that.
Greets,
Thomas
#17: Arthur commented on Thursday, 24-05-07 15:51
Hi T'n'T, installation of the patch made my backend crash (esp. t3lib dir) , reinstalling your patched version worked fine. Have to reproduce it if you need a complete documentation; but to be honest: I'm glad my setup works again ;-)
"Go To Line"-function would help a looooooooot! An having a "update" button in full screen mode would be very nice, too (or a keyboard shortcut to get back to the regular screen).
But first of all: thanks for your work, also as a core team member; where would be our beloved CMS without your enthusiasm!?
Greetings from a disgustingly sunny Vienna!
Arthur
#18: Peter Klein commented on Sunday, 27-05-07 12:12
Maybe you should take a look at Bernhard Kraft's extension:
http://think-open.org/kraftb/index/T3X_kb_tsedit_htmlarea-0_0_0.t3x
Which adds code highlighting in HTMLArea, without patching core files.
#19: Karl Schlicker commented on Wednesday, 30-05-07 10:48
Hi,
i have installed this great TypoScript-Editor on one website and all the thinks look's fine.
But then, i have installed it on an website with an big root template, more then 1500 lines, and now i have funny effects in the editor. The script is cut - it shows just 150-200 lines...., the other lines not shown. But the template information show still 1957 lines ??
If i paste the original lines in the editor field, the line numbering starts new, if the code reach the line 1500. Update works fine, the template information shows the 1957 lines, but if i open the setup, the editor cut the lines....
I use the Typo3 Version 4.1.1 source and try this more then three times, reinstall the original source, patch the source and so one...
Any ideas?
#20: Arthur commented on Saturday, 02-06-07 21:52
Sorry guys,
mußte von v4.2-dev wieder auf 4.1.1 zurücksteigen, da folgendes Problem aufgetaucht ist: aus welchen Gründen auch immer hat das backend nach dem Patchen in den 'Constants'-Feldern immer PHP-Code ausgegeben, der sich weder entfernen noch überschreiben ließ. Das hatte zur Folge, daß ich auch keine Konstanten mehr eintragen konnte. Dazu wurde in diversen Auswahlfeldern (Include static, Include static (from extensions), Include basis template und Template on next level) 'xx' eingetragen, Verhalten wie beim PHP-Code.
Zuerst dachte ich, es würde sih um einen Fehler in der MySQL-Datenbank handeln. Allerdings hat ein Restore nichts gebracht. Außerdem verwende ich die Source-Files in Kombination mit mehreren TYPO3-Installationen als shared source, und alle Domains greifen auf diese sources, aber mit jeweils eigenen MySQL-Datenbanken zu.
Ich habe TYPO3- und MySQL-Dumps gemacht und auf einem lokalen System mit einer 'handelsüblichen' - also ungepatchten - 4.1.1-Installation nachgebaut: keine weiteren Probleme. Woraus ich schließe, daß die Dumps OK sind.
Dann ist mir noch etwas aufgefallen:
Ich habe die ext. PMK Textarea Widget (http://typo3.org/fileadmin/ter/p/m/pmktextarea_0.1.2.t3x) von Peter Klein zum Patch dazu installiert. Diese ext. hat codepress im Backend ersetzt und damit waren die 'Constants'-Felder auch wieder beschreibbar. Und nach einer Deinstallation von PMK schicke ich Euch Textarea Widget, die dann wieder codepress zum Vorschein brachte, war der Inhalt der Konstanten erhalten geblieben.
Wenn Ihr an Screenshots Interesse habt, bitte sagen, dann
schicke ich Euch welche zu (bitte Adresse angeben).
Bis dahin!
Arthur
#22: fei commented on Monday, 02-07-07 19:07
hi
I have a question i have download TYPO3 source package. Where should i put the typo3_src_cp file?
It mention about source dir, where is the source dir?
regard fei
#23: Thomas commented on Monday, 02-07-07 19:22
Hi Fei,
you have to replace the complete source directory (typo3_src-4.1.1 for example) with the content of the typo3_src_cp package.
Greets,
Thomas
#24: Marco commented on Thursday, 06-09-07 11:44
Hi Thomas.
Ich habe ein Prob mit dem Package. Möchte es in mein TYPO3 einfügen weiss aber nicht wie??? Habe ein Microsoftsystem und TYPO3 in der Installerversion draufgespielt. Hat auch alles super geklappt auch die Umstellung auf deutsch. Jetzt würde ich gerne das package von hier noch draufhaben.
Vielen Dank im voraus.
#25: Oliver Leitner commented on Thursday, 06-09-07 12:25
Hi Thomas
Ich habe ein Problem bei der Darstellung des Typoscript codes...
Ich habe im Root Template relativ viele Einträge stehen, aber der Typoscript Editor kommt nicht bis zum Ende des Typoscript codes, er bricht mir den Code ab, und ich komme mit dem Cursor nicht weiter runter.
Fehler zum Anschauen unter:
http://www.neverslair-blog.net/fileadmin/images/tscript_error.jpg
#26: Thomas commented on Thursday, 06-09-07 13:31
@Marco: You have to patch the core source as decrsibed. But if you can wait some days you can try a complete new testpackage. So stay tuned...
@Oliver: This is a known problem in that version. This is fixed in the new version which will be available as first testimpression soon.
Greets,
Thomas
#27: Marco commented on Thursday, 06-09-07 14:49
Vielen Dank für die schnelle Antwort. Verstehe ich es richtig , dass es dann auch eine Version gibt die ich in meinem (Windoof)installieren kann?
Grüße Marco
#28: Thomas commented on Thursday, 06-09-07 18:53
@Marco: Yes! There will be a full Windows compatible testingpackage.
Greets,
Thomas
#29: Marco commented on Friday, 07-09-07 08:42
Das ist großartig. Darauf freue ich mich jetzt schon und werde erwartungsvoll hier warten. Ich finde es super was hier gemacht wird und wünsche euch bzw. dir viel Glück und Spass bei der Arbeit, damit wir weiter mit den Sachen arbeiten und vor allem sie testen können.
#30: Stefan commented on Friday, 07-09-07 13:17
Hi, der Editor ist echt Klasse, leider habe ich aber den Editor nicht im textfeld beim editieren eines templavoila DS ("XML der Datenstruktur").
Weiß jemand wie man den dafür auch noch aktiviert?!
greets Stefan
#31: Thomas commented on Friday, 07-09-07 18:37
@Stefan: The editor does only work for TypoScript yet. We think about other applications but nothing is decided at the moment.
Greets,
Thomas
P.S.: At all. This is an english blog so please write comments in english, too. So everybody understands them. :-)
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Apr | Jun » | |||||
| 1 | 02 | 3 | 4 | 5 | 6 | |
| 7 | 08 | 09 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 | |||
If you want to have the ultimate example of what you just wrote, just look at the comments to ANY ar...
You asked, I'll answer: I'm using MMS every day - passively. Via MMS I'm getting important email...
full ack from me!
You?re absolutely 100% right!
Do not care listening to those people, and your life will be a lot more convenient. People just lost...
#1: ben van \'t ende commented on Sunday, 13-05-07 22:36
Looks very impressive. Good you have some video's available. Are you trying to get this into the core? Did you have contact with core devs about this?
Great Work!
gRTz
ben