Jump to content


Photo

Standings not loading in custom tabs

Custom

8 replies to this topic

#1 GMD2047

GMD2047

    Veteran

  • Members
  • PipPipPip
  • 51 posts

Posted 07 April 2021 - 10:17 AM

*Stats not standings

Hey guys,

 

For some reason the stats aren't working for my custom tabs, can you take a look please?

 

-https://www63.myfant...ODULE=MESSAGE14-

<div id="myfantasyleague_tabs">
  <table class="report">
    <caption><span>'20 Top Players </span></caption>
    <tbody></tbody>
  </table>
  <div class="toggle_tabs">
    <table class="report">
      <tbody>
        <tr>
          <td>
            <div class="myfantasyleague_tabmenu">
              <span id="tab_title_500">500</span>
              <input id="sub500" type="checkbox">
              <label for="sub500"><span></span></label>
                <ul id="homepagetabs">
                  <li id="tab500" onclick="javascript:show_custom_tab('500');"><a class="no-sub">ALL<input id="sub500" type="checkbox"><label for="sub500"></label></a></li>
                  <li id="tab501" onclick="javascript:show_custom_tab('501');"><a class="no-sub">OFF<input id="sub500" type="checkbox"><label for="sub500"></label></a></li>
                  <li id="tab502" onclick="javascript:show_custom_tab('502');"><a class="no-sub">DEF<input id="sub500" type="checkbox"><label for="sub500"></label></a></li>
                  <li id="tab503" onclick="javascript:show_custom_tab('503');"><a class="no-sub">Non QB<input id="sub500" type="checkbox"><label for="sub500"></label></a></li>
                  <li id="tab504" onclick="javascript:show_custom_tab('504');"><a class="no-sub">FLEX<input id="sub500" type="checkbox"><label for="sub500"></label></a></li>
                  <li id="tab505" onclick="javascript:show_custom_tab('505');"><a class="no-sub">QB<input id="sub500" type="checkbox"><label for="sub500"></label></a></li>
                  <li id="tab506" onclick="javascript:show_custom_tab('506');"><a class="no-sub">RB<input id="sub500" type="checkbox"><label for="sub500"></label></a></li>
                  <li id="tab507" onclick="javascript:show_custom_tab('507');"><a class="no-sub">FB<input id="sub500" type="checkbox"><label for="sub500"></label></a></li>
                  <li id="tab508" onclick="javascript:show_custom_tab('508');"><a class="no-sub">WR<input id="sub500" type="checkbox"><label for="sub500"></label></a></li>
                  <li id="tab509" onclick="javascript:show_custom_tab('509');"><a class="no-sub">TE<input id="sub500" type="checkbox"><label for="sub500"></label></a></li>
                  <li id="tab510" onclick="javascript:show_custom_tab('510');"><a class="no-sub">DT<input id="sub500" type="checkbox"><label for="sub500"></label></a></li>
                  <li id="tab511" onclick="javascript:show_custom_tab('511');"><a class="no-sub">DE<input id="sub500" type="checkbox"><label for="sub500"></label></a></li>
                  <li id="tab512" onclick="javascript:show_custom_tab('512');"><a class="no-sub">DL<input id="sub500" type="checkbox"><label for="sub500"></label></a></li>
                  <li id="tab513" onclick="javascript:show_custom_tab('513');"><a class="no-sub">LB<input id="sub500" type="checkbox"><label for="sub500"></label></a></li>
                  <li id="tab514" onclick="javascript:show_custom_tab('514');"><a class="no-sub">CB<input id="sub500" type="checkbox"><label for="sub500"></label></a></li>
                  <li id="tab515" onclick="javascript:show_custom_tab('515');"><a class="no-sub">S<input id="sub500" type="checkbox"><label for="sub500"></label></a></li>
                  <li id="tab516" onclick="javascript:show_custom_tab('516');"><a class="no-sub">DB<input id="sub500" type="checkbox"><label for="sub500"></label></a></li>
                  <li id="tab517" onclick="javascript:show_custom_tab('517');"><a class="no-sub">PK<input id="sub500" type="checkbox"><label for="sub500"></label></a></li>
                  <li id="tab518" onclick="javascript:show_custom_tab('518');"><a class="no-sub">PN<input id="sub500" type="checkbox"><label for="sub500"></label></a></li>
                </ul>
            </div>
          </td>
        </tr>
      </tbody>
    </table>
    <div class="tabs_scroll">
      <div id="tabcontent500" class="homepagetabcontent">
        <module name="TOP_PERFORMERS" COUNT="999" YEAR=“2020” />
      </div>
      <div id="tabcontent501" class="homepagetabcontent">
        <module name="TOP_PERFORMERS" COUNT="999" POSITION="QB|RB|FB|WR|TE" YEAR=“2020”/>
      </div>
      <div id="tabcontent502" class="homepagetabcontent">
        <module name="TOP_PERFORMERS" COUNT="999" POSITION="DT|DE|LB|CB|S" YEAR=“2020” />
      </div>
      <div id="tabcontent503" class="homepagetabcontent">
        <module name="TOP_PERFORMERS" COUNT="999" POSITION="RB|FB|WR|TE|DT|DE|LB|CB|S" YEAR=“2020” />
      </div>
      <div id="tabcontent504" class="homepagetabcontent">
        <module name="TOP_PERFORMERS" COUNT="999" POSITION="RB|FB|WR|TE" YEAR=“2020” />
      </div>
      <div id="tabcontent505" class="homepagetabcontent">
        <module name="TOP_PERFORMERS" COUNT="999" POSITION="QB" YEAR=“2020”/>
      </div>
      <div id="tabcontent506" class="homepagetabcontent">
         <module name="TOP_PERFORMERS" COUNT="999" POSITION="RB" YEAR=“2020” />
      </div>
      <div id="tabcontent507" class="homepagetabcontent">
        <module name="TOP_PERFORMERS" COUNT="999" POSITION="FB" YEAR=“2020” />
      </div>
      <div id="tabcontent508" class="homepagetabcontent">
        <module name="TOP_PERFORMERS" COUNT="999" POSITION="WR"YEAR=“2020” />
      </div>
      <div id="tabcontent509" class="homepagetabcontent">
        <module name="TOP_PERFORMERS" COUNT="999" POSITION="TE" YEAR=“2020” />
      </div>
      <div id="tabcontent510" class="homepagetabcontent">
        <module name="TOP_PERFORMERS" COUNT="999" POSITION="DT" YEAR=“2020” />
      </div>
      <div id="tabcontent511" class="homepagetabcontent">
        <module name="TOP_PERFORMERS" COUNT="999" POSITION="DE" YEAR=“2020” />
      </div>
      <div id="tabcontent512" class="homepagetabcontent">
        <module name="TOP_PERFORMERS" COUNT="999" POSITION="DE|DT" YEAR=“2020” />
      </div>
      <div id="tabcontent513" class="homepagetabcontent">
        <module name="TOP_PERFORMERS" COUNT="999" POSITION="LB" YEAR=“2020” />
      </div>
      <div id="tabcontent514" class="homepagetabcontent">
        <module name="TOP_PERFORMERS" COUNT="999" POSITION="CB" YEAR=“2020” />
      </div>
      <div id="tabcontent515" class="homepagetabcontent">
        <module name="TOP_PERFORMERS" COUNT="999" POSITION="S" YEAR=“2020” />
      </div>
      <div id="tabcontent516" class="homepagetabcontent">
        <module name="TOP_PERFORMERS" COUNT="999" POSITION="CB|S" YEAR=“2020” />
      </div>
      <div id="tabcontent517" class="homepagetabcontent">
        <module name="TOP_PERFORMERS" COUNT="999" POSITION="PK" YEAR=“2020” />
      </div>
      <div id="tabcontent518" class="homepagetabcontent">
        <module name="TOP_PERFORMERS" COUNT="999" POSITION="PN" YEAR=“2020” />
      </div>
    </div>
  </div>
