Gossamer Forum
Home : Products : Gossamer Links : PHP Front End :

<title><%category_name%></title>

Quote Reply
<title><%category_name%></title>
Is there any way to get this to show the current category and not "category/categoryname"

Also, is there anyway of dong a minus word with this tag like <p><%category_name -hotels%></title></p>

Appreciative of any help

Andy
Quote Reply
Re: [chapelier] <title><%category_name%></title> In reply to
From an SEO standpoint, I would also like to be able to change the "/" for the title tag "category/categoryname"

I would like to change it to:

"category - categoryname"
or
"category categoryname"

Any suggestions?
Quote Reply
Re: [Soren] <title><%category_name%></title> In reply to
In the page.php script, or the normal static / page.cgi script? This is the PHP forum =)

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] <title><%category_name%></title> In reply to
My mistake page.cgi script Unimpressed
Quote Reply
Re: [Soren] <title><%category_name%></title> In reply to
Hi,

Try this global:

Code:
sub {
my @split = split /\//, $_[0];
return join(" - " , @split);
}

..and call with:

<%global_name($Full_Name)%>

That should do the trick Smile

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] <title><%category_name%></title> In reply to
Perfect! Thanks Andy