Hi

I am trying to figure out how to use the link attach module. I installed the weblinks module and the link attach module. Then tried to attache a link, but I when edit a page under Attached Links it says “Please select a category before attaching links”.

And this is what I can’t figure out, what category, do I have to create a vocabulary for my attached links.

Please help.
Thanks

Comments

alexandreracine’s picture

Do you have the solution?

alexandreracine’s picture

First of all, this module is between cvs and 4.6. So there is not documentation at all.

See this node for that explanation : http://drupal.org/node/28983

Here is how to use it.

___________(From the install.txt file)_____________

A module that allows you to attach weblinks to other modules.

Requires the weblink module

Installation
------------

1. Create the SQL table. This depends a little on your system, but the most common method is:
mysql -u username -ppassword drupal < linkattach.mysql

2. Copy the linkattach.module to the Drupal modules/ directory.

3. Go to the administration section, into "adminster > modules" and enable the linkattach module.
____________________________

Now, go in admin - category (taxonomy)

You can create a new one, or edit one. You'll see "weblink" there. You can associate weblink with that taxonomy.

There you go.

Same things as the event module.

cboyd’s picture

See http://drupal.org/node/33461. The link attach module is busted. The database schema for weblinks changed in 4.6, but this module was not updated. For example, now the table is called weblinks (note plural) and weblinks_node. But the so-called 4.6 linkattach still uses the old weblink table.

The second post is correct. You need to get the cvs version at: http://drupal.org/files/projects/linkattach-cvs.tar.gz.
I hope they move this to 4.6 when it's stable enough, so it just works.

Also, if you created links with the earlier version of linkattach, they don't seem to show up when you [weblink:node_id]. You might have to patch up a table. I only had 2 entries, so I'm going to drop them and start over.