Team availability Component

17 years 4 months ago #24422 by Roland
Team availability Component was created by Roland
Hello,

at the moment I try to combine the Team availability component from winterhalder with groupjive.
The main functions already works.

You can find the first beta-release in the attachment.

But I have found the following bugs and I don't know how to solve it:
- if a user in more groups you can't choose the event - it was only saved on the first group of this person
- the publish-button in the abszendcode of the backend don't works

Could anybody help me?

Fluffy - is it possible to integrate this component in Groupjive?

I think/hope the main work will be done.

You can see a demo at
www.franken-connection.eu
Login: gast
Pass: gast12345

Roland

Attachment com_teacgj.zip not found



Post edited by: Roland, at: 2006/11/12 06:22

Post edited by: Roland, at: 2006/11/12 06:23

Post edited by: Roland, at: 2006/11/12 06:26

Post edited by: Roland, at: 2006/11/13 15:09

www.simple-quality.de - The Quality-Web-Portal
Attachments:

Please Log in to join the conversation.

17 years 4 months ago #24709 by Fluffy5
Replied by Fluffy5 on topic Re:Team availability Component
Hello Roland,
I have never seen this team availability component before and couldn't quite figure out how to use it on my test site. I checked it out on your site, but in order to help I need some more information.

How do you want to integrate it with groupjive?
Is the person using it supposed to see only the groups he/she belongs to in the dropdown or are all groups shown?
An absence reported in one group should be shown in every group the user belongs to?
Is anything supposed to show in the groupjive component?

The publish button seems to work for me, only the symbol doesn't change (the absence code is published in the frontend).

Post edited by: Fluffy5, at: 2006/11/15 00:04

Please Log in to join the conversation.

17 years 4 months ago #24914 by Roland
Replied by Roland on topic Re:Team availability Component
Hello Fluffy,

thank you very much for your help. :lol: :silly:

Meanwhile I have solved the publish-button bug.

Now I try to integrate the component - I think you have enough work with your component, but I hope you can give me some hints.

I have made a link in your groupjive_func.inc to index.php?option=com_teac&task=groupjive

I have insert in teac.php => Main event handling part a case similar to default (this works).

But how do I send the actual group-id from Groupjive to the teac component?

www.simple-quality.de - The Quality-Web-Portal

Please Log in to join the conversation.

17 years 4 months ago #24956 by Fluffy5
Replied by Fluffy5 on topic Re:Team availability Component
Hi Roland!

I'm not sure I understand you correctly, but if you only need to pass the current groupid from groupjive to the new groupjive case in teac.php you have written, the easiest way is to use a get. Your link in groupjive_func.inc should be index.php?option=com_teac&task=groupjive&groupid=$row->id
and in the main event handling case groupjive in teac.php you get it with $somevariable = $_REQUEST;

Please Log in to join the conversation.

17 years 4 months ago #24969 by Roland
Replied by Roland on topic Re:Team availability Component
Hello,

thank you very much :woohoo: It works...

But now another small question. If I click in GroupJive on the link to TEAC, Teac open on a new site.
I would like to open it this the header from groupjive (similar to member list, forum, and so an).
Who can I change it?

Sorry for my English :unsure:

www.simple-quality.de - The Quality-Web-Portal

Please Log in to join the conversation.

17 years 4 months ago #24994 by Fluffy5
Replied by Fluffy5 on topic Re:Team availability Component
What you need to do to get the "header" is to call the function showgroup(); located in groupjive_func.php.
I don't have the time right now to look at the teac files, but try including groupjive_func.inc in teac.php and call showgroup() in your case for groupjive. Note that showgroup takes the groupid as parameter.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.197 seconds

Facebook Twitter LinkedIn