Pergunta

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

Foi útil?

Solução

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.

Outras dicas

I'm not familiar with either ajaxplorer or extplorer, but I figured I'd give it a stab in the dark:

Perhaps you could write a wrapper object that wraps around the ajaxplorer/extplorer class/object/script, which would provide a non-conflicting interface to load and access those resources?

Then you could potentially access it by loading it as a CI "Library"?? Good luck!

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top