This is a very short and quick solution for web designers. The situation of today is an style link becomes trashed when having any kind of white spaces just before the closing
Imagine a link like:
<a title="example"> example </a>
will result in a display like:
example
This is a bug of all browsers I know, but there is a quick PHP fix for it:
$html_source = preg_replace( "/\s+<\/a>/i", "</a>", $html_source );
It's some weeks ago I had the pleasure to try diving into Joomla's component development. Today I must admit: I gave up and began to code my own CMS around the old project of mine that I intended to replace with a Joomla site. Finding out how to code for Joomla is no fun at all, as it is not for Drupal, too.
This is just a short note I make to remember what I just found on the web. You perhaps no the WYSIWYG editors out there, converting an ordinary <TextArea> to a full featured text editor similar to Microsoft Word (or lets say OpenOffice Writer).
Saying Joomla development is a trivial task would be a lie. You'll agree to that as soon as you recognize Joomla as a huge PHP Application Framework. And it of course always takes some time to get used to a framework like that. Incidentally that's the situation for all frameworks of this kind, whether it's Drupal, the Zend Framework or whatever software you like. So it's not just a Joomla property and no reason to choose another framework at all.
Redirecting whole websites or single webpages with mod_rewrite is a very important feature when doing search engine optimization (SEO) or when moving from one webserver or domain to another.
Redirection is usually done with a small block of code that is added to an .htaccess file in your websites root path. The code snippet looks like:
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.example\.com$
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
It is often misunderstood and the bulletin boards have hundrets of incomplete or wrong assumptions about Apache and mod_rewrite. That's why I decided to write an article about it.
Today I let you participate in my odyssey through two of the CMS stars at the PHP sky. Drupal 6 and Joomla 1.5 are the latest generation of CMS. Both are also announcing themselves as PHP Application Frameworks and both have a powerful developers community behind them. At a brief look these CMS seem to have good concepts behind them. In this article I talk about Drupal. My Joomla experience has just started and will be the topic of a later article.