• This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.
  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Bug Fixed Some problem with Custom Fileds

netkingZ

New Member
Joined
Sep 21, 2016
Messages
28
Hello @Fredxd ,
i bought Roster Add-on, but i have some problem and questions:
1- When i create a Custom Field in Application --> Custom Club Filed this is the error:


How to fix it?
2- the system create a Custom Field but after , when i want delete it, i can't delete it. To delete a Custom Field i must to delete it from database.
How to fix it?

3- I don't like that i'm bound to insert a position of view ... and i have only a possibility : Information.
Its possibile to modify this aspect of your add-on?

4-I made a Cover Custom Field for Team (Roster Addon).
Now i want to show this Cover Image on Cover div that i had make on wrapper template.
How to recall a Custom Filed Value to .CSS template?
For example: @customFiled.MyField

i wait your response.
Thanks you Fred
 

netkingZ

New Member
Joined
Sep 21, 2016
Messages
28
4-I made a Cover Custom Field for Team (Roster Addon).
Now i want to show this Cover Image on Cover div that i had make on wrapper template.
How to recall a Custom Filed Value to .CSS template?
For example: @customFiled.MyField
i found a solution:
1- i create a custom field with id : xfa_roster_cover_club ;
2- In xfa_roster_wrapper Temaplate i insert after <xen:require css="xfa_roster.css" /> :
Code:
 <xen:foreach loop="$club.customFields" value="$field" key="$key">
      <xen:if is="{$field.value} != ''">

              <div class="coverTeam" style="background:    url({$field.value}) no-repeat;"></div>
    </xen:if>
</xen:foreach>
3- coverTeam is a simple .css class:
Code:
.coverTeam {
    
    margin-bottom: -50px;
    height:180px;
    width:auto;
    
}
So ... if user insert into Cover Team (custom field) a URL of image .. this is the result:



... :D

i wait a @Fredxd responce to other questions.
Thanks you
 

Fredxd

Administrator
Staff member
Joined
Nov 14, 2015
Messages
1,853
Hi
I look this when i come back from work if i have time or tomorrow ;)
 

netkingZ

New Member
Joined
Sep 21, 2016
Messages
28
How can insert a count of clubs in clubs_list template?
I waint your responce ... Thanks you @Fredxd
Exp.: {$clubs.Count}
 

Fredxd

Administrator
Staff member
Joined
Nov 14, 2015
Messages
1,853
Hello @Fredxd ,
i bought Roster Add-on, but i have some problem and questions:
1- When i create a Custom Field in Application --> Custom Club Filed this is the error:


How to fix it?
2- the system create a Custom Field but after , when i want delete it, i can't delete it. To delete a Custom Field i must to delete it from database.
How to fix it?

3- I don't like that i'm bound to insert a position of view ... and i have only a possibility : Information.
Its possibile to modify this aspect of your add-on?

4-I made a Cover Custom Field for Team (Roster Addon).
Now i want to show this Cover Image on Cover div that i had make on wrapper template.
How to recall a Custom Filed Value to .CSS template?
For example: @customFiled.MyField

i wait your response.
Thanks you Fred
1.Fixed in 1.0.4
2.Fixed in 1.0.4
3.You can only display field in Informations tabs for the moment


How can insert a count of clubs in clubs_list template?
I waint your responce ... Thanks you @Fredxd
Exp.: {$clubs.Count}
Done in 1.0.4


Please create 1 thread per bug/suggestion ;)