Jump to content


edit only one row without list view


  • Please log in to reply
3 replies to this topic

#1 nunenthal

nunenthal

    Member

  • Members
  • PipPip
  • 29 posts
  • LocationFrance

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 ?



#2 AndresSEGC

AndresSEGC

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 16 August 2019 - 09:20 AM

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

 
Thanks
 



#3 nunenthal

nunenthal

    Member

  • Members
  • PipPip
  • 29 posts
  • LocationFrance

Posted 29 August 2019 - 08:41 AM

I think it's not possible for now



#4 drkelly

drkelly

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 04 September 2019 - 03: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.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users