Welcome Guest, Not a member yet? Register   Sign In
Trying to combine 3 CI libraries: HMVC-Template-Tank_Auth
#7

[eluser]developer10[/eluser]
[quote author="wiredesignz" date="1328635624"][quote author="developer10" date="1328635018"]... What would be an equivalent of APPPATH for a module in HMVC? ...[/quote]
Code:
APPPATH.'modules/the_module_name/'
[/quote]

Well, yes, I've done that before. But isnt there any way of putting something that will be true for any module a user is in so that a single Template.php in /system/libraries serves any module a user might be in.

For example:
Code:
APPATH.MODULEPATH.'views/'.$filename.EXT

Couldnt I define somewhere MODULEPATH and use it like in the above example?


Messages In This Thread
Trying to combine 3 CI libraries: HMVC-Template-Tank_Auth - by El Forum - 02-07-2012, 10:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB