Edit View and Delete Missing Part II [SOLVED] October 27, 2019, 03:05:28 PM HiSorry for the inconvenience, I do not want to be recurrent, but in the consultation of the forum on this subject, the support responded and there was no response from the user who made the post. It also affects me not being able to have the edit buttons in my application, therefore this question is to solve the problem, if we do not respond to the support we can not arrive at a solution, the idea of programming is that everything works my way of understanding things.Question Post This post isnt answered by who made..In my case i read the code on roles.php and theres a remark that said, can be the problem of Edit and Delete options? } } } } $this->view->page_title ="Add New"; $this->view->render('roles/add.php' ,null,'main_layout.php'); }// No Edit Function Generated Because No Field is Defined as the Primary Key// No Delete Function Generated Because No Field is Defined as the Primary Key on the Database Table/View}Thanks Quote Selected Last Edit: October 31, 2019, 02:34:48 PM by ocalle
Re: Edit View and Delete Missing Part II Reply #1 – October 27, 2019, 04:21:01 PM I defined the primary key on table editor, but when put update the key disappear Quote Selected
Re: Edit View and Delete Missing Part II Reply #2 – October 27, 2019, 04:32:07 PM attached a test Quote Selected
Re: Edit View and Delete Missing Part II Reply #3 – October 28, 2019, 09:29:56 AM @ocalle please use the Phprad Database manager to set the primary key for a table. Quote Selected
Re: Edit View and Delete Missing Part II Reply #4 – October 28, 2019, 01:50:32 PM Hi @willvin many thanks by the answer, i attached some behaviors when i do that u suggest Quote Selected
Re: Edit View and Delete Missing Part II Reply #5 – October 28, 2019, 02:05:10 PM @ocalle when you finish setting the id as primary key please click on a different table column before clicking on Save Changes button. And if that doesn't work, try using HeidiSQL or PhpMyAdmin to set the id as primary key and then come to phprad and sync with the database for the changes made to take effect on Phprad. Quote Selected 1 Likes
Re: Edit View and Delete Missing Part II Reply #6 – October 28, 2019, 03:08:52 PM @willvin thats works! many thanks but I still don't see the edit and delete buttons on a listview. i put an user with admin rights too Quote Selected
Re: Edit View and Delete Missing Part II Reply #7 – October 28, 2019, 03:21:31 PM Attached Quote Selected
Re: Edit View and Delete Missing Part II Reply #8 – October 28, 2019, 04:20:20 PM @ocalle please make a configuration on that edit page then click on Custom to see if anything shows. Quote Selected
Re: Edit View and Delete Missing Part II Reply #9 – October 28, 2019, 05:12:03 PM Ok i try on it Quote Selected
Re: Edit View and Delete Missing Part II Reply #10 – October 28, 2019, 05:19:52 PM Some pics Quote Selected
Re: Edit View and Delete Missing Part II Reply #11 – October 28, 2019, 05:39:18 PM I used in a simply test and can see edit page, in this test i build the table with PHPrad no with Sqlheidi or Phpmyadmin, when click on table can see the icon of key, in my project when click on a table the icon key is absent. Quote Selected
Re: Edit View and Delete Missing Part II Reply #12 – October 29, 2019, 02:05:04 PM @ocalle it means you did not make it a primary key with auto-increment. can you send me you TeamViewer id and pass as pm, so that I can assist you. Quote Selected 1 Likes
Re: Edit View and Delete Missing Part II Reply #13 – October 29, 2019, 02:06:08 PM Ok i send by private message Quote Selected
Re: Edit View and Delete Missing Part II [SOLVED] Reply #14 – October 31, 2019, 02:34:16 PM Many Thank, @willvin u solved the issue. Deleting the ID on table and creating a new one, the system works fine and smooth.- Quote Selected