View Single Post
  #3  
Old 12-18-2016, 04:47 PM
  cherie's Avatar 
cherie cherie is offline
 

X-Wizard
  
Join Date: May 2003
Location: USA
Posts: 1,534
 

Default Re: Using ajax calls in template - 403 Forbidden Error

This error is probably because /modules/.htaccess has "deny from all". Don't circumvent this security but call a php file outside of this directory.

Off the top of my head you may want to start with one of the Block examples like:
  1. skin/common_files/modules/Customer_Reviews/ajax.rating.js (calls loadBlock for rating_bar)
  2. skin/common_files/js/ajax.js (loadBlock calls get_block.php)
  3. get_block.php
  4. modules/Customer_Reviews/func.php (func_ajax_block_rating_bar())
__________________
redlimeweb.com
custom mods and design integration
4.7 linux