• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing third party app

#1
[eluser]peter222[/eluser]
Hi, I want to install third party app in existing CI application but when run mysite.com/folder then it is run as controller of course. So, what can I put third party app? I want to simple install it and use it as one of view in my layout, is it possible?

#2
[eluser]solid9[/eluser]
What is the name of the app?
It must have an instruction on how to install it.

Or are you referring, you wanted to create your own 3rd party app?
And you wanted to know how to easily install it in CI?

If you are using HMVC this can be done by dragging & drop the module.


#3
[eluser]peter222[/eluser]
I think about any application, not necessarily in MVC and CI. For example phpbb3 and others. I know instructions and know how to install it as standalone appliacation. As standalone I put it in own folder, run installer and that's all. Problem is when I try to run installer as a part of existing CI application. As I wrote before, when try to put it just in CI subdirectory, I can't call it by mysite.com/app_folder (because CI think I want to run controller). So, what can I install any external application and view it just as one of items in my existing CI App menu?

#4
[eluser]solid9[/eluser]
Well I've never encountered any 3rd party that is not written on CI and can be installed to be part of your CI project. If the 3rd party is not written in CI the best way is to convert it to comply CI.



#5
[eluser]PhilTem[/eluser]
The magic words are .htaccess and mod-rewrite. If you e.g. disable mod-rewrite and will use example.com/index.php/controller/method, then it will work with your thid-party app being in a subfolder.
Otherwise you'll have to adapt your rewrite-rules to take everything to that specific folder literally and not reroute it to index.php Wink

#6
[eluser]peter222[/eluser]
Thank You PhilTem, it works (installed). But how to use this application as one of my view now (in existing CI application)? I know that I can do it by frame but maybe is there any other way (more elegant)?

#7
[eluser]peter222[/eluser]
ok, it was stupid question. External application has it's own structure (<html><body>) so frame is right way after allSmile


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.