Jump to content

Possibly stupid but I need help!


Racingreport

Recommended Posts

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
Share on other sites

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.