Search code examples
phpcodeigniterframeworkspydio

Integrating stand alone applications inside codeigniter


I am currently building a user admin area for my site that would require file management. I came across extplorer and ajaxplorer as tools i would like to experiment with. I just have some issues trying to integrate this within a controller or mesh it with the codeigniter template library. this needs to be inside a region within the template, if you are unsure what ajaxplorer or extploror is then please advise a way to integrate a similar application like zen cart etc. for reference... just a pointer in the right direction will be acceptable... thanks


Solution

  • After a bit off digging around, I found that requiring from within a view the applications index.php works ok. The problem actually lies with the way that any sources within the document would point to (CIRoot)/index.php and not the actual applications path. to overcome this, I inserted <base href="http://localhost/(path to ajaxplorer)" target="_blank" /> to the head tag off any html outputs making all sources relative to that path.