Gossamer Forum
Home : Products : Links 2.0 : Customization :

SUBCATEGORIES LIKE YAHOO v2.1

(Page 4 of 6)
> > > >
Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
I still can't get mine to work either. It gives me this error when I try to build:

Error including libraries: Unmatched right bracket at D:/216.247.220.101/cgi-bin/links/admin/site_html_templates.pl line 452, at end of line syntax error at D:/216.247.220.101/cgi-bin/links/admin/site_html_templates.pl line 452, near "}" Make sure they exist, permissions are set properly, and paths are set correctly.

I've gone through every remedy in this thread and I can't get anything to work either. I've also tried the whole process several times without any luck.

Let me know if anyone has any new ideas or would like to see my code.

Thanks
Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
Tell me what other mods you have added and put your files somewhere on your server so I can see them from the browser.

Larry
Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
I've made no other mods to my links. The only thing I've really done is alter the templates but I re-installed the default ones and got the same results.

Here are my files on my server:

categories.def > http://www.CompleteCrafts.com/links/categories.txt
site_html_templates.pl > http://www.CompleteCrafts.com/links/site_html_templates.txt
links.cfg > http://www.CompleteCrafts.com/links/links.txt

Let me know if you need to see anything else or have any other questions.

Thanks again for your help.


Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
Sorry about that.

categories.def should be category.def and the correct link to my file on the sever is http://CompleteCrafts.com/links/category.txt

Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
Can someone please try to help me out and take a look at my code above to see what problems I'm having.

Thanks in advance.
Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
erac,

The problem does not seem to lie with the files you gave...you must've forgotten to put the appopriate codes in the nph-build.cgi script. Re-read the instructions and put the correct codes in the nph-build.cgi file.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
What am I missing now? I've re-read the instructions and don't see anything about altering nph-build.cgi. This seems way to easy for me to be having this much trouble.

Should I maybe just try to install one of the other yahoo subcat mods? I've seen where there are a few different ones but I'm not sure what the differences are. I don't want to give up on this one though if I'm close.

Thanks again for your help.
Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
My fault...I apologize for the confusion...I had to do something different based on the different number of fields in my category.def file, so I had to edit my nph-build.cgi file.

Some people have found widgetz's subcategories mod easy to install...there is another Topic called Subcategories like Yahoo...and it has been brought to the top of the forum, so it should not be hard to find.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.


Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
Hi All,

I recently added the Yahoo v2.1 mod and can't seem to get some categorys or sub-categorys to display on the main page. Also installed are the 3 level of New Graphics, and the Password Modify For Templates. I've gone over the mod docs and checked everything twice and can't seem to find the problem. I have a category named Construction with a sub named Construction/General, both of these show up on the main page. I have a Internet category with 2 subs named Internet/Hosting and Internet/Website_Design, and a cat named Restaurants with a sub named Restaurants/Seafood. Neither the Internet or Restaurants or their subs display on the main page. I even add links in them, still nothing. My site's URL is

www.maine-business.com/links

Here's the relevant sections of code:

category.def:
# Definition of your database file.
%db_def = (
ID => [0, 'numer', 5, 8, 1, '', ''],
Name => [1, 'alpha', 40, 75, 1, '', '^[\w\d/_-]+$'],
Description => [2, 'alpha', '40x3', 500, 0, '', ''],
Related => [3, 'alpha', 0, 255, 0, '', ''],
'Meta Description' => [4, 'alpha', 40, 75, 0, '', ''],
'Meta Keywords' => [5, 'alpha', 40, 75, 0, '', ''],
Header => [6, 'alpha', 40, 75, 0, '', ''],
Footer => [7, 'alpha', 40, 75, 0, '', ''],
SubCatStyle => [8, 'alpha', 40, 100, 0, '(ALL)2', '']
);

site_html_templates.pl:

