Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Links as Index page

(Page 2 of 2)
> >
Quote Reply
Re: Links as Index page In reply to
Your are more than effective Eliot... my Links is certainly better thanks to your feedback. Smile

Thank you very much,
Patricio
Quote Reply
Re: Links as Index page In reply to
Well... just when we though it was safe to take a nap...!

...found another small glith...

the <%title_linked%> tag on category and link pages is pointing to the "root" instead of "links/pages"

For example:

HOME>COMPUTERS>INTERNET

is pointing:
root > root/computers > root/computers/internet

is should be instead:
root > root/links/pages/computers > root/links/pages/computers/internet

This is probably a small change in nph-build.cgi also?
Quote Reply
Re: Links as Index page In reply to
No...actually you have to edit the sub build_linked_title routine in the db_utils.pl.

I will let you figure out what you need to do with that sub...

Good luck!

Wink

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Links as Index page In reply to
Fixed Smile

Thank you for the tip Eliot...

I found the sub build_linked_title but it was in the nph-build.cgi and not the db_util.pl

and I changed this:
$output .= qq| <A HREF="$build_root_url$path/">$dir</A> :|;

for this:
$output .= qq| <A HREF="$build_cat_url$path/">$dir</A> :|;

It works now Smile

This should be the last small change, don't you think ?

Pat//
Quote Reply
Re: Links as Index page In reply to
Let's hope so....

*crosses fingers*

I have updated the FAQ/Tutorial page to reflect this code change.

BTW: The reason I stated db_utils.pl is that I have moved a bunch of my subs into this file from the nph-build.cgi.

Wink

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums


[This message has been edited by AnthroRules (edited March 30, 2000).]
Quote Reply
Re: Links as Index page In reply to
I am having one problem with this mod, I do not know if it is specific to my code with the mod hacks or if it is on all links users that have this hack.
When you do a search on a keyword the results are returned sorted in their individual categories. The problem is that the category link is pointing to my root url and there are no category pages built there. They are all in the /links/pages/ directory and everyone is getting a 404 page when they click on them. I am thinking that I need to change the output in the sub build_linked_title in the search.cgi file to $build_cat_url$path/ instead of $build_root_url$path/ , but I wanted to get a second opinion first. I am getting a lot of traffic right now and I don't want all of my pages getting 404's. Could someone take a look at the code and tell me if that is the right change and if not what should I change.

Thanks for the help.

------------------
Jimmy Crow
www.homewithgod.com

[This message has been edited by jcrow (edited April 15, 2000).]
Quote Reply
Re: Links as Index page In reply to
That is correct, jcrow...

You need to change the codes in the sub build_linked_title routine.

Thanks for pointing this out...I will YET AGAIN change the codes. *sigh* *huff* See, why I do not like writing Mods or code hacks...

Wink

Regards,



------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.
Quote Reply
Re: Links as Index page In reply to
Yes, I guess it must be a pain in the rear, But I am sure that everyone that has benifited from your help and mods are VERY grateful. I know I am.

It works like a charm!


Thank You.

------------------
Jimmy Crow
www.homewithgod.com

[This message has been edited by jcrow (edited April 15, 2000).]

[This message has been edited by jcrow (edited April 15, 2000).]
Quote Reply
Re: Links as Index page In reply to
 
Quote:
Yes, I guess it must be a pain in the rear, But I am sure that everyone that has benifited from your help and mods are VERY grateful.

You'd be surprised...it is a thankless "job" since only about 60% of Topics I respond to include notes of "gratitude". In fact, somedays I question whether I should continue to provide "free" advice and support since I do not get paid for this service nor publicly recognized for my efforts (with some exceptions like the note that oldmoney recently submitted in this Forum).

Wink

Quote:
I know I am.
Thank You.

Thank you...I appreciate your note of gratitude. And you're welcome.

Smile

Regards,


------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.
Quote Reply
Re: Links as Index page In reply to
Eliot,

My site runs much better only thanks to your help and efforts.

Muchas Gracias Smile
Pat
Quote Reply
Re: Links as Index page In reply to
Thank you, Pat.

I appreciate your note of gratitude.

BTW: I have updated the Tutorial, which again is located at:

http://www.anthrotech.com/...inks/faqs/rootbuild/

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.


> >