Joomla – Standard Sample Data Sets

While installing the new Joomla 3.x system on your site, on step 3 – “Overview” you can see the options to install sample data set:

  • None
  • Blog English (GB) Sample Data
  • Brochure English (GB) Sample Data
  • Default English (GB) Sample Data
  • Learn Joomla English (GB) Sample Data
  • Test English (GB) Sample Data

What is it and which option choose to install?

Continue reading

Joomla – How to set and get $_SESSION variables by an external PHP-script



When you are trying to set or get $_SESSION variable in Joomla environment using standart approach from an external script, it appears to be empty or not set.

$_SESSION['variable_name'] = "test";
$test_var = $_SESSION['variable_name']; // $test_var is empty!?!

It happens because Joomla uses its own session handling with come unique session-id-generation and some encryption in place, so the only way to get into the Joomla session data is to use the appropriate Joomla functions. I recently had a project where I needed to make simple data-input form with captcha generator and the original captcha data was stored in (and then got from) session.

Continue reading