⚠ 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

edit only one row without list view



nunenthal
  • profile picture
  • Member

Posted 24 July 2019 - 01:21 AM

Hello,

 

I have a table named prefs width some preferences like :

number of article per view,

title of page product.

value of decimal sign

etc...

 

I have only one row, I need to display only the edit modal, without the 

list view.

It's possible ?


AndresSEGC
  • profile picture
  • Member

Posted 16 August 2019 - 09:20 AM

I'm trying to get this, do you have any clues on how to do it?

 
Thanks
 


nunenthal
  • profile picture
  • Member

Posted 29 August 2019 - 08:41 AM

I think it's not possible for now


drkelly
  • profile picture
  • Member

Posted 04 September 2019 - 15:48 PM

Using the example project for gc I've managed to get the functionality you're looking for.

 

Create your controller as normal, then in your main view you can add a link to the edit page like this

 

<a href='<?php echo site_url('examples/employees_management/edit/1102')?>'>One Employee</a> |
 

This calls the employees_management controller in edit mode for record id 1102.