views:

38

answers:

1

Hi guys,

I get a joomla template, but I can't run it.

I copy it to htdocs folder in Apache(XAMPP) and when I want to run it, return this :

"Restricted access"

defined('_JEXEC') or die('Restricted access'); // no direct access
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'functions.php';

please kindly advise me,

Cheers,

Mike

+3  A: 

See:

How to install templates

That is how you should install the template.

Sarfraz
Thanks for your reply ,I downloaded 5 templates, but they don't have admin page such as this "www.your-site.com/administrator/"
Mike Redford
Did you install Joomla itself first?
andr
@Mike Redford: Templates don't have admin page, it is joomla which has, from the admin, you should install those templates like told in the tutorial.
Sarfraz