I'd love to see this module upgraded to Drupal 5.

I upgraded some of the module's hooks, but, being new to Drupal, I wasn't able to figure it all out. I didn't understand how to upgrade hook_view or modify node_access calls, but the rest of the functionality should be Drupal 5 compliant.

Anyway, here's the patch. Hope it helps!

CommentFileSizeAuthor
#3 teampage1.png59.16 KBrfarrior
patch_88.txt27.12 KBspecialtouch

Comments

specialtouch’s picture

rfarrior’s picture

I'm using Drupal 5.1. I installed the Head version patched with patch_88.txt. When I create a Teampage, it works fine. However, any content that I publish in my group does not show up on the team page at all. Any ideas why?

rfarrior’s picture

StatusFileSize
new59.16 KB

Here is a screenshot of my teampage. There is a pink bar across the middle and nothing else.

MartinSfromB’s picture

Assigned: Unassigned » MartinSfromB
Status: Active » Closed (works as designed)

Will do this within this week.

MartinSfromB’s picture

Status: Closed (works as designed) » Active

Posted the changes to head yesterday.
Today released a development snapshot. Please test and leave your feadback!

abqaria’s picture

I upgraded to drupal 5, and upgraded to og teampage the latest version , i cannot see teampage as node type, so all my old groups have no content type.

check it at i-bloggers.com/og

MartinSfromB’s picture

Category: feature » support

Please refer to CHANGELOG and README!!
teampage isn't longer an own node type. your old nodes should be now (after running UPDATE.PHP!!!) from type og wich is standard group type in drupal 5.

abqaria’s picture

i did this but still my old groups do not have a content type infront of them

MartinSfromB’s picture

1. Do you have a content type 'og' listed at admin/content/types ?
2. Look at the node table in the database an tell me what 'type' the old group nodes are!

abqaria’s picture

there is no og in content types , only there is my node type i created called group

in the database infront of my old groups thers is "og"

MartinSfromB’s picture

og_teampage now in drupal5 works on all group node types and has no own 'teampage' nodetype.
Standard group type in og with drupal 5 should be 'og' so i convert all old teampages in 'og' at update.php.

Go to database, give the old teampage nodes a node type wich is group node at your side and it will work!

abqaria’s picture

okay i changed the "og" to group (the new node type i created)... it worked

is this normal, did everyone had this problem ?

what about the other tables i am affraid, that problems can happen because i changed value of one table irrespective of the other tables

MartinSfromB’s picture

Organic Groups used as group node type the 'og_basic' module in versions before 5 and i used 'teampage'.
Now in Drupal 5 OG uses node type 'og' defined by user in the drupal settings and so I removed the own nodetype from my module too.
I think all old 'og_basic' nodes should be converted to 'og' using update.php (defined by og module) and so I did the same with my teampages. After an update with OG the nodetype 'og' should be defined in your drupal and all should work fine. Did you delete it?

abqaria’s picture

i did not delete the og group node type, simply it does not appear

MartinSfromB’s picture

I'll test it again.

fronbow’s picture

Hi

I seem to be having similar problems. I've installed the latest 5.x-1.x-dev version but can't seem to find any reference to the module other than enabling it in the module page?!

I made the og default module as a page called 'group', but can't see anything relating to team.

I did notice that in OG Groups Configuation->Group home page there doesn't seem to be a setting for team (as I would expect)?

MartinSfromB’s picture

If correctly installed there is a 'configure team table view'-link in the tabs of your group node. Here you can set up the table.

fronbow’s picture

ahhh, found it. (This should really be in the help somewhere!)

After seeing this; it would be nice to be able to define sections of new content within this, other than than photo and description.
kind of like cck or webform so that I can create new sections, but also to have a block for the latest content pulled from the group?

MartinSfromB’s picture

I think this is described so in the README. If not, please tell me how to do it better.
Please write down your feature request as feature request because i will forget it if its not a feature request.

rfarrior’s picture

I installed the newest version and I am not getting the previous errors. I was able to configure table view in my team page.
One problem I'm having though. When I try to run update.php, I get "You do not have permission to access this". Any idea why?

Thanks.

MartinSfromB’s picture

Status: Active » Fixed

You have to be logged in as superuser before you can run update php!

MartinSfromB’s picture

Status: Fixed » Closed (fixed)

No discussion anymore. So closed.