Gossamer Forum
Home : Products : Links 2.0 : Customization :

What's Cool? | What's New?

Quote Reply
What's Cool? | What's New?
Hi every1,

Happy new year and three questions.

1. How can I remove the categories from my what's new and what's cool pages?
2. How can I change the fonts of the categories in what's new and what's cool pages?
3. How can I change the title bar appearance to Home > Arts & Culture > Architecture etc.

Best regards,

Mojam Ali

Quote Reply
Re: What's Cool? | What's New? In reply to
In Reply To:
1. How can I remove the categories from my what's new and what's cool pages?
Edit the sub build_new_page and sub build_cool_page in the nph-build.cgi. Look for the $link_results variable in these subs and then delete the $category_clean variable....

Look for the following line of codes:

Code:

$category_clean = &build_clean ($category);
$link_results .= qq|<P><A HREF="$build_root_url/$category/$build_index">$category_clean</A>\n|;


In Reply To:
2. How can I change the fonts of the categories in what's new and what's cool pages?
Again...edit the subs I mentioned above...add your own font codes in the $link_results configs in those subs.

In Reply To:
3. How can I change the title bar appearance to Home > Arts & Culture > Architecture etc.
Search the Links 2.0 Forums for Top Change Build.




Regards,

Eliot Lee
Quote Reply
Re: What's Cool? | What's New? In reply to
Or how about changing this (in search.cgi)...

sub build_linked_title {
# --------------------------------------------------------
# A little different then the one found in nph-build.cgi as it also
# links up the last field as well.

my ($input) = shift;

my ($dir, $output, $path, $last);
foreach $dir ((split m!/!, $input)) {
$path .= "/$dir";
$dir = &build_clean ($dir);
$output .= qq|<A HREF="$build_root_url$path/">$dir</A> :|;
}
chop ($output);
return $output;
}


....to.....

sub build_linked_title {
# --------------------------------------------------------
# A little different then the one found in nph-build.cgi as it also
# links up the last field as well.

my ($input) = shift;

my ($dir, $output, $path, $last);
foreach $dir ((split m!/!, $input)) {
$path .= "/$dir";
$dir = &build_clean ($dir);
$output .= qq|<A HREF="$build_root_url$path/">$dir</A> >|;
}
chop ($output);
return $output;
}



Paul Wilson. Shocked
(Dont blame me if I'm wrong!)
Quote Reply
Re: What's Cool? | What's New? In reply to
In Reply To:
Or how about changing this (in search.cgi)...
That only changes the LINKED title in the search.cgi script NOT in the category pages.

Regards,

Eliot Lee
Quote Reply
Re: What's Cool? | What's New? In reply to
Thanx Eliot,

The what's new and what's cool pages look great now without those categories. And Paul good try but that's not what I am looking for. What I am trying to change is the <title> tag. I have changed the first part in the templates but this is only good if you don't have subcategories. This is what I have done so far: <%site_title%> > <%category_clean%>. I cannot find how to change the rest and searching this forum seems to give what you have posted. Eliot is it possible to change this?

Quote Reply
Re: What's Cool? | What's New? In reply to
Again...if you try using the search terms I provided, you should find a lot of relevant Threads...use the search TIPS and SUGGESTIONS I provided in the Discussion Forum about two weeks ago.

Regards,

Eliot Lee
Quote Reply
Re: What's Cool? | What's New? In reply to
Okay can't find it for real. Is it in nph_build or elsewhere?

Quote Reply
Re: What's Cool? | What's New? In reply to
UGH!

Search for title linked!

Trust me....you will find THREADS! AND AGAIN..

U S E

T H E

S E A R C H T I P S AND S U G G E S T I O N S!!

That are posted in the Discussion Forum!

Regards,

Eliot Lee
Quote Reply
Re: What's Cool? | What's New? In reply to
Okay, what is it now that I have to search for. title_linked or Top Change Build? I've searched the forum if I haven't I wouldn't be asking you! Anybody else out there?

Quote Reply
Re: What's Cool? | What's New? In reply to
There is really an abundance of related discussions in the forums, check out this one for instance (further down the thread):

http://www.gossamer-threads.com/...ew=&sb=&vc=1


Thomas
http://www.japanreference.com
Quote Reply
Re: What's Cool? | What's New? In reply to
In Reply To:
I've searched the forum
Not hard enough and even after I provided you suggestions. Mad!

Regards,

Eliot Lee
Quote Reply
Re: What's Cool? | What's New? In reply to
Thanks Thomas that did it. Elliot thanks too (although you've been a pain) but you're usually helpful.

Regards,

Mojam Ali