Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Categories separator in title

Quote Reply
Categories separator in title
Hello!

How can I change the separator of the categories in the title.

at the moment I have:

Cat1/Cat2/Cat3/Cat4

but I want get this:

Cat1, Cat2, Cat3, Cat4

...Knubbel
Quote Reply
Re: [Knubbel] Categories separator in title In reply to
You could use something like:
Code:
<%loop title_loop%><%if first%><%nextloop%><%endif%><%escape_html Name%><%unless last%>, <%endunless%><%endloop%>

The title_loop is used for generating the bread crumb, but we can use it here since it contains the current category structure. We need to skip the first item because it's the 'home' entry. You can remove the escape_html part if you actually allow html in your category names.

Adrian
Quote Reply
Re: [Knubbel] Categories separator in title In reply to
Hi,

This plugin would also work:

http://www.ultranerds.com/...s/ULTRAGlobals_L217/

Code:
<%Plugins::ULTRAGlobals::Edit_Title_Full_Name($Full_Name,'normal','&gt;','0')%>

..and that should do it :)

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] Categories separator in title In reply to
Tanks for your help.

I will try it tomorrow.

Can you tell me how I can add an additional field to add.cgi?

Thanks, Knubbel
Quote Reply
Re: [Knubbel] Categories separator in title In reply to
Hi,

No problem.

To add a new field, you need to goto Database > Links > Properties > Add field

Then, in include_form.html, add the HTML in for that field (easiest way, is to just copy an existing field - and rename the field name to the new one you've just added)

Hope that helps.

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] Categories separator in title In reply to
Code:
Thanks, but I dont't find:

Database > Links > Properties > Add field

in my adminpanel.

There are these links only:

Validate Links
Validate Changes
Validate Reviews
View Search Logs
Verify Links
Link Status
Check Duplicates
Purge Expired Links
Import/Export
MySQLMan
SQL Monitor


Thanks for your help, Knubbel.
Quote Reply
Re: [Knubbel] Categories separator in title In reply to
Hi,

Thats the right area, but you need to look at the SELECT boxes (above the list you just posted)

Database (link on top menu) > Links (select box) > Properties (select box) > Press "Go" button

Then, in the page that loads - at the bottom - there is an "Add Field" link - which is where you add the new field =)

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] Categories separator in title In reply to
thanks.
i'm so stupid.

i was blind.
now i have a new question. is it possible to change the navigation of the search-result-page?

i would prefer a navigation like:

1 2 3 4 5 6 7 8 9 10

//sorry for my bad english
Quote Reply
Re: [Knubbel] Categories separator in title In reply to
See this thread:
http://www.gossamer-threads.com/...orum.cgi?post=279296
on info on customizing the paging toolbar.

Adrian
Post deleted by Knubbel In reply to
Quote Reply
Re: [brewt] Categories separator in title In reply to
hello again.

i have a new question.

is it possible to give a specific link rank 1
if user are searching for a specific keyword?


knubbel