⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Expression Engine and Grocery Crud



wonder

wonder
  • profile picture
  • Member

Posted 21 March 2013 - 16:39 PM

Hi there,

 

I have a full version of Expression engine running on my site, and I now want to incorporate grocery crud into elements of the site.

What is the best way of doing this?

I currently do a really basic html iframe include which I suspect is not the best way of doing it.

 

So in Expression Engine I use the great templating system and it also uses controllers in a directory;

system/expressionengine/controllers

 

Code Igniter puts the grocery crud controller in;

application/controllers

 

What is the best way of combining them?

Do I just call the php script used in Grocery Crud as an include within one of my Expression Engine templates?


I would like to use the ability to stop people looking at my Grocery Crud database without being logged in by using Expression Engine templates.

 

Any tips appreciated as to the best way to do this.

 

Many thanks,

Piers

 


davidoster

davidoster
  • profile picture
  • Member

Posted 25 March 2013 - 13:50 PM

Maybe this is a question for the EE team!

Grocery CRUD is nothing more than a library for a CI application.

 

Hence your question comes down to:

"How can I use my own CI application (which uses Grocery CRUD) within Expression Engine?"


wonder

wonder
  • profile picture
  • Member

Posted 26 March 2013 - 09:49 AM

Thanks for rephrasing this - I'll ask elsewhere and cross post the answer back here.

 

Many thanks,

Piers