⚠ 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 button in read?



Димитър Андреев

Димитър Андреев
  • profile picture
  • Member

Posted 05 January 2016 - 08:23 AM

I wont to input the edit button in the read view!
Is it feasible and how?
 
Thanks in advance! :)

 

 


Amit Shah

Amit Shah
  • profile picture
  • Member

Posted 06 January 2016 - 02:02 AM

Hi,

 

It is feasible - you will have to update the read view file of the theme you using. There you will have to add the edit button. Yes you will have to do some bit of research to check the correct edit url you going to deal with.

 

Happy GCing :)


Димитър Андреев

Димитър Андреев
  • profile picture
  • Member

Posted 06 January 2016 - 08:07 AM

Yes guessed that there must insert the code, but can you help me how should look the link mysite/controller/name/edit/# - but how to take a number of what must change? :)


Betrys

Betrys
  • profile picture
  • Member

Posted 24 October 2016 - 02:28 AM

I''d also love to add this feature.

 

I'm modifying flexigrid read.php. I can build most of the URL like this, but I can't figure out how to get the row/record ID.

<?php echo site_url()?>/my_model/<?php echo $subject_plural?>/edit/???

Any tips on how to get that last variable from /flexigrid/views/read.php? The page doesn't know $row, $column, $list...