Request

New checkboxes for special events (e.g. newsletter, christmas mailing) / #1820

Summary

open
Sep 7, 2006
Sep 7, 2006 / burger
Yesterday / phsouzacruz
 

Attached files

Summary
sonderaktionen.bmp
3840054 bytes / ID 1831 / Sep 7, 2006
Show Details
 
We have a feature request which is really important for us.

We would like to have some checkboxes (with variable names --> realization: conf.inc and customize.inc) at the person edit form to assign a person to a specific event like e.g. christmas mailing.

Can we realize this?


3 Comments

burger

Sep 7, 2006
version 3
View comment
I already implemented this feature local.

Therefore I made the changes listed below:
  1. conf/conf.inc.php
    • four new variables in $g_config (e.g. 'EVENT_OPTION1' => '')
  2. customize.inc.php
    • changed the values of the needed event_options (e.g. confChange('EVENT_OPTION1', 'Newsletter');) --> so you can decide if you want to have special events in general, how much events should be displayed and what name the events should have
  3. pages/person.inc.php
    • implemented the code in the functions personEdit() and personEditSubmit() (=> four new database fields needed; option1-4 in table streb_person)
So what do you think about this feature (Example: see picture)?

pixtur

Sep 8, 2006
skeptical, but...
I am always scared of too many options but somehow i like this feature. I am not sure, if using the conf.inc.php in that maner is a clean solution. It works for you, but for other users it is not really self explaining.

Sooner or later we have to split the personEdit-feature into several tabs as suggested in task categories.

May I ask, how you want to use this special events? I.e. implement another special page or exporting a list to excel, etc?

binder

Sep 8, 2006
Reply to skeptical, but...
First of all we need this for some client-actions.
We do a christmas-game with our clients and we need a place to bind that information to a person. Same goes for a printed newsletter, which we send out every quarter.

In the fist step, we just want to export the persons with the newsletter option set to excel and use this as data for a serial letter in word.
The second step will be a way of user-filtered data from streber into Excel/CSV/... I've seen this on quite a few agency-software: You can export every View in the software as XLS and do some calculations.
...But this is another task on another time!

Second: we decided to add this to config.inc.php, because most users of streber do have at least one person, who sets up the whole thing, and he/she normally is capaple of filling out a config-file. But we could also add this to a "admin"-section of streber? When I'm thinking of strebers roadmap, I do think, a "admin"-tab is needed... ;)
 

Comment / Update