issues with substitution on front-end

Moderator: And_One

Posts: 16
Joined: Thu Jan 28, 2010 11:32 pm

issues with substitution on front-end

Postby tut4nk4m0n » Thu Jun 12, 2014 10:10 am

Hello everyone.

I have installed joomleague v2.64.118.70ea1eb on joomla Joomla! 2.5.14 and have some issues with substitution on front-end. Everything is working fine on back-end but I will relly preferr to be able to enter substitution also from front-end.

The problem: On front-end I am entering the "substitution out" and "substitution in" players, choose minute and click "save". Nothing happens.

I tried to look at php code "default_edit_home_substitution.php" and I noticed that there is a line

Code: Select all

<?php // <div id='ajaxresponse-homesubst'></div> ?>

also I noticed that in comparision to the admin file "editlineup_substitutions.php" the are some javascript file missing

Code: Select all

<script type="text/javascript">
// url for ajax
var baseajaxurl='<?php echo JUri::root();?>administrator/index.php?option=com_joomleague&<?php echo JUtility::getToken() ?>=1';
var teamid=<?php echo $this->projectteam1_id; ?>;
var matchid=<?php echo $this->match->id; ?>;
// We need to setup some text variables for translation
var str_delete="<?php echo JText::_('COM_JOOMLEAGUE_GLOBAL_REMOVE'); ?>";

I already tried to add javascript code and the commented div into the front-end file but still nothing happens.

Can anyone help please? Thanks

Return to “en-GB”

Who is online

Users browsing this forum: No registered users and 2 guests