Archive for the 'Tipps und Tricks' Category

Virtuelle Ordner in Thunderbird

Was viele nicht wissen, dass man in Thunderbird eine gemachte Suche über die Nachrichten als Virtuellen Ordner abspeichern und benutzen kann. Wer sich ein wenig mit Datenbank auskennt, kennt dieses Konzept als “View”.
Der Vorteil ist, dass man bei vielen E-Mail-Konten und vielen verschiedenen Ordnern, in die die E-Mails einsortiert sind nicht jedes mal alle einzelnen Ordner abklappern muss, sondern alles (den Suchkriterien entsprechend) auf einen Blick hat.

Um einen Virtuellen Ordner zu erstellen, müssen wir in Thunderbird zu erst nach E-Mails suchen. Ich erkläre hier Schritt für Schritt wie man sich einen virtuellen Ordner mit allen ungelesenen Nachrichten erstellt.

Continue reading ‘Virtuelle Ordner in Thunderbird’

Thunderbird 3 ist fertig (Zusatz)

Statistik-Ansicht in TB 3.0

Statistik-Ansicht in TB 3.0

Nach den letzten Beta-Versionen ist nun, wie golem.de mitteilt, seit Dienstagabend (08.12.) Thunderbird in der Version 3 fertig und steht zum Herunterladen bereit (wird aber diesmal interessanterweise, obwohl es ein Versionssprung ist, auch via Hilfe > Nach Updates suchen verteilt). Die neue Version wartet mit einer komplett überarbeiteten Oberfläche auf, welche benutzerfreundlicher und übersichtlicher sein soll. Außerdem wurden, wie bei Firefox schon vor einiger Zeit, Registerkarten (Tabs) eingeführt.

Auf Wunsch soll man auch zur alten Thunderbird 2-Ansicht zurückkehren können. Wer auf die Version 3 aktualisieren möchte, muss sich Thunderbird 3 herunterladen und installieren. Allerdings empfehle ich vorher dringend ein BackUp mit der neuesten Version von MozBackUp, um Datenverlust zu vermeiden.

Continue reading ‘Thunderbird 3 ist fertig (Zusatz)’

How to validate forms with jQuery and CodeIgniter

CodeIgniter Logo

CodeIgniter Logo

In the Web 2.0 it is familiar to create new services. In Germany the Web 2.0 is also called “Mitmach-Web” (join-in-web). And there is a other transformation in the scene: With Javascript (and that what is called Ajax – I call it in german always “Webwaschmittel”) more and more static websites becomes dynamically web applications – to use like normal desktop applications. But to have an interactive website, which behaves similar to a desktop application (giving response in no time, show informations and take the user into its own hand). The one thing webdesigners and web-developers do to make a website interactive and behaves like an application is to use Javascript. Javascript is the mean of choice but there exists several Javascript-Frameworks which helps the user to write clean and short Javascript-Code with a great functionality.

On the backend-side (server-side) the programmers have done also many development and engineering in the last years. Several Frameworks have been established (Symfony, CodeIgniter, Ruby on Rails, Zend, Flow3 and so on – more about frameworks in the iX special “Web on Rails“). I am using CodeIgniter because it is a really leightweight and nice to use framework with many functionality, but the latitude to program and design your application as you will (means: with very few restrictions and a very small footprint).

In this little HowTo I want to show you how to build a little CodeIgniter REST-like API (only an example with one controller) and use it via Javascript (ajax with jQuery). The REST-API (Representational State Transfer – Advanced Programming Interface) is an idea, a way how to provide information and data as an service to the web, using the HTTP-protocol given mechanisms (like POST-data, GET-data, …). I write knowingly “REST-like”, because it is no easy work to create a full and dynamically usable REST-API. The MVC-Pattern-Design from CodeIgniter helps you to build Controller which can behave REST-like. But still programming a controller and let them return a header and some data is not the whole idea of a REST-full API.
To learn what a REST-API is or how it works: have a look at “A RESTful Web service, an example” by Paul James. There are also a german PDF “REST Web Services – eine Einführung” available from OIO (Orientation In Objects – a german software development company).
I also used two other tutorials from the web to inform myself about form validation with Ajax. You can find them at the end of the article among “Sources”.

