0

I'm using CodeIgniter for several projects.

What I haven't figured out how to do is have "shared" views across projects.

For example, I'd like to be able to do something like this:

$this->load->view ("mysharedview");

Where mysharedview.php does not exist in my project's application/views folder, but in a shared location that is used by all projects.

Anyone know of a way to do this that doesn't require modifying the core CI files?

Ray
  • 187,153
  • 97
  • 222
  • 204
dharmesh
  • 245
  • 1
  • 2
  • 6

1 Answers1

3

Have you looked at Matchbox??

it seems that it can do what you want..

https://github.com/EllisLab/CodeIgniter/wiki/Matchbox

xiidea
  • 3,344
  • 20
  • 24
Hassan Al-Jeshi
  • 1,450
  • 2
  • 15
  • 20