</div>
<script>
  show_custom_tab(500);
</script>
 
 
<!-- REPORTS TABS START -->
<div id="myfantasyleague_tabs" class="mobile-wrap">
    <table class="homepagemodule report" id="tab_reports" cellspacing="1" align="center">
    <caption><span>League Reports</span></caption>
    <tbody></tbody>
  </table>
 <div class="toggle_tabs">
    <table class="report">
    <caption><span>Unrestricted Free Agents by Position</span></caption>
    <tbody></tbody>
  </table>
  <div class="toggle_tabs">
    <table class="report">
      <tbody>
        <tr>
          <td>
            <div class="myfantasyleague_tabmenu">
              <span id="tab_title_400">400</span>
              <input id="sub400" type="checkbox">
              <label for="sub400"><span></span></label>
                <ul id="homepagetabs">
                  <li id="tab400" onclick="javascript:show_custom_tab('400');"><a class="no-sub">ALL<input id="sub400" type="checkbox"><label for="sub400"></label></a></li>
                  <li id="tab401" onclick="javascript:show_custom_tab('401');"><a class="no-sub">QB<input id="sub400" type="checkbox"><label for="sub400"></label></a></li>
                  <li id="tab402" onclick="javascript:show_custom_tab('402');"><a class="no-sub">RB<input id="sub400" type="checkbox"><label for="sub400"></label></a></li>
                  <li id="tab403" onclick="javascript:show_custom_tab('403');"><a class="no-sub">FB<input id="sub400" type="checkbox"><label for="sub400"></label></a></li>
                  <li id="tab404" onclick="javascript:show_custom_tab('404');"><a class="no-sub">WR<input id="sub400" type="checkbox"><label for="sub400"></label></a></li>
                  <li id="tab405" onclick="javascript:show_custom_tab('405');"><a class="no-sub">TE<input id="sub400" type="checkbox"><label for="sub400"></label></a></li>
                  <li id="tab406" onclick="javascript:show_custom_tab('406');"><a class="no-sub">PK<input id="sub400" type="checkbox"><label for="sub400"></label></a></li>
                  <li id="tab407" onclick="javascript:show_custom_tab('407');"><a class="no-sub">PN<input id="sub400" type="checkbox"><label for="sub400"></label></a></li>
                  <li id="tab408" onclick="javascript:show_custom_tab('408');"><a class="no-sub">DT<input id="sub400" type="checkbox"><label for="sub400"></label></a></li>
                  <li id="tab409" onclick="javascript:show_custom_tab('409');"><a class="no-sub">DE<input id="sub400" type="checkbox"><label for="sub400"></label></a></li>
                  <li id="tab410" onclick="javascript:show_custom_tab('410');"><a class="no-sub">LB<input id="sub400" type="checkbox"><label for="sub400"></label></a></li>
                  <li id="tab411" onclick="javascript:show_custom_tab('411');"><a class="no-sub">CB<input id="sub400" type="checkbox"><label for="sub400"></label></a></li>
                  <li id="tab412" onclick="javascript:show_custom_tab('412');"><a class="no-sub">S<input id="sub400" type="checkbox"><label for="sub400"></label></a></li>
                </ul>
            </div>
          </td>
        </tr>
      </tbody>
    </table>
    <div class="tabs_scroll">
      <div id="tabcontent400" class="homepagetabcontent">
        <module name="TOP_FA" COUNT="999" YEAR=“2020” />
      </div>
      <div id="tabcontent401" class="homepagetabcontent">
        <module name="TOP_FA" COUNT="999" POSITION="QB" YEAR=“2020” />
      </div>
      <div id="tabcontent402" class="homepagetabcontent">
        <module name="TOP_FA" COUNT="999" POSITION="RB" YEAR=“2020” />
      </div>
      <div id="tabcontent403" class="homepagetabcontent">
        <module name="TOP_FA" COUNT="100" POSITION="FB" YEAR=“2020” />
      </div>
      <div id="tabcontent404" class="homepagetabcontent">
        <module name="TOP_FA" COUNT="999" POSITION="WR" YEAR=“2020” />
      </div>
      <div id="tabcontent405" class="homepagetabcontent">
        <module name="TOP_FA" COUNT="999" POSITION="TE" YEAR=“2020” />
      </div>
      <div id="tabcontent406" class="homepagetabcontent">
        <module name="TOP_FA" COUNT="100" POSITION="PK" YEAR=“2020” />
      </div>
      <div id="tabcontent407" class="homepagetabcontent">
        <module name="TOP_FA" COUNT="100" POSITION="PN" YEAR=“2020” />
      </div>
      <div id="tabcontent408" class="homepagetabcontent">
        <module name="TOP_FA" COUNT="999" POSITION="DT" YEAR=“2020” />
      </div>
      <div id="tabcontent409" class="homepagetabcontent">
        <module name="TOP_FA" COUNT="999" POSITION="DE" YEAR=“2020” />
      </div>
      <div id="tabcontent410" class="homepagetabcontent">
        <module name="TOP_FA" COUNT="999" POSITION="LB" YEAR=“2020” />
      </div>
      <div id="tabcontent411" class="homepagetabcontent">
        <module name="TOP_FA" COUNT="999" POSITION="CB" YEAR=“2020” />
      </div>
      <div id="tabcontent412" class="homepagetabcontent">
        <module name="TOP_FA" COUNT="999" POSITION="S" YEAR=“2020” />
      </div>
    </div>
  </div>
