View Single Post
  #25 (permalink)  
Old 02-08-2008, 09:44 PM
Falcon Falcon is offline
D-Web Analyst
 
Join Date: Nov 2007
Location: Chennai
Posts: 289
Falcon is on a distinguished road
Default Re: Joomla introduction?

Quote:
Originally Posted by npugila1983 View Post
Hi

I want to use ajax in my joomla site...

Can u please give some hint on it...

I am just getting Restricted Access alert...
Even i Re-installed the component with that ajax file...
hi Pugal

If you are using the ajax page in your site. Don't use this Defined function efined( '_VALID_MOS' ) or die( 'Restricted access' ); it will shows that error. For the ajax page u have to use this define function define( '_VALID_MOS', 1 ); and then you have to include the necessary file like joomla.php, configuration.php and global.php in this format

include_once "../../configuration.php";
require_once('../../globals.php');
include_once "../../includes/joomla.php";

I think it will help you

Regards
Falcon
Reply With Quote