Tribune mapping abstraction?
nbz - April 19, 2009 - 18:41
| Project: | Tribune |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi there,
Looking at the module, I noticed that the node_id is used as the tribune id during all transactions etc.
It all works well, but ot complicated adding tribunes of different kinds, eg tribunes for users or tribunes for privatemsg.
Could it be possible to abstract the tribunes so that there is a sequential tribune_id mapped to a node id in a separate table (tribune_nodes)? that way other modules could create new tribunes that are not linked to nodes.

#1
Yeah, that's a good idea, I'll do that, and then attaching tribunes to users will be possible.