Support Forums

Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

How do you edit 'Team Type'

Featured Lock Resolved Issue
Hi, in SP Soccer the 'team type' is a mandatory field (and displays under the team name) but I can't find anyway from the component to edits the values for it. It currently just has international, and league, but I want to change these values and add more. How do I do that?

7 Answers

Toufiq - Staff

More than a month ago #Permalink
Hi,

Thanks for your query. Please following the instruction.

1. Go to the file location & open this form.form.xml file
administrator/components/com_spsoccer/views/gameteam/tmpl/form.form.xml
Find out this code & if you need modify please do yourself.

<field name="team_type"
type="list"
label="COM_SPSOCCER_FIELD_TEAM_TYPE" >
<option value="national">COM_SPSOCCER_FIELD_TEAM_TYPE_INTERNATIONAL</option>
<option value="league">COM_SPSOCCER_FIELD_TEAM_TYPE_LEAGUE</option>
</field>

2. 1. Go to the file location & open this en-GB.com_spsoccer.ini file
administrator/language/en-GB/en-GB.com_spsoccer.ini
3. Find out this language code and set your desire text

COM_SPSOCCER_FIELD_TEAM_TYPE_INTERNATIONAL="International"
COM_SPSOCCER_FIELD_TEAM_TYPE_LEAGUE="League"


Note: Customization is not allowed.

-Thanks

simonslee

More than a month ago #Permalink
Thank you very much!

Toufiq - Staff

More than a month ago #Permalink
Thank you very much!


Hi, Thanks for your reply & You are most welcome. Thanks

simonslee

More than a month ago #Permalink
Hello again, this didn't work. I can change the 2 that are there originally (League and International), but I need to add more values to this list, not just change the 2 that are there. How do I do that?

I tried adding more values but they do not show up in the list?

Attachments (1)

  • Capture.JPG
    Capture.JPG 105.1 KB

John Flanagan

More than a month ago #Permalink
I need this to work as well. I need a bunch of different team types so that I can use it for different sports

Toufiq - Staff

More than a month ago #Permalink
I need this to work as well. I need a bunch of different team types so that I can use it for different sports


Hi, We will add this feature next update. Thanks

Ubaerto

More than a month ago #Permalink
Hi Toufiq

When would be this feature available? Or did you guys do not update this compontent "soccer" never again?`

Thanks
Urs


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 103
Sifat

Sifat

Total Accepted Answers: 97
Toufiq

Toufiq

Total Accepted Answers: 36
Pavel

Pavel

Total Accepted Answers: 4
J

johnny

Total Accepted Answers: 3

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us