How to add a free file manager in Joomla 3 TinyMCE editor

Joomla's default editor is TinyMCE which is a great and lightweight online editor for most purposes.

However it has a huge drawback for me: It does not include a file manager. There is no easy way to attach a file the editor. You have to use other tools, eg ftp, or Joomla's media manager.

After some searching around, and trying some solutions I found the best way to do this.

Adding a new language in Wordpress the easy and quick way

Say that you already have a monolingual or bilingual site in wordpress and you want to quickly add content in a new language that you or your customer requires.

I realised that this is can be a very time consuming job.

It can also be quite confusing since many times you don't have any idea of that new language content that you will be adding.

Drush commands to enable/disable performance options in Drupal 7

Drush commands to enable/disable performance and cache related options in Drupal 7

The script presented in this post adds two new drush commands: cache-enable and cache-disable which gives us a handy way to disable / enable performance and cache related configuration parameters and options. These parameters can be found in the admin/config/development/performance section of a Drupal 7 installation.

The cache-enable actually performs all the following actions:
  1. Enables the "Cache pages for anonymous users" option
  2. Enables the "Cache blocks" option
  3. Sets the "Minimum cache lifetime" option to the required value. Defaults to 1 minute
  4. Sets the "Expiration of cached pages" option to the required value. Defaults to 1 hour 
  5. Enables the "Aggregate and compress CSS files" option
  6. Enables the "Aggregate JavaScript files" option 
  7. Finally clears all caches (same as pressing the "Clear All Caches" button)

How to create a VPN connection from (L)ubuntu to your work computer

If you want to connect to a Windows VPN connection from a Ubuntu/Debian/Lubuntu client, create a new VPN connection and use the following options:
  1. Check the box "Use point-to-point MPPE"
  2. Disable eap
  3. Always ask password

How-to: Setup apache for a multi user shared hosting environment

Basic setup of a multi user hosting environment on Ubuntu or Debian.

This is a very simple, minimal and safe setup which allows users to have their own web sites hosted in a central web server. The main advantage of this method is that it is very secure.

The main features of this setup are the following:
  • Each user has his own home directory
  • Each user can have one or more websites hosted
  • Web server does not need extra configuration regarding users, groups etc.
  • Users are owners of their website(s) and can connect and modify their sites at will.
  • Users can only view the web directories that they own.
  • Simple and fast setup