Hi,
New to XOOPs and converting my old rugby team site (
http://www.suttonrugby.co.uk) to a nice shiny new XOOPs version (
http://www.suttonrugby.co.uk/newsite - Currently under construction!)
Looking at the old site, on the menu we have a section for teams. We run a lot of teams so I have created a generic teams page that contains things like contacts, fixtures and a team news section. These are administered by the team captain/manager on line using my rather rubbish admin tool.
I managed to make a generic php page that was imported into the Content module. In that page I look up the team id in my DB against the name of the team specified in thenew Content menu ( by looking in the XOOPS tables for the content id, and getting the menu name, then comparing that in my teams db! yuk!)
It is working to a point. I have yet to finish the formatting and replacing the dynamic liks, but it is kind of working.
What I would like to be able to do is define a bunch of sections (in this case it will be teams). then define a template page that conatins blocks that can contain data pulled from different sources. Then I can edit the content o feach block using the admin tool of what ever module is used to maintain this, and assign the actual data to a specific section (team). When the user clicks the team menu, he will see the content built into the generic page based on the data stored for that specific team.
This is exactly what I have on the old site, but it is just plain PHP and my cruddy coding. I really need to get this working an a generic fashion inside XOOPs as there are other reasons why we need to use XOOPs (for other parts of the site)
I am sort of happy with what we have already in the new XOOPs site, but it does mean that the site admin users still have to go back to my old rubbishy admin screens to edit team information (Contacts are stored ina contact table and linked to a team by name and role, team news is stored in another table, fixtures in another).
I am sort of tempted to have a go at making my own module for this, but given that this is day 3 of my XOOPs experience I think it may take me some while to do this.
I have had some very good responses from people in the groups about modules etc, I wonder if anyone either knows of a tool I can use, or can point me in the right direction for writing my own, or even better, someone write one one for me because they have nothing better to do!
I am sure there would be quite a large demand for a sort of generic teams page type of module, there are many sports clubs that run many teams and would like to allow each team to manage their own content based on a generic page template.
Thanks in advance for any advice,
Steve