treybraid Posted March 22, 2011 Share Posted March 22, 2011 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] Quote Link to comment https://forums.phpfreaks.com/topic/231433-help-with-sports-component-and-module-for-joomla/ Share on other sites More sharing options...
cemmac Posted March 29, 2011 Share Posted March 29, 2011 Give me a few days and will try using other code from similar component........ Cemmac Quote Link to comment https://forums.phpfreaks.com/topic/231433-help-with-sports-component-and-module-for-joomla/#findComment-1193539 Share on other sites More sharing options...
treybraid Posted March 30, 2011 Author Share Posted March 30, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/231433-help-with-sports-component-and-module-for-joomla/#findComment-1194306 Share on other sites More sharing options...
cemmac Posted March 31, 2011 Share Posted March 31, 2011 yes it would seem so... but am just trying something else that may resolve it for you.... talk later cemmac Quote Link to comment https://forums.phpfreaks.com/topic/231433-help-with-sports-component-and-module-for-joomla/#findComment-1194966 Share on other sites More sharing options...
treybraid Posted March 31, 2011 Author Share Posted March 31, 2011 thanks Quote Link to comment https://forums.phpfreaks.com/topic/231433-help-with-sports-component-and-module-for-joomla/#findComment-1195012 Share on other sites More sharing options...
blyter Posted September 30, 2011 Share Posted September 30, 2011 Please note the latest versions of the modules now have this feature. A new stat leaders module has also been added to the extension along with import/export feature and a lot of bug fixes... Quote Link to comment https://forums.phpfreaks.com/topic/231433-help-with-sports-component-and-module-for-joomla/#findComment-1274495 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.