From: Jochen S. <js...@us...> - 2005-02-13 09:24:24
|
James E. Flemer wrote: > Any -devel people want to look into this? Maybe you can just hit=20 > "reload" on your browser 50 times. ;-) Maybe it's just a few lines=20 > of change. I've got no time to work on phpESP now, sorry. Hi, you can't just hit "reload" because you are redirected to the management=20 page. You CAN bookmark the link target of the survey you wish to copy=20 and then use this link 50 times, but that's rather ugly too. My solutions is not very beautiful as well (although it's very short)=20 because it adds the functionality, but not the UI interface. It's again=20 a patch for Version 1.6.1. It processes an additional parameter, "nr",=20 if stated. To use this thing, one had to click on copy an existing=20 survey, right-click the survey he/she wants to copy and say "copy link=20 location" and then paste this link location, e.g.=20 "http://127.0.0.1/phpESP/admin/manage.php?where=3Dcopy&sid=3D32" with the= =20 additional parameter in his location bar, like=20 "http://127.0.0.1/phpESP/admin/manage.php?where=3Dcopy&sid=3D32&nr=3D50". The reason why I didn't do a UI interface is just that you select the=20 survey as a link in a table, so no form-related field can be attached.=20 Probably something like a select box of surveys and a simple input field=20 for the number of copies would be smoother, but I don't have time to=20 code that now and I don't know if this were accepted as a patch. Besides: >The problem is to create a copy of the survey for each >group. Do you know that you can grant access to a survey to several groups at a=20 time? Copying surveys IMHO only makes sense if you make some changes to the=20 copy (because otherwise you could have used the original). --=20 mit freundlichen Gr=FC=DFen Jochen St=E4rk www.usegroup.de (home office) Albigerstr. 22 Am Wald 3 55232 Alzey 55270 Ober-Olm Tel: (06731)997997-5 (06131)584278-0 Fax: (06731)997997-6 (06131)584278-1 Mobil: (0177)4512645 |