</div>
<script>
  show_custom_tab(400);
</script>
 


#2 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,924 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 07 April 2021 - 11:08 AM

All loads as they should
What stats are you talking about ?
There are no stats for 2021 so tables will remain empty until after week 1

All the scripts I post were created by Habman , with some small contributions from myself. The man has done an outstanding job giving the community a variety of options to enhance the site. Thank you sir !!


#3 GMD2047

GMD2047

    Veteran

  • Members
  • PipPipPip
  • 51 posts

Posted 07 April 2021 - 11:28 AM

I am wanting the 2020 stats to populate 

 

YEAR=“2020” with this tag, it has worked in previous years

 



Seems like maybe that code doesn't work anymore? I tried changing to 2019 and it didn't work either. I am wanting these stats to populate, if possible. https://www63.myfant...Y=points&TEAM=*



Ah my bad I said standings but I meant stats



#4 GMD2047

GMD2047

    Veteran

  • Members
  • PipPipPip
  • 51 posts

Posted 07 April 2021 - 11:32 AM

Another example I am wanting this information to show up for the top free agent tabs: 



#5 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,924 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 07 April 2021 - 11:43 AM

looks like syntax unicode for the quotes around YEAR are wrong

 

you have

YEAR=“2020” />

 

 

should be 

YEAR="2020"/>

 

 

 

