No initial results for rounds

Moderator: And_One

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

No initial results for rounds

Postby Trubadix » Mon Feb 24, 2014 1:08 pm

I'm not a xml-guru, so I need Help.
The "JRequest::getInt('p',0)" shows allways the right number.
The "JRequest::getInt('division',0)" shows allways the right number.
The "JRequest::getInt('r', -1)" shows allways Zero
The "JRequest::getInt('r', 0)" shows allways Zero

If division is found then the round must be available (depends on "p") to or not?
What must be changed, that "JRequest::getInt('r', 0)" is not zero on division with rounds and results?

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<metadata>
   <layout title="COM_JOOMLEAGUE_XML_RESULTS_LAYOUT_TITLE">
      <message>
         <![CDATA[COM_JOOMLEAGUE_XML_RESULTS_LAYOUT_DESCR]]>
      </message>
   </layout>
   <fields name="request">
      <fieldset   name="request"
               label="COM_JOOMLEAGUE_XML_BASIC_FIELDSET_LABEL"
               addfieldpath="/administrator/components/com_joomleague/models/fields">

         <field   name="p" type="project"
               label="COM_JOOMLEAGUE_XML_SELECT_PROJECT_LABEL"
               description="COM_JOOMLEAGUE_XML_SELECT_PROJECT_DESCR"
               required="true">
         </field>
         <field   name="division" type="dependsql" depends="p" task="projectdivisionsoptions"
               label="COM_JOOMLEAGUE_XML_SELECT_DIVISION_LABEL"
               description="COM_JOOMLEAGUE_XML_SELECT_DIVISION_DESCR"
               required="false">
         </field>
         <field   name="r" type="dependsql" depends="p" task="roundsoptions"
               label="COM_JOOMLEAGUE_XML_SELECT_ROUND_LABEL"
               description="COM_JOOMLEAGUE_XML_SELECT_ROUND_DESCR"
               required="false">
         </field>

      </fieldset>
   </fields>
</metadata>
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 “results”

Who is online

Users browsing this forum: No registered users and 2 guests

cron