Copy roster to new season

Status: under development
Branch: https://gitlab.com/joomleague/joomleague/tree/3.0.0

Moderator: And_One

calciodonne
.
Posts: 102
Joined: Sat Aug 08, 2009 5:37 pm
Joomleague version: 2.0.x
Location: firenze
Contact:

Copy roster to new season

Postby calciodonne » Mon Sep 26, 2016 9:01 am

Dear Sirs,

I can copy the players (roster) of the 2015-2016 season team in the same team in the 2016-2017 season?

best regards

Walter
Walter Pettinati
JOOMLA 3.6.2
JoomLeague - v 3.0.16.5739060

Heart
Joomleague Core Developer
Joomleague Core Developer
Posts: 653
Joined: Fri Apr 23, 2010 10:27 am

Re: Copy roster to new season

Postby Heart » Mon Sep 26, 2016 9:25 am

When you copy a project the players from the teams get copied too to the new project.

Only copy the players from one (old) team to another is not possible.

calciodonne
.
Posts: 102
Joined: Sat Aug 08, 2009 5:37 pm
Joomleague version: 2.0.x
Location: firenze
Contact:

Re: Copy roster to new season

Postby calciodonne » Mon Sep 26, 2016 9:48 am

have copy the team but not the roster
Walter Pettinati
JOOMLA 3.6.2
JoomLeague - v 3.0.16.5739060

User avatar
Trubadix
.
Posts: 338
Joined: Fri Oct 24, 2008 4:35 pm
Joomleague version: 2.0.x
Location: 31542
Contact:

Re: Copy roster to new season

Postby Trubadix » Mon Sep 26, 2016 10:24 am

Heart wrote:When you copy a project the players from the teams get copied too to the new project.

Only copy the players from one (old) team to another is not possible.


Hi if you know what you are going to do it's possible.
- Export the person table from the DB.
- Edit the exported table by using a utf-8 handling editor like notepad++
- change the table-name if requested in the hole file
- eleminate the part of contact_id in the hole file
- change the user_id to contact_id in the hole file
the place of contact_id in the table dosn't intrest the system.
But be careful, on replacing you MUST exactly know what you are goning to do!

I did and it works perfect, all corrsponding tables are using persons_id has got the right id.
Life-System : Joomla 2.5.28 auf Strato, Joomleague 2.0.x
http://www.shootingleague.de/
Test-System: Joomla 3.6.x auf Strato, Joomleague 3.0.x
http://ligatest.ksv-nesselblatt.de/


Return to “3.0.22.57ae969-Blue (Joomla: 3.x)”

Who is online

Users browsing this forum: No registered users and 2 guests