View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Create Emails on event automatically - Page 2 - ProjeQtOr

Prochaines sessions de formation

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

Create Emails on event automatically

More
29 Avr 2019 00:03 #7 by babynus
Look at signature
htmlDrawOptionForReference($col, $selection, $obj=null, $required=false, $critFld=null, $critVal=null, $limitToActiveProjects=true, $limitToActiveOrganizations=true)
so what you look for is rather
<?php htmlDrawOptionForReference('idResource', null, null, false,'idTeam', 1);

Babynus
Administrator of ProjeQtOr web site
The following user(s) said Thank You: Gaspard

Please Connexion or Create an account to join the conversation.

More
29 Avr 2019 09:29 #8 by Gaspard
It work perfectly, I misunderstood that "critFld" attribute.
Thank you 3000 !

Please Connexion or Create an account to join the conversation.

More
07 Juil 2019 13:52 - 08 Juil 2019 23:33 #9 by Gaspard
there is display error with the images on this post so I juste write this.
Last edit: 08 Juil 2019 23:33 by Gaspard.

Please Connexion or Create an account to join the conversation.

More
08 Juil 2019 23:32 #10 by Gaspard
Hello Babynus,
(this is a repost because I saw images don't display well on my last post)

I come to ask your help again because I'm close from the result, but once again im stuck by the complexity of projeQtOr's code.
So since you helped me to display all the ressources in a multi select:

Attachment not found



I tried to make it simple using GET or POST method in 2 ways : With a form with as action "alertemail.php" and without an action and writting the php code just below the form.

here is the code that generate the start of form :



Here is alertemail.php :

For now I just want to see that my multi select form is working, but nothing happen when I click.

HERE is the code when I write the php code bellow the input it did not work either, BUT HERE a "pourquoi2" appear just above the submit button:



Code :
So I tried to find out myself why it write "pourquoi2", I looked into the code already written in projeqtor and I've found this :


I don't find the difference.. I'm wondering if I should try it with a client side code ? Is there something I'm missing ?

Thanks again for your time !
Attachments:

Please Connexion or Create an account to join the conversation.

More
13 Juil 2019 18:40 #11 by babynus
The code is not completely displayed.
But you get display of "Pourquoi2" because condition (isset($_GET["submitAlerte"])) is false
This will always be false with a post request...
This mays also always be false with a get request, as you don't have parameters in your url.
So parameters will be passed only with post request.

Try and replace all your $_GET with $_POST or with $_REQUEST (that will work for post and for get) or better, use methods of RequestHandler class...

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.118 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.