Hi,
Thanks for the module! :)
When I try to use
[node:100,title="Original version of the picture"] - I see the node title, not the new defined title.

Comments

TomChiverton’s picture

Status: Active » Postponed (maintainer needs more info)

Hmm, it works here.
' [node:1477,title="Buzzword"] ' is used on http://www.rachaelandtom.info/node/1482

Did you previously have this in the page without the title attribute by any chance ?

mr.j’s picture

Same problem here. I first created the node with no values set in the allowed parameters configuration, so it ignored my new title.
I then updated the config to include title for the node types I need.

But now every time I save my node I get this message:

ignoring param 'title' for guide as it is not valid. Possible values are ''.
The Page has been updated.
ignoring param 'title' for guide as it is not valid. Possible values are ''.

Which is wrong as I have explicitly added title for the node type guide in the settings, which is confirmed by looking in my db at the variable table:

link_node_allowed_vars_guide	s:5:"title";
mr.j’s picture

And therein lies the bug...

you are checking like this:

$allowed_vars = explode(',', variable_get("attached_node_allowed_vars_$node->type", ""));

But the db is storing it as link_node_allowed_vars_$node->type

I can confirm that searching for "attached_node_allowed_vars_" and replacing it with "link_node_allowed_vars_" fixes the bug.

TomChiverton’s picture

Status: Postponed (maintainer needs more info) » Fixed

Ahh, good sport, the origins of link_node show up again, as does not being totally up to speed with the module API.
A new release is due shortly.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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