View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - New object - 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)

 

 

 
 

New object

More
16 Mai 2012 17:30 #1 by adrien_obs
New object was created by adrien_obs
Hello there,

I would like to build a new Object called Skill which aims to store skills such as Php, Dojo or Java. I would associate it to users.

I’m actually far from success. I’m not able to see the relation between the menu and objects.

I also don’t understand the relation between two objects, like with Risk and Link. There is an array Link in Risk object but that’s all I understand.

So I’ll be glad if anyone could give me some advice.

Thanks by advance.

Best,

Please Connexion or Create an account to join the conversation.

More
16 Mai 2012 17:50 #2 by babynus
Replied by babynus on topic Re: New object

I’m not able to see the relation between the menu and objects

Menu tagged as object will automatically point to objet of correponding name - nothing to program ! :woohoo: .

There is an array Link in Risk object but that’s all I understand.

properties names $_MyObject will automatically load and store data of MyObjects . MyObject class just need to have propertire refType and refId :woohoo:

Magic B)

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
21 Mai 2012 12:20 #3 by adrien_obs
Replied by adrien_obs on topic Re: New object
Hello,

This is a well made Framework. I'm starting to understand the way you built this application but I still can get what I want.

In order to save myself sometimes, I’ll tell you what I’ve done so you can see what my mistake is.

As I previously told you, I would like to add Skills in your application.

At first I added a new line in Menu table:
idmenuSkill0object110
107nameidMenutypesortOrderlevelidle


Then I added the line menuSkill: "Compétences", in \tool\i18n\nls\fr\lang.js file.

I also created a skill.php file with some properties and created the corresponding table:
• public $_col_1_2_description;
• public $id; // redefine $id to specify its visible place
• public $idSkill;
• public $name;
• public $description;
• public $idle;

The thing is that I’m not able to see the Skill menu.

Do you have any idea of what I’ve done wrong?

Best,

Please Connexion or Create an account to join the conversation.

More
21 Mai 2012 12:55 #4 by babynus
Replied by babynus on topic Re: New object

id menuSkill 0 object 11 0
107 name idMenu type sortOrder level idle

idMenu = 0 will set the menu at root of menu tree. Better set idMenu=id of the top menu (in parameteres values), and update order corresponding.

hen I added the line menuSkill: "Compétences", in \tool\i18n\nls\fr\lang.js file.

You'd bette update lang.xls file and use button "generate" to generate th .js files for all languages.

The thing is that I’m not able to see the Skill menu.

1) did you create the correspondong table ?
2) you did not create habilitation for the screen, so no one will see it in menu (you can use the habilitatoin screen for this, or insert manually)

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
21 Mai 2012 13:52 #5 by adrien_obs
Replied by adrien_obs on topic Re: New object
Great! I completely forgot about the habilitation screen! I'm now able to see "Compétences" in the menu tree. I can’t see any information though, the process keeps loading. It looks like something goes wrong in "Skill.php". I’ll try to understand what’s going on Objects classes to see what’s wrong.

About "lang.xls", I have no I idea where I can get it. I only have "lang.js".

Thanks for your help,

Please Connexion or Create an account to join the conversation.

More
21 Mai 2012 13:58 #6 by babynus
Replied by babynus on topic Re: New object

About "lang.xls", I have no I idea where I can get it. I only have "lang.js".

Here, on the download page. :whistle:

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.040 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.