Multiple Sub-folders and Controllers in Module

Hey Guys, I have searched the forum but to no available. I am using wiredesignz HMVC Modular extension.

It works fine except that I am seeking to push it a bit further but am encountering some issues.

I have the Admin Section of my site am using Routes to rewrite the url only for that section, for e.g.

Modules ->
Extensions ->
Controllers ->
----> extensions.php

Admin ->
----> admin.php
Payments ->
----> Paypal.php
----> Moneybookers.php
----> Paypoint.php

I am able to load "localhost/extensions/admin" without any issues how I keep getting "404 Page Not Found" when I trying to load "localhost/extensions/admin/payments/paypal"

Below is the rewrite rules in my route.php file store in my module config folder

$route['extensions/admin/module/([a-zA-Z_-]+)/(:any)'] = "extensions/admin/module/$1/$2";
$route['extensions/admin/module/([a-zA-Z_-]+)/'] = "extensions/admin/module/$1/index";

Any assistance would be greatly appreciated guys

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.