holle75 Posted February 10, 2014 Share Posted February 10, 2014 Hi there, i´m using a free feedback module adapted from a 1.4 version in my 1.5.6.2 shop. Everything works fine except SEO & URL rewrite cause the module is not using a controller in module/controllers/front. I was trying to fiddle around with a file i created and called singnfeed.php in this folder to just include the signfeedback.php in module root which is doing all the action. signfeed.php in ../modules/feedback/controllers/front <?php if (!defined('_PS_VERSION_')) exit; include('../../config/config.inc.php'); Class feedbackSignfeedModuleFrontController extends ModuleFrontController { public function init() { parent::init(); include(dirname(__FILE__). '/../../signfeedback.php'); } } give me strange results. I was also trying with something like Tools:Redirect('/../../signfeedback.php') instead of the include line but this is also not working as i expected. I´m really confused with all these controllers and overrides and whatever 1.5 version crazyness is happening. I´m not a programmer, just somebody who is copying and modifying lines (mostly successfull). It seems that the goal is to have a file in controllers/front (which you can implement in admins SEO&URL) that just redirects to the .php file in moduleroot that is doing all the action. Any help would be appreciated! thanks H. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now