Post by ayeates on Jun 21, 2017 0:55:32 GMT -8
Hello,
Some friends and I have created a forum for an online football league (link) that we run, with help from another board member we have managed to get the tables we want appearing correctly. However, as soon as I add some probably poorly written Javascript (Attached) to create a Knockout tournament structure (Games reducing from 16 > 8 > 4 > 2 > 1 > Winner) the category & board order changes oddly.
The set board order prior to adding the code is:
(Bold is the category, Italic are the boards and ** Is javascripted tables from league republic)
CFL News
News, Holidays, Suggestions, Waiting Lists & Kits
Squads
Club Squads & Free Agents
Leagues
**Table for Premier league**
Premier League
**Table for Championship**
Championship
League 1
Cups
Champions League
Europa League
CFL Cup
Super Cup
Euro Super Cup
Rules
Rules & Prize Money
Transfers
Transfers, Loans, Releasing & Auctions
Scorers
Top Scorers
Awards
Awards
History
Previous Winners
The categories and boards then appear in this order, which seem to have moved each of the Categories up one and included a category call legend:
(I have attached photos of this too.)
CFL News
Squads
News, Holidays, Suggestions, Waiting Lists & Kits
Leagues
Club Squads & Free Agents
Cups
**Table for Premer League**
Premier League
**Table for Championship**
Championship
League 1
Rules
Champions League
Europa League
**Javascripted Knockout CFL Cup** - Where I'd like it to appear
CFL Cup
Super Cup
Euro Super Cup
Transfers
Rules & Prize Money
Scorers
Transfers, Loans, Releasing & Auctions
Awards
Top Scorers
History
Awards
Legend - Not in Category/board list in the admin area
Previous Winners
Any assistance on why this changes would be great.
Kind regards,
Andrew
Some friends and I have created a forum for an online football league (link) that we run, with help from another board member we have managed to get the tables we want appearing correctly. However, as soon as I add some probably poorly written Javascript (Attached) to create a Knockout tournament structure (Games reducing from 16 > 8 > 4 > 2 > 1 > Winner) the category & board order changes oddly.
The set board order prior to adding the code is:
(Bold is the category, Italic are the boards and ** Is javascripted tables from league republic)
CFL News
News, Holidays, Suggestions, Waiting Lists & Kits
Squads
Club Squads & Free Agents
Leagues
**Table for Premier league**
Premier League
**Table for Championship**
Championship
League 1
Cups
Champions League
Europa League
CFL Cup
Super Cup
Euro Super Cup
Rules
Rules & Prize Money
Transfers
Transfers, Loans, Releasing & Auctions
Scorers
Top Scorers
Awards
Awards
History
Previous Winners
The categories and boards then appear in this order, which seem to have moved each of the Categories up one and included a category call legend:
(I have attached photos of this too.)
CFL News
Squads
News, Holidays, Suggestions, Waiting Lists & Kits
Leagues
Club Squads & Free Agents
Cups
**Table for Premer League**
Premier League
**Table for Championship**
Championship
League 1
Rules
Champions League
Europa League
**Javascripted Knockout CFL Cup** - Where I'd like it to appear
CFL Cup
Super Cup
Euro Super Cup
Transfers
Rules & Prize Money
Scorers
Transfers, Loans, Releasing & Auctions
Awards
Top Scorers
History
Awards
Legend - Not in Category/board list in the admin area
Previous Winners
Any assistance on why this changes would be great.
Kind regards,
Andrew