The plain keyword is used to avoid having the content being inserted put inside a tag. By default, the content is inserted inside a <span> or a <div> tag (<span> is used if the output does not include <div>, <p> and other such tags.)
Although one could overload the theme_InsertNode_node() theme function, it is at times practical to be able to use both methods.
The plain keyword does not otherwise generate any output.
This keyword primary use is for adding CCK parameters inside HTML code as proposed by one of our users (see here):
<input ...
The following are problems that have not been resolved and will probably not be.
At times, you enter the tag as in [node:123 cck=title] and it is not converted by the filter.
There are 3 common reasons for this to append:
The 3rd one is certainly the most likely explanation once you made sure that the filter was effectively selected for that node. In many cases, it will be the missing ...
There is a Link Node project that can be used to generate a link to a node using the node title or another user specified title.
This is similar to using the following with Insert Node:
[node:<name> title=<my link>;]
If you want to include a view, use the insert_view module instead.
If you want to include blocks in your nodes (or other blocks, scary, hey?!), use the insert_block module instead.
If you know or have a similar project, please, feel free to post a comment below and I will add it to the list.
Thank ...
Although the accessibility of the node and comments are checked, it is a good idea to see this module as a security risk giving users a way to display nodes otherwise forbidden to them.
Because a lot of the data is used unfiltered, it is strongly suggest that you pay very close attention to the order of your filters. If you authorize this module to your users (i.e. where they can select an Input filter that includes this specific filter,) then look into checking the HTML code after this filter. Otherwise, a user could inject some unwanted HTML code1
To send someone back to your home page:
You will find the necessary links on my home page: [node:home link]
To include a hidden node as a reference in a post:
I talked about that in my post yesterday. [node:yesterday_post_name body collapsed]
To include a node from a forum or story and keep the comments:
See below: [node:57 themed comments]
If you have books and you are using the booktree module, then you can insert a book tree in another node using the Insert node module with the booktree parameter.
The book tree will start with the specified node.
See Also: Insert Node Parameter: cck (6-1.2)
IMPORTANT NOTE
This parameter is an extension that should be part of the booktree module and not of the Insert Node. It made not be supported in future versions (3.x, D7...)
The Insert Node module verifies that the user has permission to view that book tree. If not, nothing is output which means that the tag may instead generate ...
The CCK parameter let you insert one of your CCK field and some node fields that cannot otherwise be added without being themed.
We support CCK fields and several special field names as follow.
Fields that appeared after version 6-1.2 have a version specified between parenthesis (i.e. 6-1.3).
The CCK parameter must be followed by a field name. An empty name is likely to generate an error. The name of a field that does not exist is likely to generate nothing.
For instance, if you have a field named see_also, you would write:
cck=field_see_also;
This parameter inserts the date when the node was last modified.
Note that a node that was never edited does not have a modification date. When that happens, the creation date is used instead.
The date is formatted using the default format date function (see the Drupal format_date() function.)
CSS Class: span.insert-node-date
Theme: InsertNode_modified
See Also: Insert Node Parameter: created (6-1.0)
This parameter inserts the date when the specified node was created.
The date format defined for the site is used to display the date (see the Drupal function named format_date().)
CSS Class: span.insert-node-date
Theme: InsertNode_created
See Also: Insert Node Parameter: modified (6-1.0)
This parameter adds a quick link to edit the node1.
CSS Class: span.insert-node-edit
Theme: InsertNode_edit
See Also: Insert Node Parameter: link (5-1.0)