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]

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

  • 5 months later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.