foreach $subcat (sort @subcat) {
my $mod = $stats{"$subcat"}[3];
my $new_add = $stats{"$subcat"}[4];
($description) = @{$category{$subcat}}[2];
($subcatstyle) = @{$category{$subcat}}[8];



sub site_html_category {
# --------------------------------------------------------
# This rountine will build a page based for the current category.

return &load_template ( 'category.html', {
date => $date,
time => $time,
category => $category,
links => $links,
title_linked => $title_linked,
title => $title,
total => $total,
grand_total => $grand_total,
category_name => $category_name,
category_name_escaped => $category_name_escaped,
category_clean => $category_clean,
description => $description,
meta_name => $meta_name,
meta_keywords => $meta_keywords,
header => $header,
footer => $footer,
prev => $prev,
next => $next,
related => $related,
build_links_per_page => $build_links_per_page,
subcatstyle => $subcatstyle,
%globals
} );
}



# Then we print out the name linked, new if it's new, and popular if its popular.
$output .= qq|<a class="catlist" href="$url">$description</a> <font class="catlist">($numlinks)</font> |;
$output .= qq|<small><sup class="new">new</sup></small>| if (&days_old($mod) < $db_new_cutoff);
$output .= qq|<BR>|;

if ($subcatstyle =~ m,^\(([^\)]+)\)(\d)$, && $#{$subcategories{$subcat}} >= 0) {
($subcatstyle, $style) = ($1, $2);
$s = 0;
@subcatsub = split (/\|/, $subcatstyle);
$output .= qq~ ~ if ($style eq "1");
foreach $category_name (@subcatsub) {
foreach (sort @{$subcategories{$subcat}}) {
($subcatstyle eq "ALL" && $#subcatsub == 0) ?
($_ =~ m,.*/([^/]+)$, and $category_name = &build_clean($1)) :
($_ eq "$subcat/$category_name" or next);
if ($style eq "1") {
$length += length($category_name);
($length > $subcat_length) and last;
}
if ($s > 0) {
$output .= qq~, ~ and $length += 2 if ($style eq "1");
$output .= qq~ ~ if ($style eq "2");
}
$url = "$build_root_url/" . &urlencode($_) . "/";
$output .= qq~<LI>~ if ($style eq "2");
$output .= qq~<a class="subcat" href="$url">$category_name</a>~;
$s++;
last if ($subcatstyle ne "ALL" && $#subcatsub > 0);
}
}
undef $length;
if ($s < $#{$subcategories{$subcat}}) {
$output .= qq~...~ if ($style eq "1");
}
$output .= qq~<BR>~;
}
else { }

# Don't forget to end the table..
$output .= "</td></tr></table></div>\n";
return $output;

$output .= qq|<dl><dt><strong><a class="link" href="$url">$category_name</a></strong> <small class="numlinks">($numlinks)</small> |;
if ($new_add eq "Yes") {
$days_old = &days_old($stats{"$subcat"}[2]);
if ($days_old <= 2) { $output .= qq| $new_1|; }
elsif ($days_old <= 7) { $output .= qq| $new_3|; }
elsif ($days_old <= 14) { $output .= qq| $new_7|; }
}
if ($mod eq "Yes") { $output .= qq~ $updated~; }

$output .= qq|</dt>|;
$output .= qq|<dd><span class="descript">$description </span></dd>| if (!($description =~ /^[\s\n]*$/));
$output .= qq|</dl>|;
}

# Don't forget to end the unordered list..
$output .= "</td></tr></table></div>\n";
return $output;
}

1;


I think that's everything. Please help me out!

Thanks!

Mike
Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
Someone Please help!
Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
hi...

please do one of the following..

1) delete this mod
2) delete original code from SubLikeYahoo2 and make your own

cya

Jerry Su
Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
Try this mod MOD: (Mine)

SUBCATEGORIES LIKE YAHOO v2.1(Modified)
A Mod to the Yahoo Style SubCategory Listings Mod by Widgetz.

THIS MOD MUST BE USED ONLY IN site_html.pl (NO TEMPLATES).

Modified for no templates by
Eduin Yesid Carrillo yecarrillo@hotmail.com (aug 9 /2000)

I wanted to use the Yahoo style Sub-Category listings on my site, but I also wanted to
keep the ability to us category descriptions. So I came up with this mod to Widgetz
Mod to allow just that.

