![]() |
Multiple delete checkbox
ALCON,
I am having trouble getting a multiple select delete (via checkbox) to work properly. I even went so far as to look at how vB4 does it in the pm inbox and did a mirror. Is there an easier way to do this, to delete multiple items at one time? In my template, i have the following code: Code:
<form id="wp_script" name="wp_script" action="file.php?do=doedit" method="post"> Code:
$vbulletin->input->clean_array_gpc('p', array( |
Replace this
PHP Code:
PHP Code:
|
That is what i originally had and it was not working. That's why I looked up the private.php method, and it seemed to take a few more steps than what i really needed, but I did a copy anyways and it still wasn't working. I triple checked my syntax and found the error in my template. I still cannot believe i did not find this after my first check before posting this thread, but hopefully it will help someone else.
Much thanks Sherif :) Apparently the template was: Code:
<input type="checkbox" name="del[{vb:raw list.id}]" id="del[{vb:raw list.id}]" value="{vb:raw list.id}" /> Code:
<input type="checkbox" name="del_id[{vb:raw list.id}]" id="del_id[{vb:raw list.id}]" value="{vb:raw list.id}" /> |
All times are GMT. The time now is 02:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|