Gossamer Forum
Quote Reply
rate.cgi title_linked
Is there any way to include the title_linked or "trail" within rate.cgi. The properties do not allow it, but is there a mod rewrite for this?
Quote Reply
Re: [mddrew01] rate.cgi title_linked In reply to
Hi. What would you want it to look like? Something like;

Home : Category : Sub Category : Rate : TITLE

?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] rate.cgi title_linked In reply to
Hi Andy,

Yes like you described above or maybe simply link directly back to the referring category. This is for SEO purposes. Links bleed PR and linking back to the category will help stop some of the bleed.

- Mark
Quote Reply
Re: [mddrew01] rate.cgi title_linked In reply to
You could use something like this:

sub {
# Displays the title linked on Rate page.
my $id=shift;
my $title=shift;
my $table = $DB->table('CatLinks','Category');
$table->select_options('LIMIT 1');
my $fullname = $table->select ( ['Full_Name'],{ LinkID=> $id})->fetchrow_array;
my $fulltitle="$fullname/$title";
return Links::Build::build('title_linked',$fulltitle);
}

Note that for links in multiple categories it just takes the first category it finds in the CatLinks table.

<%globalname($ID,$Title)%>