Statsedit button

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

Moderator: And_One

MSK
.
Posts: 72
Joined: Sun Jul 21, 2013 12:12 pm

Statsedit button

Postby MSK » Wed Nov 18, 2015 4:50 am

to the future
Statsedit button doesn't exist in the match. But this stat function must be worked (it is visible if you write a right link to the address by yourself).

MSK
.
Posts: 72
Joined: Sun Jul 21, 2013 12:12 pm

Re: Statsedit button

Postby MSK » Mon Nov 23, 2015 1:17 am

I believe there is the answer:

localhost/administrator/components/com_joomleague/views/matches/tmpl/default_matches.php

all includes are between the same *events* and *referrees* blocks
1) Text input:

Code: Select all

                  <th class="title"><?php echo JText::_('COM_JOOMLEAGUE_ADMIN_MATCHES_STATISTICS'); ?></th>


2) Button input:

Code: Select all


                     <td class="center">
                        <a    href="index.php?option=com_joomleague&view=match&layout=editstats&match_id=<?php echo $row->id; ?>"
                            title="<?php echo JText::_('COM_JOOMLEAGUE_ADMIN_MATCHES_EDIT_STATS'); ?>">
                            <?php
                            echo JHTML::_(   'image','administrator/components/com_joomleague/assets/images/calc16.png',
                                        JText::_('COM_JOOMLEAGUE_ADMIN_MATCHES_EDIT_STATS'),'title= "'.JText::_('COM_JOOMLEAGUE_ADMIN_MATCHES_EDIT_STATS').'"');
                        ?>
                        </a>                        
                     </td>

User avatar
Bluefox
.
Posts: 312
Joined: Tue Aug 27, 2013 11:26 am
Joomleague version: 2.0.x
Location: Friesland, Netherlands
Contact:

Re: Statsedit button

Postby Bluefox » Tue Jan 05, 2016 7:33 pm

The stats-icon was indeed not in matches so am going to add it back. Think the editstats view needs to be addressed a bit more and that's why it was probably not there.

just a question: how should that tmpl be working?
(am not having Joomla 2.x)
Help can be asked in the forum

MSK
.
Posts: 72
Joined: Sun Jul 21, 2013 12:12 pm

Re: Statsedit button

Postby MSK » Tue Jan 12, 2016 4:00 am

Bluefox wrote:The stats-icon was indeed not in matches so am going to add it back. Think the editstats view needs to be addressed a bit more and that's why it was probably not there.

just a question: how should that tmpl be working?
(am not having Joomla 2.x)

I think I can't answer, because I don't know statistics well ..maybe if I test it more close I can think about it...


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

Who is online

Users browsing this forum: No registered users and 2 guests

cron