DS alterations

Joomla 3 had some troubles with DS variables so added the check for it
to the pages..