Cool Module, I've noticed that once you've created a viewfield the information for that field isn't available as a token.

ie

[field_viewfield-raw]
[field_viewfield-formatted]

Can you make this function available?

Thanks,

PD

CommentFileSizeAuthor
#2 insert_cck_field.zip1.67 KBHaehnchen

Comments

Haehnchen’s picture

would by fine...

Haehnchen’s picture

StatusFileSize
new1.67 KB

now I am using the viewfield on my page to include a view with some pictures in a node.

http://www.espend.de/artikel/miniaturansicht-thumbnails-aus-dem-explorer....
the 3 pictures are a simple view with parameter

since the tokens a not available and i found no other module that do the simple thing i have
done a simple module that replace a token in a node with a cck field. it dont depent on any
other modules so its really simple.

just use token like this [field_pictures] (it should work with every cck field) to include the named field in node. think of modify cck field option so the field is hidden else you see it twice

its create a new input type so activate it!

i thinking of create a module project but till now iam not allowed to do this here...
so use the file attached

moreover this modules are simliar:
http://drupal.org/project/inline
http://drupal.org/project/linodef
http://drupal.org/project/insert_view

but they dont to what i want.

Parkes Design’s picture

Thanks for your input Haehnchen I'll check it out.

sun’s picture

Title: No Token for Viewfield CCK type » Tokens for Viewfield values
Category: support » feature
eaton’s picture

I'd be VERY hesitant to commit this in D6; tokens are, by design, rendered even if they are never used. That means that whenever the node is loaded and ANY token is used, the view will be executed and rendered to populate the View token.

jerdavis’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closing as Drupal 6 is no longer supported.