Notes: Remember to backup files to be edited before proceeding. This Mod assumes
no previous mods are installed and you are using templates.
Notes:
1. Remember to backup files to be edited before proceeding.
2. This Mod assumes no previous mods are installed and you are using templates.
3. If you have an existing categories.db file, you should review the information
in Bobsie's upgrade script at http://www.gossamer-threads.com/...um3/HTML/001090.html
With some work it will help you add the new field spacing to your categories.db.

links/cgi-bin/admin/category.def

Find this section: (it's at the top)

# Definition of your database file.
Code:
%db_def = (
ID => [0, 'numer', 5, 8, 1, '', ''],
Name => [1, 'alpha', 40, 75, 1, '', '^[\w\d/_-]+$'],
Description => [2, 'alpha', '40x3', 500, 0, '', ''],
Related => [3, 'alpha', 0, 255, 0, '', ''],
'Meta Description' => [4, 'alpha', 40, 75, 0, '', ''],
'Meta Keywords' => [5, 'alpha', 40, 75, 0, '', ''],
Header => [6, 'alpha', 40, 75, 0, '', ''],
Footer => [7, 'alpha', 40, 75, 0, '', '']
);
Palace this line under the last entry in the list just before the );
Code:
SubCatStyle => [8, 'alpha' ,40, 100, 0, '(ALL)1', '']
^ ^
Filed ID Default Entry
The field id, in this case 8 should be changed to reflect the fields sequence in your database.
Don't forget to place a comma at the end of the entry on the line above SubCatStyle. You can
indicate a default style by placing one of the styles from the bottom of this post in the Default
Entry section of the field definition.

links/cgi-bin/admin/site_html.pl

