How to get fields of division table

Moderator: And_One

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

How to get fields of division table

Postby Trubadix » Sat Mar 09, 2013 5:41 am

Why I need that?
For a special sportart on some divisions I need another $defaultview.
Default is view "ranking" but on some divisions I need eventsranking.
My thinking to handle is set field "notes" of __joomleague_division to "1" if another than ranking as start is requested.
And on "mod_joomleague_navigation_menu.php" near line 39 including an IF request like

Code: Select all

if ($this->_notes) {
$defaultview   = "eventsranking";
}


I don't find the right way to implement in helper.php a function like getDivisionNotes.
Think for a developer It's an easy thing, but not for me, so I need a little help.
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 “navigation_menu”

Who is online

Users browsing this forum: No registered users and 1 guest