Closed (fixed)
Project:
InsertNode
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
19 Feb 2010 at 15:04 UTC
Updated:
21 Feb 2010 at 21:02 UTC
[node:123 parameters] refers to node/123
It is possible to refer to the "current" node? eg. [node:* title] to refer to, and insert, the title of current node? For example, I am displaying a block on all pages, and want it to show the title of the current node.
Comments
Comment #1
AlexisWilke commentedHi iantresman,
It's checked in... it should be available within 12h.
Thank you.
Alexis
Comment #2
iantresman commentedBrilliant, looking forward to trying it out.
By the way, since you added the ability to include CCK fields, is it worth mentioning this (and some of the other new features) on the InsertNode Project home page, as I think it would be of interest to others.
Comment #3
iantresman commentedAnd is the correct syntax to include, for example, the "current" node title:
[node:* title]I get a warning message:
Can't find * to include!This appears if I display a page:
http://mydomain.com/node/5or an alias URL.
Comment #4
AlexisWilke commentedI had to add an else part to the condition I added to avoid the problem. This is now in the newest -dev which should be available within 12h.
Feel free to reopen the issue if it still doesn't work for you.
Thank you.
Alexis
Comment #5
iantresman commentedWorks great! Many thanks.