Find this:
Code:
foreach $subcat (sort @subcat) {
($description) = @{$category{$subcat}}[2];
Place this just below it
Code:
($subcatstyle) = @{$category{$subcat}}[8];
Change the filed ID to match the one you entered in the category.def

Find this sub
Code:
sub site_html_category {
Insert this below the my ($output); entry
Code:
$subcatstyle = $category{$category_name}[8];
Change the filed ID to match the one you entered in the category.def

Find this text:
Code:
# Then we print out the name linked, new if it's new, and popular if its popular.
$output .= qq~<dl><dt><strong><a class="link" href="$url">$category_name</a></strong> <small class="numlinks">($numlinks)</small> ~;
$output .= qq~<small><sup class="new">new</sup></small>~ if (&days_old($mod) < $db_new_cutoff);
$output .= qq~</dt>~;
$output .= qq~<dd><span class="descript">$description </span></dd>~ if (!($description =~ /^[\s\n]*$/));
$output .= qq~</dl>~;
Replace with:
Code:
# Then we print out the name linked, new if it's new, and popular if its popular.
$output .= qq~<dl><dt><strong><a class="link" href="$url">$category_name</a></strong> <small class="numlinks">($numlinks)</small> ~;
$output .= qq~<small><sup class="new">new</sup></small>~ if (&days_old($mod) < $db_new_cutoff);
$output .= qq~</dt>~;
$output .= qq~<dd><span class="descript">$description </span></dd>~ if (!($description =~ /^[\s\n]*$/));
$output .= qq~</dl>~;

$maxitems = 3;
if ($subcatstyle =~ m,^\(([^\)]+)\)(\d)$, && $#{$subcategories{$subcat}} >= 0) {
($subcatstyle, $estilo) = ($1, $2);
$s = 0;
@subcatsub = split (/\|/, $subcatstyle);
$output .= qq~ <small>~;
$output .= qq~
~ if ($estilo eq "1");
foreach $category_name (@subcatsub) {
foreach (sort @{$subcategories{$subcat}}) {
($subcatstyle eq "ALL" && $#subcatsub == 0) ?
($_ =~ m,.*/([^/]+)$, and $category_name = &build_clean($1)) :
($_ eq "$subcat/$category_name" or next);
if ($estilo eq "3") {
$length += length($category_name);
($length > $subcat_length) and last;
}
if ($s > 0) {
$output .= qq~, ~ and $length += 2 if ($estilo eq "1");
$output .= qq~ ~ if ($estilo eq "2");
}
$url = "$build_root_url/" . &urlencode($_) . "/";
$output .= qq~<LI>~ if ($estilo eq "2");
$category_name =~ s/_/ /g;
$output .= qq~<a class="subcat" href="$url">$category_name</a>~;
$s++;
# last if ($subcatstyle ne "ALL" && $#subcatsub > 0);
last if (($subcatstyle ne "ALL" && $#subcatsub > 0)||($s>$maxitems - 1));
}
}
undef $length;
# if ($s < $#{$subcategories{$subcat}}) {
if ($s >= $maxitems) {
$output .= qq~ ...~ if ($estilo eq "1");
$output .= qq~<li> ...~ if ($estilo eq "2");
}
$output .= qq~</small><BR>~;
}
else {
}
Change the $maxitems value to match the number of subcats
that you want to show for each category.

That's it for the CGI Work. No you need to add the place holder for the new field to your category
database (links/cgi-bin/admin/data/categories.db). To do this just add a | (see note 3 above)
to the end of each record in your database.

To use this mod indicate what style of subcategory listing you would like by entering one of the
styles below in the SubCatStyle filed in the Modify Category screen of the Links Admin page.

Code:
Style Types...

Horizontal Layout (alphabetical.. up to subcat_length)
(ALL)1
Category (#)
Subcategory1, Subcategory2, Subcategory3...

Vertical Layout (alphabetical)
(ALL)2
Category (#)
* Subcategory1
* Subcategory2
* Subcategory3
* Subcategory4

Horizontal Layout (ordered by you)
(Games|Utilities|Hacks)1
Category (#)
Games, Utilities, Hacks

Vertical Layout (ordered by you)
(Games|Utilites|Hacks)2
Category (#)
* Games
* Utilities
* Hacks

That should do it.
If you have problems I will do my best to help you.
Just email me to yecarrillo@hotmail.com
and post to the original mod
thread at http://www.gossamer-threads.com/...um3/HTML/004954.html
and I will respond as quickly as possible.



Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
Okay. I've been really struggling with this.

I have tried many different codes. And for reasons that I won't mention here, I believe that the problem lies in the code below. It's kind of bizarre - on the front page it works, and yet on most of the others, it doesn't.

I'd really appreciate someone taking a quick look at the code. Thanks in advance.



sub site_html_print_cat {
# --------------------------------------------------------
# This routine determines how the list of categories will look.
# We now use a table to split the category name up into two columns.
# For each category you can use the following variables:
#
# $url : The URL to go to that category
# $category_name : The category name with _ and / removed.
# $category_descriptions{$subcat}: The category description (if any).
# $numlinks : The number of links inside that category (and subcategories).
# $mod : The newest link inside of that category.
#

my (@subcat) = @_;
my ($url, $numlinks, $mod, $subcat, $category_name, $description, $output, $i);
my ($half) = int (($#subcat+2) / 2);

# Print Header.
$output = qq|<div class="margin"><table width="80%" border="0" cellspacing="0" cellpadding="0"><tr><td class="catlist" valign="top">\n|;

foreach $subcat (sort @subcat) {
($description) = @{$category{$subcat}}[2];
($subcatstyle) = @{$category{$subcat}}[8];


# First let's get the name, number of links, and last modified date...
$url = "$build_root_url/" . &urlencode($subcat) . "/";
if ($subcat =~ m,.*/([^/]+)$,) { $category_name = &build_clean($1); } else { $category_name = &build_clean($subcat); }
$numlinks = $stats{"$subcat"}[0];
$mod = $stats{"$subcat"}[1];

# We check to see if we are half way through, if so we stop this table cell
# and begin a new one (this lets us have category names in two columns).
if ($i == $half) {
$output .= qq|</td><td class="catlist" valign="top">\n|;
}
$i++;





###################################### YAHOO MOD ##################################
# Then we print out the name linked, new if it's new, and popular if its popular.
$output .= qq|<a class="catlist" href="$url">$category_name</a> <font class="catlist">($numlinks)</font> |;
$output .= qq|<small><sup class="new">new</sup></small>| if (&days_old($mod) < $db_new_cutoff);
$output .= qq|<BR>|;
if ($subcatstyle =~ m,^\(([^\)]+)\)(\d)$, && $#{$subcategories{$subcat}} >= 0) {
($subcatstyle, $style) = ($1, $2);
$s = 0;
@subcatsub = split (/\|/, $subcatstyle);
$output .= qq~ ~ if ($style eq "1");
foreach $category_name (@subcatsub) {
foreach (sort @{$subcategories{$subcat}}) {
($subcatstyle eq "ALL" && $#subcatsub == 0) ?
($_ =~ m,.*/([^/]+)$, and $category_name = &build_clean($1)) :
($_ eq "$subcat/$category_name" or next);
if ($style eq "1") {
$length += length($category_name);
($length > $subcat_length) and last;
}
if ($s > 0) {
$output .= qq~, ~ and $length += 2 if ($style eq "1");
$output .= qq~ ~ if ($style eq "2");
}
$url = "$build_root_url/" . &urlencode($_) . "/";
$output .= qq~<LI>~ if ($style eq "2");
$output .= qq~<a class="subcat" href="$url">$category_name</a>~;
$s++;
last if ($subcatstyle ne "ALL" && $#subcatsub > 0);
}
}
undef $length;
if ($s < $#{$subcategories{$subcat}}) {
$output .= qq~...~ if ($style eq "1");
}
$output .= qq~<BR>~;
}
else { }}
# Don't forget to end the table..
$output .= "</td></tr></table></div>\n";
return $output;
}

######################################################




Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
I am installing the mod by Widgetz, I have just one question...regarding adding the "b /b" place holder for the new field to your category
database (links/cgi-bin/admin/data/categories.db)

Where exactly does this code go?

My file (/data/categories.db) consits of the following information:

1|Affiliate_Directories||||||
2|Graphic_Design||||||

Any replies, information, help, is greatly appericated!
Thanks,
DKG



Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
It adds a new field, or "column" to your database, so to speak. Delimeters are used to seperate data into columns, and without adding a new delimeter to the end of each line, your database will become corrupted.

--Drew
Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
Thanks for the reply. :)

I have the mod installed now and it looks great. First MOD I have ever installed.

I do have one other question, maybe you know how to accomplish this?

When you go to /links/pages/ (where home.html displays)
The Catagories display in (FONT SIZE="1") ... fine,
but so do the SubCategories.

Is it possible to somehow control FONT SIZE for SubCategories? Perhaps to be (FONT SIZE="-1") ?

I use templates & links.css.

In template for home.html the code is simply:

<h2>Categories:</h2>

<%category%>

I thought maybe to do this I could add code that would refer to "subcategories" ???

Any ideas?

Thanks again, so much! :)

Regards,
DKG


Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
i've managed to install this hack and it works. But if you chose: Vertical Layout (ordered by you) and there are spaces in your subcategories, it displays the "_".

eg: maincategory: Hello
subcategory: My_Files
subcategory style of Hello: (My_files) displays it as following:
Hello
* My_Files

How can you remove the "_" in the output?


Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
I have tried to install this mod to the script however I get the following error:

Error Message : fatal error: syntax error at /admin/category.def line 32, near "^ ^"


Here is my relevant section of the category.def

# Definition of your database file.
%db_def = (
ID => [0, 'numer', 5, 8, 1, '', ''],
Name => [1, 'alpha', 40, 75, 1, '', '^[\w\d/_-]+$'],
Description => [2, 'alpha', '40x3', 500, 0, '', ''],
Related => [3, 'alpha', 0, 255, 0, '', ''],
'Meta Description' => [4, 'alpha', 40, 75, 0, '', ''],
'Meta Keywords' => [5, 'alpha', 40, 75, 0, '', ''],
Header => [6, 'alpha', 40, 75, 0, '', ''],
Footer => [7, 'alpha', 40, 75, 0, '', ''],
SubCatStyle => [8, 'alpha',40, 100, 0, '(ALL 1', '']
^ ^
Filed ID Default Entry
);




Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
Code:
SubCatStyle => [8, 'alpha',40, 100, 0, '(ALL 1', '']
^ ^
Filed ID Default Entry
Pretty obvious...don't you see it?

Here's one (in blue):
Code:
SubCatStyle => [8, 'alpha',40, 100, 0, '(ALL 1', '']
^ ^
Filed ID Default Entry
That should be:
Code:
SubCatStyle => [8, 'alpha',40, 100, 0, '(ALL)1', '']
^ ^
Filed ID Default Entry
Here's the other (in blue):
Code:
SubCatStyle => [8, 'alpha',40, 100, 0, '(ALL 1', '']
^ ^
Filed ID Default Entry
That shouldn't be there.

Now the whole %db_def hash should look like:
Code:
%db_def = (
ID => [0, 'numer', 5, 8, 1, '', ''],
Name => [1, 'alpha', 40, 75, 1, '', '^[\w\d/_-]+$'],
Description => [2, 'alpha', '40x3', 500, 0, '', ''],
Related => [3, 'alpha', 0, 255, 0, '', ''],
'Meta Description' => [4, 'alpha', 40, 75, 0, '', ''],
'Meta Keywords' => [5, 'alpha', 40, 75, 0, '', ''],
Header => [6, 'alpha', 40, 75, 0, '', ''],
Footer => [7, 'alpha', 40, 75, 0, '', ''],
SubCatStyle => [8, 'alpha',40, 100, 0, '(ALL)1', '']
);
--Drew
Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
Thank You. Sometimes the most obvious mistakes are the hardest to get. How could I be soooo stupid.

Thanks again!

Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
Okay I am now able to run it with no errors, however my subcategories are not showing up. I can create them and they are saved but they do not show up on my home.html page.

I have red all of the past messages with no help.

I am not sure what code to show you guys.

Is it possible to just install somebody elses code, since I have nothing important in my directory anyways??

Quote Reply
Removing "_" characters from subcatagories In reply to
You can remove the "_" character (well, actually replace it with a space, as removing it entirely probably isn't what you want to do) by doing this:

In the file:
site_html_templates.pl
Find the line:
$output .= qq~<LI>~ if ($style eq "2");
And add the following line after it:
$category_name =~ tr/_/ /;




Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1<br> In reply to
I am using the Nicholas Clark site_html_templates.pl that came with the yahoo57 templates.

I changed all the files for the Yahoo Style SubCategory Listings Mod by Widgetz and now when I am in admin, I get this error when I click on BUILD ALL:


Error including libraries: Unmatched right curly bracket at /virtualhosts/p4k-tv.com/www/cgi-bin/links/admin1/site_html_templates.pl line 508, at end of line
syntax error at /virtualhosts/p4k-tv.com/www/cgi-bin/links/admin1/site_html_templates.pl line 508, near "}"
Compilation failed in require at nph-build.cgi line 33.

Make sure they exist, permissions are set properly, and paths are set correctly.

---------------------

And when I click on VIE catagory I get this error:


Error Message : fatal error: syntax error at /virtualhosts/p4k-tv.com/www/cgi-bin/links/admin1/category.def line 31, near "SubCatStyle"
Compilation failed in require at admin.cgi line 55.

-------------------

Any suggestions where I should begin?




Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1<br> In reply to
In Reply To:
Error including libraries: Unmatched right curly bracket at /virtualhosts/p4k-tv.com/www/cgi-bin/links/admin1/site_html_templates.pl line 508, at end of line
syntax error at /virtualhosts/p4k-tv.com/www/cgi-bin/links/admin1/site_html_templates.pl line 508, near "}"
Compilation failed in require at nph-build.cgi line 33.
This is a known bug in the instructions. Replace all of site_html_print_cat with the codes provided in this thread (look at your stuff and see if you have a few pieces of redundant coding, specificly at the bottom).

In Reply To:
Error Message : fatal error: syntax error at /virtualhosts/p4k-tv.com/www/cgi-bin/links/admin1/category.def line 31, near "SubCatStyle"
Compilation failed in require at admin.cgi line 55.
You probably did not put a comma at the end of the previous field before adding SubCatStyle.

Happy Coding,

--Drew
http://www.FindingHim.com
Quote Reply
Re: SUBCATEGORIES LIKE YAHOO v2.1 In reply to
Hi Kraken!
i see all subvcategories and when i click on category on category page on left upper corner i get
Category : (ALL)2
(ALL)2

Instead of category: Computers i.e.

can u take a look at
http://home.netsi.net/vstopnice/links/pages/
to see what i'm talking about..
thanks in advance
Gregor



> > > >