Jump to content

help with sports component and module for joomla


treybraid

Recommended Posts

this is a football component made by company called fastball productions.... ive gone in and styled the component and i am down to really 1 edit... trying to add the team logo/s to the standings table within the component.... and also within the modules next to the team name's as well...

 

ive attached the component along with 2 modules for the component ( standings and next game )...

 

any ideas

trey

 

[attachment deleted by admin]

thanks cemmac..which component are you using bearleague?  like i said i am just trying to echo and pull the team logos and put them in the standings table of the component.... the standings table of the module and then the results module... right next to the team name...

 

i did add this to the params in the module...

$params = &JComponentHelper::getParams('com_gridiron');

 

and this was added to the table:

 

<img src="<?php echo JURI::base() . $params->get('images_path') . $team->logo;?>" alt="<?php echo stripslashes($team->name);?>" title="<?php echo stripslashes($team->name);?>" border="1" />

 

almost there... when i view the page source this is what it tells me:

      <td style="text-align:center; width:20px; height:20px; "><!-- team logo -->

  <img src="http://localhost/GAFL/images/gridiron/" alt="" title="" border="1" /> 

    <!-- team logo --></td>

        <td style="text-align:left; width: 200px; font-size: 12px;"><a href="/GAFL/index.php?option=com_gridiron&view=team&id=2">Lakeland Renegades</a></td>

      <td style="text-align:center; width:20px;">1</td>

      <td style="text-align:center; width:20px;">0</td>

 

     

          <td style="text-align:center; width:50px;">1.000</b></td>

      <td style="text-align:center; width:30px;">1</td>

        <td style="text-align:center; width:30px;">35</td>

      <td style="text-align:center; width:30px;">17</td>

        <td style="text-align:center; width:4px;"></td>

 

...as you can see the referance to the team logo is still missing; but, at least it is set to the folder... leads me to believe my params still isnt correct...

 

your thoughts

trey

 

  • 5 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.