you notice the differences in the " symbols ?  , your text editor or mfl editor has made those " incorrectly , so the modules are pulling current year 2021 and not 2020 i believe, at least that is the only thing i can find wrong


All the scripts I post were created by Habman , with some small contributions from myself. The man has done an outstanding job giving the community a variety of options to enhance the site. Thank you sir !!


#6 GMD2047

GMD2047

    Veteran

  • Members
  • PipPipPip
  • 51 posts

Posted 07 April 2021 - 12:40 PM

Yup that was it I didn't notice, I just need to replace those. 

 

Thanks!



#7 GMD2047

GMD2047

    Veteran

  • Members
  • PipPipPip
  • 51 posts

Posted 07 April 2021 - 01:01 PM

Is there a code I can add for rookies?



#8 theeohiostate

theeohiostate

    Veteran

  • Members
  • PipPipPip
  • 3,924 posts
  • Gender:Male
  • Location:O-H-I-O

Posted 07 April 2021 - 01:10 PM

MFL has no option for rookies in the modules


All the scripts I post were created by Habman , with some small contributions from myself. The man has done an outstanding job giving the community a variety of options to enhance the site. Thank you sir !!


#9 GMD2047

GMD2047

    Veteran

  • Members
  • PipPipPip
  • 51 posts

Posted 07 April 2021 - 01:11 PM

OK thanks again





Reply to this topic



  



Also tagged with one or more of these keywords: Custom

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users