Does that mean that for all of the new subroutines I would have to change the way the tags are implemented?
Gregario,
You need to use actual link variable tags, like you have in the sub site_html_link routine.
Example:
# --------------------------------------------------------
# This routine is used to display what a link should look
# like. It's a little complex looking just because we have to
# check for blank entries..
my (%rec) = @_;
$build_detailed ?
($output = qq~<ul><li><a class="link" href="$build_detail_url/$rec{$db_key}$build_extension">$rec{'Title'}</a>~) :
($output = qq~<ul><li><a class="link" href="$build_jump_url?$db_key=$rec{$db_key}">$rec{'Title'}</a>~);
if ($rec{'Description'}) { $output .= qq~ <span class="descript">- $rec{'Description'}</span>\n~; }
if ($rec{'isNew'} eq "Yes") { $output .= qq~ <small><sup class="new">new</sup></small>~; }
if ($rec{'isPopular'} eq "Yes") { $output .= qq~ <small><sup class="pop">pop</sup></small>~; }
$output .= qq~ <small class="date">(Added: $rec{'Date'} Hits: $rec{'Hits'} Rating: $rec{'Rating'} Votes: $rec{'Votes'}) <a href="$build_rate_url?ID=$rec{'ID'}">Rate It</a></small>
</ul>
~;
return $output;
}
Hope this helps.
Good luck.
Regards,
------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------
You need to use actual link variable tags, like you have in the sub site_html_link routine.
Example:
Code:
sub site_html_my_add { # --------------------------------------------------------
# This routine is used to display what a link should look
# like. It's a little complex looking just because we have to
# check for blank entries..
my (%rec) = @_;
$build_detailed ?
($output = qq~<ul><li><a class="link" href="$build_detail_url/$rec{$db_key}$build_extension">$rec{'Title'}</a>~) :
($output = qq~<ul><li><a class="link" href="$build_jump_url?$db_key=$rec{$db_key}">$rec{'Title'}</a>~);
if ($rec{'Description'}) { $output .= qq~ <span class="descript">- $rec{'Description'}</span>\n~; }
if ($rec{'isNew'} eq "Yes") { $output .= qq~ <small><sup class="new">new</sup></small>~; }
if ($rec{'isPopular'} eq "Yes") { $output .= qq~ <small><sup class="pop">pop</sup></small>~; }
$output .= qq~ <small class="date">(Added: $rec{'Date'} Hits: $rec{'Hits'} Rating: $rec{'Rating'} Votes: $rec{'Votes'}) <a href="$build_rate_url?ID=$rec{'ID'}">Rate It</a></small>
</ul>
~;
return $output;
}
Hope this helps.
Good luck.
Regards,
------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------
Nov 29, 1999, 3:22 PM
Veteran (2260 posts)
Nov 29, 1999, 3:22 PM
Post #80 of 99
Views: 14832
new version which hasn't been released yet.. im still in the process of "encrypting" further..
http://www.hexapods.com/...in/links/mylinks.cgi
right now it only saves space for links 1-2000 or something.. everything else is almost the same.. i am trying to get it down to at least 1-3 characters for each link..
you guys know why i'm doing this right?
there is only a limit on cookies. < 2k per cookie
jerry
http://www.hexapods.com/...in/links/mylinks.cgi
right now it only saves space for links 1-2000 or something.. everything else is almost the same.. i am trying to get it down to at least 1-3 characters for each link..
you guys know why i'm doing this right?
there is only a limit on cookies. < 2k per cookie
jerry
Nov 29, 1999, 3:31 PM
User (310 posts)
Nov 29, 1999, 3:31 PM
Post #81 of 99
Views: 14878
Take your time, Jerry. We know you want to do this right.
------------------
Will
Webmaster
FishHoo! Search index for Fishermen
www.fishhoo.com
------------------
Will
Webmaster
FishHoo! Search index for Fishermen
www.fishhoo.com
Apr 22, 2000, 10:34 AM
Veteran (17240 posts)
Apr 22, 2000, 10:34 AM
Post #83 of 99
Views: 14887
Instructions for setting up the template files are located in another MY LINKS Topic in this forum.
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.
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.
Apr 26, 2000, 1:45 PM
Veteran (17240 posts)
Apr 26, 2000, 1:45 PM
Post #87 of 99
Views: 14878
You need to use <%links%> in the my_home.html template file.
Most likely you have not configured the sub site_html_my_home routine correctly in your site_html_templates.pl 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.
Most likely you have not configured the sub site_html_my_home routine correctly in your site_html_templates.pl 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.
Apr 26, 2000, 2:11 PM
User (253 posts)
Apr 26, 2000, 2:11 PM
Post #88 of 99
Views: 14854
Sorry to bother you
but I am using <%links%>
my code in the template file is
sub site_html_my_home {
my $tags = shift;
print &load_template ('my_home.html', {
%$tags,
%globals
});
}
I do not understand perl, but I have changed and checked this, I have checked cookies etc but cannot see what I am doing wrong, going bald pulling my hair out.
Thanks for your help
Dc
but I am using <%links%>
my code in the template file is
sub site_html_my_home {
my $tags = shift;
print &load_template ('my_home.html', {
%$tags,
%globals
});
}
I do not understand perl, but I have changed and checked this, I have checked cookies etc but cannot see what I am doing wrong, going bald pulling my hair out.
Thanks for your help
Dc
Apr 26, 2000, 2:17 PM
Veteran (17240 posts)
Apr 26, 2000, 2:17 PM
Post #89 of 99
Views: 14892
Well, these are the codes I have in that sub:
# --------------------------------------------------------
# This routine shows the layout of the MY Link Home Page
my $my_link;
my $tags = shift;
print &load_template ('my_home.html', {
%$tags,
%globals
});
}
And My LINKS works just fine in my directory.
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.
Code:
sub site_html_my_home { # --------------------------------------------------------
# This routine shows the layout of the MY Link Home Page
my $my_link;
my $tags = shift;
print &load_template ('my_home.html', {
%$tags,
%globals
});
}
And My LINKS works just fine in my directory.
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.
Jun 14, 2000, 2:34 AM
User (283 posts)
Jun 14, 2000, 2:34 AM
Post #90 of 99
Views: 14252
Hi!
So, guys, Jerry, I'm LOST!
Can I put mylinks.cgi working on a non SQL Links set up??
Isn't ANY step by step instructions to this great mod??? I've read all the posts and I can only see things like "do this!" "no wait, I just changed it, now do this" "no wait, change this again"....
I'm definetly lost and I wanna use this mod asap, thanks!! ;)
So, guys, Jerry, I'm LOST!
Can I put mylinks.cgi working on a non SQL Links set up??
Isn't ANY step by step instructions to this great mod??? I've read all the posts and I can only see things like "do this!" "no wait, I just changed it, now do this" "no wait, change this again"....
I'm definetly lost and I wanna use this mod asap, thanks!! ;)
Jun 14, 2000, 7:40 AM
Veteran (1345 posts)
Jun 14, 2000, 7:40 AM
Post #91 of 99
Views: 14209
Yes, it definitely works with Links 2.0, and, believe it or not, it's actually pretty easy to install once you figure out all the dialogue.
I can't remember how I did it right now, but read the thread(s) and you should find that you need only a few pieces - the script and the templates, if I recall correctly.
AnthroRules originally posted the templates somewhere in here, and I think I saw another set posted just recently by someone else.
Hope this helps.
I can't remember how I did it right now, but read the thread(s) and you should find that you need only a few pieces - the script and the templates, if I recall correctly.
AnthroRules originally posted the templates somewhere in here, and I think I saw another set posted just recently by someone else.
Hope this helps.
Jun 14, 2000, 10:51 AM
Veteran / Moderator (1936 posts)
Jun 14, 2000, 10:51 AM
Post #93 of 99
Views: 14187
Jun 14, 2000, 12:12 PM
User (214 posts)
Jun 14, 2000, 12:12 PM
Post #94 of 99
Views: 14184
You can find a link to the templates and script put together in this thread;
http://207.105.53.169/...ust&Number=49644
Jimmy Crow
http://www.homewithgod.com/
http://207.105.53.169/...ust&Number=49644
Jimmy Crow
http://www.homewithgod.com/
Aug 11, 2000, 6:12 AM
Veteran (1220 posts)
Aug 11, 2000, 6:12 AM
Post #96 of 99
Views: 13255
The MyLinks mod has been withdrawn from the forum and is no longer available.
Thomas
http://www.japanreference.com
Thomas
http://www.japanreference.com
Aug 11, 2000, 6:22 AM
User (214 posts)
Aug 11, 2000, 6:22 AM
Post #97 of 99
Views: 13323
I think I remember widgets (jerrysu), the author of the mod, posting in the forum about a week ago that you could purchase the script from him for $20 which included the install
Jimmy Crow
http://www.homewithgod.com/
Jimmy Crow
http://www.homewithgod.com/
Aug 11, 2000, 6:35 AM
Novice (36 posts)
Aug 11, 2000, 6:35 AM
Post #99 of 99
Views: 13317
Its available again, see the following thread:
http://www.gossamer-threads.com/...it=25&Old=3weeks
-Morbius
http://www.mimanet.com
http://www.gossamer-threads.com/...it=25&Old=3weeks
-Morbius
http://www.mimanet.com