Racingreport Posted February 28, 2011 Share Posted February 28, 2011 I am fairly new to php relating to databases so I'm a little uncertain with my current quandry! I am using a component for Joomla to display tables of motorsport results. The programme produces a table in a module position with a number of links, driver name, team name and a view table link. My problem is that my SEO plug-in does not have a compatablity add on for the component and it screws up. I dont need the links, so I am trying to remove them. My question is this: class TracksHelperRoute { /** * return link to details view of specified event * @param int $id * @param int $xref * @return url */ function getRoundResultRoute($id = 0) { $parts = array( "option" => "com_tracks", "view" => "roundresult" ); if ($id) { $parts['pr'] = $id; } return self::buildUrl( $parts ); } If I remove this bit: return self::[b]buildUrl[/b]( $parts ); Will that stop the links from being made?? I have removed the link into the application, but I don't want to break the whole component removing code! Link to comment https://forums.phpfreaks.com/topic/229122-possibly-stupid-but-i-need-help/ Share on other sites More sharing options...
Racingreport Posted February 28, 2011 Author Share Posted February 28, 2011 Issue resolved. Put simply: I did delete the above and it did what I wanted without dying horribly. So all is good. Could a mod mark as Solved please? Link to comment https://forums.phpfreaks.com/topic/229122-possibly-stupid-but-i-need-help/#findComment-1180879 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.