⚠ 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

Users and Other Usage



Jack123
  • profile picture
  • Member

Posted 06 January 2013 - 16:32 PM

Hi everyone,

I'm a service provider and am shopping for a simple CRUD that won't require hours of customization on my part.

Does Grocery provide for numerous users to have different functionality/access (admin access all data vs user that can only edit but not delete vs contributor that can only add)?
Does Grocery have a customizable landing page (not the table view)?
Does Grocery allow to save queries as built in functions? (Jobs today = X or total income this week = Y)

Thanks!

victor
  • profile picture
  • Member

Posted 06 January 2013 - 20:42 PM

The GC library has a really cool API. You can integrate different libraries with this library. Read the manual of this library. You can find help in this forum.
Regards.

Jack123
  • profile picture
  • Member

Posted 06 January 2013 - 22:13 PM

Can you please a bit more specific. What is the library called?

davidoster
  • profile picture
  • Member

Posted 07 January 2013 - 13:28 PM

Jack,
[quote name='Jack123' timestamp='1357489923' post='5004']
Does Grocery provide for numerous users to have different functionality/access (admin access all data vs user that can only edit but not delete vs contributor that can only add)?
[i][b]Grocery Crud library(http://www.grocerycrud.com/) provides ways to limit the add/edit/delete/update using simple functions like, unset_add() or unset_delete() etc, [/b][/i]http://www.grocerycr...tions/unset_add
[i][b]It's your responsibility to attach it to the logic of your application and match it to groups or users depending on your system.[/b][/i]

Does Grocery have a customizable landing page (not the table view)?
[i][b]Grocery Crud provides by default the table/list view which you choose to display wherever you might see fit just with 2 lines of code, [color=#333333][font=Menlo, Monaco, Consolas, 'Courier New', monospace] [/font][/color][/b][/i]
[i][b][color=#0000FF][font=Menlo, Monaco, Consolas, 'Courier New', monospace]$output[/font][/color][color=#333333][font=Menlo, Monaco, Consolas, 'Courier New', monospace] = [/font][/color][color=#0000FF][font=Menlo, Monaco, Consolas, 'Courier New', monospace]$this[/font][/color][color=#333333][font=Menlo, Monaco, Consolas, 'Courier New', monospace]->[/font][/color][color=#006600][font=Menlo, Monaco, Consolas, 'Courier New', monospace]grocery_crud[/font][/color][color=#333333][font=Menlo, Monaco, Consolas, 'Courier New', monospace]->[/font][/color][color=#006600][font=Menlo, Monaco, Consolas, 'Courier New', monospace]render[/font][/color][color=#66CC66][font=Menlo, Monaco, Consolas, 'Courier New', monospace]([/font][/color][color=#66CC66][font=Menlo, Monaco, Consolas, 'Courier New', monospace])[/font][/color][color=#333333][font=Menlo, Monaco, Consolas, 'Courier New', monospace];[/font][/color][/b][/i]
[i][b][color=#0000FF]$this[/color]->_example_output[color=#66CC66]([/color][color=#0000FF]$output[/color][color=#66CC66])[/color];[/b][/i]
[i][b]Grocery Crud is a Codeigniter Library for CRUD operations not a full blown system![/b][/i]

Does Grocery allow to save queries as built in functions? (Jobs today = X or total income this week = Y)
[i][b]If you mean about the SQL query itself, like "SELECT COUNT(id) AS 'Jobs Today' WHERE type='jobs'
this is something you can do just by plain php or codeigniter code and save the result!
For more information on this check here, http://ellislab.com/...se/results.html[/b][/i]

Thanks!
[/quote]