Now I want to show you in an easy way how to build one little web service which validates something for you and send a response. A Javascript snippet send a call to the CodeIgniter Controller, the Controller do something and send an response. The answer will be shown up on the front end without relaoding the whole website. So it is good for a site with a PHP-Backend (via the REST-API) because it can be used from others later (maybe from outside or from company-internal services).

Continue reading ‘How to validate forms with jQuery and CodeIgniter’

How to delete Firefox history automatically after x days

Since Firefox 3.x is released my Firefox does not delete the history after the set days in the preferences. But there was a little change. In former versions the setting was described with “remember visited pages for the last … days”. But now in the newer versions on the privacy tab in the preferences it is described with: “keep my history for at least”. This implicates, that the browser keeps the history for at least these days and longer. But if you want Firefox to delete the whole history after the set days you have to change something on the core-settings.

Open in a new tab the page about:config and write in the filter bar “history”. There you´ll find a setting which you have to set the days, you wanted the browser to maximal keeping your history:

  1. browser.history_expire_days_min

And you have to set the days in your settings preferences > privacy > keeping history for at least.
That´s it.

Problems with downloading and importing Thawte email certificates with Firefox under Vista

Since some years I am using for my private e-mail-adress a free Thawte e-mail certificate to sign and encrypt my e-mails. This works via S/MIME (X.509) and is very easy to use. Easier than PGP (which has other benefits).

Last year I had a problem to download the Thawte certificate. I created it and than you have a fetch button to download it. The user must use the same browser on the same computer under the same user he has create the certificate, to download it. I do so, but it does not work.
This year, my certificate expired recently, I try the same. I open the Thawte site, create my new certificate and want to download it, all via Firefox under Windows Vista, but I always get a download window. I select just “open” and every time the Windows Certificate Manager opens. Bastard!

I tried and tried and nothing really worked. It seems that only the public key was imported into Certificate Manager. I export into to import it into Mozilla Thunderbird, but this does not work.

Continue reading ‘Problems with downloading and importing Thawte email certificates with Firefox under Vista’

What is to do by updating Wordpress theme K2 to 1.0 RC8

Yeah on the getk2.com, the website for the Wordpress theme K2 is the version 1.0 RC8 released. Yesterday I updated my wordpress blog software and I also updated to the latest K2. After uploading, there were some trouble with my FTP connection (it takes hours to upload all files… :roll: ) but in the end it worked all fine. But then I recognized a little failure. Under each title of a post normally the user founds some information like the author, the date, the category, comments and tags. But there were nothing, only this little clock-icon. What a pitty …

My first thought was: is there gone something wrong while uploading?
No! With the version RC8 the user is able to configure in some ways the looking of parts on the frontend of the K2 theme. You have to login to the backend and then visit Design > K2 Options and there you have to configure which data will appear in the “Top Meta”.

The “Bottom Meta” means a part at the end of the post on the list view (like the start page of the blog) of your articles. The only thing I missed: if you add “%comments%” to your Top Meta, on the blog appear this little balloon, the number of comments and the word “comment”. So you are not able to completely translate those data to german.

This would be great, if you can configure these things, also like “Continue reading…” in the backend like you want. So “%comments%” Only have to be the balloon with the number of comments, nothing more.

Firefox 3.5 ist da – ein Grund einen Blick auf HTML5 zu werfen

Firefox 3.5 Logo

Firefox 3.5 Logo

