Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [afinlr] Modifying MyLinks_DB Plugin ?

Quote Reply
Re: [afinlr] Modifying MyLinks_DB Plugin ? In reply to
In Reply To:
Since I'm not allowing the grouped option at all, I've commented out the whole 'if ($grp == 1)' statement and just left the bit in the 'else' bit (you'll need to comment out 'else {' and the closing '}').

Ok, we had already done that ... but not this ...
In Reply To:
Then I changed the line
my $table = $DB->table('Links,Catlinks');
to
my $table = $DB->table('Links');
... which produces a rather strange effect: The number of pages is correct, but now there is just one link per page!


In Reply To:
For the ASC and DESC, just change the bit after the option tag to whatever you want:
<option <%if MyLinks_Order eq 'ASC'%>selected<%endif%>>Ascending
... and also modify the MyLinks_Order column in the Users table.

But a better solution is to set it to form type RADIO (means it can retain the abbreviations). MyLinks_Per_Page and MyLinks_Ordering are also more user-friendly as radio buttons.
Subject Author Views Date
Thread Modifying MyLinks_DB Plugin ? YoYoYoYo 6081 Sep 4, 2002, 5:52 PM
Thread Re: [YoYoYoYo] Modifying MyLinks_DB Plugin ?
afinlr 5952 Sep 5, 2002, 6:55 AM
Thread Re: [afinlr] Modifying MyLinks_DB Plugin ?
YoYoYoYo 5947 Sep 5, 2002, 4:15 PM
Thread Re: [YoYoYoYo] Modifying MyLinks_DB Plugin ?
afinlr 5922 Sep 5, 2002, 4:48 PM
Thread Re: [afinlr] Modifying MyLinks_DB Plugin ?
YoYoYoYo 5915 Sep 5, 2002, 6:45 PM
Thread Re: [YoYoYoYo] Modifying MyLinks_DB Plugin ?
afinlr 5901 Sep 6, 2002, 4:16 AM
Post Re: [afinlr] Modifying MyLinks_DB Plugin ?
YoYoYoYo 5906 Sep 6, 2002, 9:06 AM
Thread Re: [YoYoYoYo] Modifying MyLinks_DB Plugin ?
afinlr 5917 Sep 6, 2002, 6:06 AM
Thread Re: [afinlr] Modifying MyLinks_DB Plugin ?
YoYoYoYo 5902 Sep 6, 2002, 9:19 AM
Thread Re: [YoYoYoYo] Modifying MyLinks_DB Plugin ?
afinlr 5932 Sep 6, 2002, 9:31 AM
Thread Epilogue
YoYoYoYo 5912 Sep 6, 2002, 12:49 PM
Thread Re: [YoYoYoYo] Epilogue
afinlr 5892 Sep 6, 2002, 12:56 PM
Post Re: [afinlr] Epilogue
YoYoYoYo 5877 Sep 8, 2002, 10:51 PM
Post Re: [YoYoYoYo] Modifying MyLinks_DB Plugin ?
Paul 5941 Sep 5, 2002, 7:03 AM