Weblinks is working fine but even though I have the box checked so that users can edit their link after its posted the edit button isn't showing up for them.

I have two profiles set up.....admin(me) and members(everyone who signs up for an account).

any idea what the problem is?

Comments

toonopoly’s picture

Bueller........?

Bueller?

bradlis7’s picture

Aha!

Add "global $user;" to function weblink_access, so that it looks like this:

function weblink_access($op, $node) {
  global $user;
  
  if ($op == 'update' || $op == 'delete') {

--
Bradlis7.com | Churchofchristnet

toonopoly’s picture

Does that give everyone the permission to edit the link?

I want visitors to be able to edit the links "they" added.

box is checked but option isn't there.

http://www.anotherskateofmind.com

bradlis7’s picture

That should make it only where the user who created it to edit it.

--
Bradlis7.com | Churchofchristnet

toonopoly’s picture

worked.

Thanks.

roychri’s picture

This was still not fixed in version 5.x-2.5 of the module weblinks.

There is a patch:
http://drupal.org/node/655864