Wie in den letzten Tagen des Öfteren zu lesen war, ist der neue Browser Mozilla Firefox in der Version 3.5 erschienen und bringt damit einige Neuerungen. Neben Geschwindigkeitsoptimierungen interessiert Webentwickler wohl vor allem die Neuerungen des W3C-Standards HTML 5 die z. T. Einzug in Firefox halten, so wie auch teilweise schon in Safari 4 und Opera 10, aber auch von Googles Chrome 2 unterstützt werden oder geplant sind.
Wenn Microsoft mit seinem Internet Explorer 8, welcher schon ziemlich gut geworden ist was Webstandards angeht, nicht bald mit einer Zwischenversion nachzieht, tritt wieder das ein, was die ganze Zeit schon ein Problem war: Browser wie Firefox, Opera und Safari unterstützten standardkonformen HTML-Code, XHTML und CSS und der Internet Explorer (wie in der Version 6 und teilweise auch 7) interpretierten was sie wollen, aber nicht standardkonform oder unterstützten eben manche HTML-Tags gar nicht. Viele Dinge waren damit im IE (bis einschließlich Version 7) einfach nicht sinnvoll zu realiseren oder gar unmöglich. Webentwickler können ein Lied davon singen, was es heißt eine Webseite für die gängistens fünf, sechs Browserversionen zu optimieren.

Zum Beispiel wird Firefox 3.5 die neuen HTML5-Tags für audio und video Inhalte unterstützen. Für die Inhalte wird der Firefox 3.5 die frei verfügbaren Codecs Ogg Theora (Video) und Ogg Vorbis (Audio) nativ unterstützen – es ist also kein PlugIn nötig. Wie bei golem.de zu lesen ist, wird Apple mit Safari auf den H.264 Codec setzen, aber auch Ogg unterstützen. Wie ich aus dem Artikel von golem herauslese, ist dem W3C viel daran gelegen, dass ein freier und nicht proprietärer Codec eingesetzt wird, so wie die von Ogg. Auch heise.de hat einen ausführlichen Artikel über Firefox 3.5 und etwas über HTML 5 veröffentlicht.

Bevor ich eine kleine Übersicht neuer Tags aus HTML 5 gebe, hier ein Video von Mozilla das die Neuerungen in der Version 3.5 (unabhängig von HTML 5) zeigt.

Continue reading ‘Firefox 3.5 ist da – ein Grund einen Blick auf HTML5 zu werfen’

Seinen Blog bekannter machen

Du hast ein neues Blog und wartest auf neue Besucher, Kommentare. Die kommen nicht von ungefähr. Außer, dass Du Themen oder Inhalte aufgreifst die andere interessieren ist es ebenso wichtig, dass man seinen Blog bei Diensten bekannter macht, so dass potentielle Leser diesen Blog auch finden. Nicht jeder, der ein Thema sucht benutzt für die Suche Google.

Ich möchte in diesem Beitrag einige moderne Dienste und Techniken vorstellen die helfen können den eigenen Blog etwas bekannter zu machen. Letztlich zählt aber immer noch der eigene Stil und die Inhalte. Um vornherein Missverständnisse auszuschließen: Ich bin nicht der Meinung, dass man (wie es eine Zeitung mit vier großen Buchstaben tut) reißerische oder andere boulevard-Themen aufgreifen sollte, nur weil diese scheinbar viele Leute interessieren und somit dazu führen den eigenen Blog bekannter zu machen. Man sollte sich seinen Themen und seinen Inhalten treu bleiben und sich nicht, wie die privaten Fernsehsender dem Verfall hingeben in dem reißerischen Kampf um Klicks. Lieber eine gute und interessante Nische ausfüllen, als mit dem Strom zu schwimmen und im Strudel der Stromschnellen unterzugehen. Jedoch muss dies jeder für sich selbst entscheiden.
Im Folgenden dazu 3 Abschnitte mit kurzen Hinweisen auf Möglichkeiten der Veröffentlichung und Vernetzung!

Continue reading ‘Seinen Blog bekannter machen’