Hi

When assigning a node to a block, viewing the node throws the following error :

Fatal error: Call to undefined function ds_show_links() in (...)/sites/all/modules/nodesinblock/nodesinblock.module on line 406

I guess this is resulting from the renaming of ds_show_links() into ds_show_field().

However this function now requires an additional parameter ($field) which I can't find (warning: Missing argument 4 for ds_show_field()).

Thanks

Laurent

Comments

swentel’s picture

Ah damn, stupid of me - can you change that line to this to test:

  $show_links = ds_show_field('nd', $node->type, $node->build_mode, 'links');

If that works, I'll roll out a new release.

agence web coheractio’s picture

Works fine. Thanks

By the way, what module are you using on http://demo.customsource.be/ to handle the node, view and block edit/configure links?
It seems this is a module called one_actions but I can't find it anywhere on Drupal site.

Laurent

swentel’s picture

Status: Active » Fixed

Thanks, I'll roll outa new release now.

That module is available on github http://github.com/swentel/contextual - not yet comitted to d.o (it's not called one actions anymore and is not yet finished too, but most stuff should work)

agence web coheractio’s picture

Thanks

Contextual is really a great module. Exactly the module I looking for.

I've installed it. It works great after a bug fix (I've logged it on github)

Laurent

Status: Fixed » Closed (fixed)

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