Feature Requests
Please do NOT use this section of the forum to request help if Joomdle does not work for you in some particular way. Your post will be deleted.
Please do NOT use this section of the forum to request help if Joomdle does not work for you in some particular way. Your post will be deleted.
[Closed] CB <==> Moodle field mappings
- Ivan
- Topic Author
- New Member
-
Less
More
13 years 3 months ago - 12 years 11 months ago #1
by Ivan
[Closed] CB <==> Moodle field mappings was created by Ivan
Joomdle provide an interface to map some Community Builder fields to Moodle fields.
In our CB database we have fields of type "MySQL", it is virtual fields with value being result of some MySQL query, such field are implemented by CB plugin, they do not have corresponding columns in comprofiler table.
Example: you have real "birthday" field and virtual "age" field wich is dynamicaly evaluated every time its being requested.
Unfortunatelly, these fields are not listed by Joomdle for mapping with Moodle. Are there any plans to support those "virtual" CB fields?
In our CB database we have fields of type "MySQL", it is virtual fields with value being result of some MySQL query, such field are implemented by CB plugin, they do not have corresponding columns in comprofiler table.
Example: you have real "birthday" field and virtual "age" field wich is dynamicaly evaluated every time its being requested.
Unfortunatelly, these fields are not listed by Joomdle for mapping with Moodle. Are there any plans to support those "virtual" CB fields?
Last edit: 12 years 11 months ago by Antonio Durán.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
13 years 3 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic CB <==> Moodle field mappings
I jus learned those kind of fields existed, so we had no plans to support them.
I will move this thread to Feaure Request in case we may add it in a future release.
I will move this thread to Feaure Request in case we may add it in a future release.
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
13 years 3 months ago #3
by Chris
Replied by Chris on topic CB <==> Moodle field mappings
Some of those MySQL fields are dynamic and the values are changing each time you view that page and thus not, as you say, stored in the comprofiler table. This presents a problem of data integrity. Eg. Some of these fields are for display only purposes like displaying the persons age. You could "not" map this to moodle as the value would change everyday and you would require a continuously running cron job to keep that field up to date.
Thus from a practical point of view, you will need to consider how appropriate it is to store the display on "fields".
Thus from a practical point of view, you will need to consider how appropriate it is to store the display on "fields".
Please Log in or Create an account to join the conversation.
- Ivan
- Topic Author
- New Member
-
Less
More
13 years 3 months ago #4
by Ivan
Replied by Ivan on topic CB <==> Moodle field mappings
So how do "normal" fields stay in sync?
If I map "real" Joomla firstname field to Moodle firstname field, what triggers Moodle field update once Joomla field got updated?
If I map "real" Joomla firstname field to Moodle firstname field, what triggers Moodle field update once Joomla field got updated?
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
13 years 3 months ago #5
by Chris
Replied by Chris on topic CB <==> Moodle field mappings
When the fields are edited. But display only fields are never edited. I suppose you could trigger an event each time a page is visited but that is a lot of overhead ?
Please Log in or Create an account to join the conversation.
- Ivan
- Topic Author
- New Member
-
Less
More
13 years 3 months ago #6
by Ivan
Replied by Ivan on topic CB <==> Moodle field mappings
There is CB Auto Actions plugin which lets you perform different actions when different event happens, for example request some URL when some field was updated.
Looks like it is easier to use this plugin to update "real" CB fields which in turn mapped to Moodle fields.
But thanks for explanaton.
Looks like it is easier to use this plugin to update "real" CB fields which in turn mapped to Moodle fields.
But thanks for explanaton.
Please Log in or Create an account to join the conversation.