Welcome Guest, Not a member yet? Register   Sign In
Modular Extensions (HMVC) and JavaScript Files
#6

[eluser]Juan Ignacio Borda[/eluser]
My 2 cents:
The point of HMVC is to have modules which are portable, so in order to have a self contained module you need to put css and images an whatever resources you need, into your module folder

so I've modified the .htaccess to look like this

Code:
RewriteEngine on
RewriteCond $1 !(index\.php|images|robots\.txt|user_guide|jscript|css)
RewriteRule ^(.*)$ /ci2/index.php/$1 [L]

The only difference is that I've deleted de "^" character wich match starting urls. so allowing to access all those words at deeper levels.


Messages In This Thread
Modular Extensions (HMVC) and JavaScript Files - by El Forum - 06-18-2011, 08:35 PM
Modular Extensions (HMVC) and JavaScript Files - by El Forum - 06-19-2011, 05:20 AM
Modular Extensions (HMVC) and JavaScript Files - by El Forum - 06-19-2011, 06:11 AM
Modular Extensions (HMVC) and JavaScript Files - by El Forum - 06-19-2011, 09:06 AM
Modular Extensions (HMVC) and JavaScript Files - by El Forum - 06-19-2011, 12:51 PM
Modular Extensions (HMVC) and JavaScript Files - by El Forum - 05-27-2012, 06:38 AM
Modular Extensions (HMVC) and JavaScript Files - by El Forum - 05-27-2012, 10:25 AM
Modular Extensions (HMVC) and JavaScript Files - by El Forum - 05-27-2012, 12:48 PM
Modular Extensions (HMVC) and JavaScript Files - by El Forum - 05-27-2012, 04:34 PM
Modular Extensions (HMVC) and JavaScript Files - by El Forum - 05-29-2012, 02:03 PM
Modular Extensions (HMVC) and JavaScript Files - by El Forum - 09-27-2012, 02:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB