Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Pls help, How can I edit the header or title..

Quote Reply
Pls help, How can I edit the header or title..
Hello Guys!

Is there someone who could help me to fix the following;

1. In this link http://www.christianresourcesite.org/T/Ta-Tb/index.html how can I change the word Categories to Languages

2. http://www.christianresourcesite.org/...b/Tagalog/index.html how can I change the word Languages to Links

Thanks!


mcosAngelic
Quote Reply
Re: [mcos] Pls help, How can I edit the header or title.. In reply to
Hi,

It seems you have the first one done ok?

For the 2nd one - is it just that category you want to change it for? If so, in category.html you could do something like:

Code:
<%if ID == 1234%>Languages<%else%>Categories<%endif%>

Bit hard to give a decent answer though, as you were not too clear with your question Angelic

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] Pls help, How can I edit the header or title.. In reply to
Hi Andy,

Sorry if my question is not clear.

I hope you can understand me now, what I want to do is to replace the word Categories in this link http://www.christianresourcesite.org/T/Ta-Tb/index.html but I don't know how to do that. Is there a way that I can change the word Categories to Languages, because below you can see different languages like Tagalog and Tamil that's why I want to change the title Categories to Languages.

Thanks.


mcosAngelic
Quote Reply
Re: [mcos] Pls help, How can I edit the header or title.. In reply to
Hi,

Are you just wanting to do this when its more than 1 level deep?

For example:

Foo -
Foo/Bar - show something different for category/links headers

If so, you could try:

Code:
<%if CatDepth > 0%>
Languages
<%else%>
Categories
<%endif%>

CatDepth tells us how "deep" we are. For example:

Foo - CatDepth => 0
Foo/Bar - CatDepth => 1
Foo/Bar/Test - CatDepth => 2
Foo/Bar/Test/Another - CatDepth => 3

Hope that makes sense

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: [mcos] Pls help, How can I edit the header or title.. In reply to
Hi mcos,

I'm afraid Andy is right, you are not giving much info, there are many ways to achieve that.

What's the criteria behind displaying Languages, Categories or Links?

Do you care to elaborate?

Edit: Ooops, nevermind, you replied while I was replying =)

Cheers,
Boris

Facebook, Twitter and Google+ Auth for GLinks and GCommunity | reCAPTCHA for GLinks | Free GLinks Plugins

Last edited by:

eupos: Jul 9, 2012, 6:01 AM
Quote Reply
Re: [Andy] Pls help, How can I edit the header or title.. In reply to
Dear Andy,

I try to input what you've given to me but it appears like this:



Categories

Tagalog Tamil
Languages


The word Categories is still there, Languages should be in the position of Categories, is there a way to change that header.

Thanks.

mcosAngelic
Quote Reply
Re: [mcos] Pls help, How can I edit the header or title.. In reply to
You need to give us a REAL example... for example:

Category: "Foo Bar"
Header for Categories: Categories
Header for Links: Listings

Category: "Foo Bar/Sub Cat"
Header for Categories: Categories
Header for Links: Listings

Category: "Foo Bar/Sub Cat/Something"
Header for Categories: Languages
Header for Links: Links

..etc

You're not giving us anything to really work on to help you Whistle

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: [mcos] Pls help, How can I edit the header or title.. In reply to
Wouldnt that be in the category.html template? A simple word "Categories" when categories exist within a parent category and "Links" when liks are displayed?

just look inside category.html and there youll find both words so you can simply change them.