[ZDP] ZDP-Tools Guidelines in constructor

Maik Roeder roeder@berg.net
Mon, 14 Feb 2000 06:05:39 +0100


Hi !


Quick news update:


1. Added Change Needs* form to Management Interface
2. Added guideline on adding in the constructor
   - generic
   - special (Todo: Date issue)
   The only addForms I have omitted are:
   - MemberClass_addForm
   - NewsFolder_addForm
   - Phase_addForm
   - Process_addForm
   - Task_addForm
   The rest is implemented.

I have taken over some of the stuff from ZPTK. 

An example of how this works now:

FAQAnswerClass_addForm

<dtml-call "REQUEST.set('Add_what','FAQ Answer')">
<dtml-call "REQUEST.set('Add_action','FAQAnswerClass_add')">
<dtml-var form_top>
<dtml-call "REQUEST.set('Add_local','')">
<dtml-var form_content>
<dtml-call "REQUEST.set('Add_local','')">
<dtml-var form_content_type>
<dtml-var form_bottom>

form_top:

<HTML>
<HEAD><TITLE>Add <dtml-var Add_what></TITLE></HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">
<H2>Add <dtml-var Add_what></H2>
<form action="<dtml-var Add_action>">
<table width="100%" cellpadding="5">


form_content:

<tr>
 <td colspan="2">
 <p>Here you can enter the content of the <dtml-var Add_what>.
  Choose the content type below. <dtml-var Add_local></p>
 </td>
</tr>
<tr>
  <td>
  <dtml-var Add_what> <b>content:</b>
  </td>
  <td>
  <textarea name="the_content:text" cols="50" rows="5" wrap="soft"></textarea>
  </td>
</tr>

form_content_type:

<tr>
 <td colspan="2">
 <p>
 You can specify what of what type the content of the <dtml-var Add_what>
 is. It can be either html (the default), stx (Structured Text) or txt.
 <dtml-var Add_local>
 </p>
 </td>
</tr>
<tr>
  <td>
  <dtml-var Add_what> <b>content type:</b>
  </td>
  <td>
  <input name="the_content_type">
  </td>
</tr>

form_bottom:
<tr>
<td colspan=2>
<input type=submit value=" Add ">
</td>
</tr>
</table>
</form>
</body>
</html>


My todo list:

1. Add summary search to activity
   - 345 items changed -> link to details
   - 30 activities changed, 40 comments, 3 new drafts
2 Search by meta_type
   - Search for all comments, drafts and so on.
3. Search by author
   - also added to member page
4. Make call to redirect upon adding consistent
5. Let anonymous see implementation of ZDP-Tools
6. Snippets
7. How-Tos
8. XML export
9. Add more roles
10. List roles plus members who have them

If you should like to take over one of the tasks,
then just let me know.

Greetings,

Maik