I just downloaded the latest version of Web links. After following instructions to install it & even created a number of categories/subcategories + added links to them, I discovered the link "Web links" created in the menu leads to a "page not found" error.
So I cannot view the list of the categories/links added on their default page.
I use the pathauto module, which allocated it mysite/drupal5/weblinks

How do I get to the correct address?

CommentFileSizeAuthor
#4 weblinks.module.txt42.73 KBideaoforder

Comments

lionheart8’s picture

I also noted that new link "Categories" are only added when I go via /drupal5/admin/content/taxonomy/6/add/term
and NOT via drupal5/admin/content/weblinks/add/container ... there nothing is added. I found this out after surprisingly finding none of the new items i had added in the drop-down field, below "root" & the others I had added before. using the first method. If I'm, mistaken, what is the difference between the 2?

ideaoforder’s picture

Assigned: Unassigned » ideaoforder
Status: Active » Needs review

I've released an updated version that should correct these problems. Please download the 5.x.1.2 release and let me know if these problems persist. Thanks for the quick input!

lionheart8’s picture

Thanks for responding. :)

The second issue was resolved, ie. of being able to create categories/links via drupal5/admin/content/weblinks/add/container as well, BUT the link automatically created in the main navigation menu (mysite/drupal5/weblinks) still leads to a "Page not found" page. So up to now, I have not been able to see the categories/links I submitted, except via admin.

I have a question or 2, though. Does the script give each link a page of it's own? I was hoping or expecting a list of links in the same category or subcategory to be listed on the same page, especially if one has many user submitted links. If that is also possible, how do I achieve it & suppress or prevent each link having a page of its own?

How can get the links to open in a blank page by default?

Thanks again & will be looking forward to your update.

ideaoforder’s picture

StatusFileSize
new42.73 KB

I was wondering if there was something else to that first issue. Unfortunately, I'm not able to reproduce that one. My initial guess would be that it's a permissions issue. Can you see the links page as admin? Are you running multiple drupal sites from one installation? I've also not tested the module under those circumstances. The last thing I can think of is a theme-related issue. Have you tried the default Garland theme that comes with 5.0? I made one change to remove a little deprecated code, which I've attached to this post. Just replace weblinks.module with the attached version (remove the .txt first) and run the DB update. Let me know if any of this helps.

Also, yes, the links display in any number of ways, depending on the settings you've chosen. You can have all the categories on one page with the links in a list below them, with or without links and category descriptions, and as links to the Web Link nodes, or as URLs that open automatically in a blank page. It'll make more sense once we've got your links page working.

Cheers.

ideaoforder’s picture

Strike that--I just uploaded yet another release (I'm going for a record here...). Give that a try and let me know.

Cheers.

lionheart8’s picture

Hi

I have been testing different themes, including Garland (just slightly modified to narrow the sidebars), Aberdeen, box_cleanslate and blue breeze, etc... and I'm ruuning only one Drupal5 site under that DB. Drupal 4.7.4 does not share anything with it.

I replaced that tzhe current module content with that in the txt file & run update.php but the drupal5/weblinks still does not work, whether logged in as administrator or not.

Many thanks for the continuing support. :)

ideaoforder’s picture

Hey,

Can you try pasting this code into a PHP filter-enabled page:

<?php
$result = db_query("SHOW COLUMNS FROM {weblinks}");
if (!$result) {
   echo 'Could not run query: ' . mysql_error();
   exit;
}
if (mysql_num_rows($result) > 0) {
   while ($row = mysql_fetch_assoc($result)) {
       print_r($row);
   }
}
?> 

I think you're having the same problem as another user, and it might be related to a missing field in a table. Please post the results of the above query back here when you get a chance.

Thanks!
lionheart8’s picture

Hi

This is what I get (after inserting that code in a page & enabling PHP code - I suppose that is what u meant - not too sure, though) ;;) :

Array ( [Field] => nid [Type] => int(9) [Null] => [Key] => MUL [Default] => 0 [Extra] => ) Array ( [Field] => tid [Type] => int(11) [Null] => [Key] => MUL [Default] => 0 [Extra] => ) Array ( [Field] => vid [Type] => int(11) [Null] => [Key] => [Default] => 0 [Extra] => ) Array ( [Field] => url [Type] => varchar(155) [Null] => [Key] => [Default] => [Extra] => ) Array ( [Field] => weight [Type] => smallint(6) [Null] => [Key] => [Default] => 0 [Extra] => )

I hope it makes sense and is what u expected.

Thanks :)

rmiddle’s picture

Status: Needs review » Fixed

This issue is over 14 Months old and over 7 versions ago. If you are still having the problem with 5.x-1.8 please reopen this ticket.

Thanks
Robert

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.