Active
Project:
S5 presentation player
Version:
6.x-1.x-dev
Component:
Code - s5_textfield
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2008 at 03:41 UTC
Updated:
16 Sep 2008 at 02:51 UTC
I'm trying to replicate what's shown in the second half of the screencast, in Drupal 6. I have
a CCK field called "presentation" that contains an S5 presentation, and a body with text.
The url .../node/43/s5 displays the body as an S5 presentation, as would be expected, but
the url .../node/43/s5/field_presentation still displays the body, not the contents of the presentation
field. Has anyone gotten this to work in Drupal 6?
Comments
Comment #1
gregglesI haven't done any testing for D6 with cck - basically because cck still changes every day. Once we have a cck 2.0 please ping me about this issue and I'll see what I can do.
Comment #2
mercurio commentedI added the following code to my s5/s5_textfield.module, in s5_textfield_nodeapi() (line 175):
That's enough to make a CCK field called s5_presentation override the body if it's present, otherwise
the body is used. A quick hack like this might be sufficient to handle most cases when the site
builder wants a field other than the body to be used for the presentation.
Comment #3
gregglesThere is code which is supposed to figure out which field to deal with based upon the URL. so something like example.com/node/NID/s5_field_s5_presentation would be the url for your cck field name.
Again, I imagine that cck for 6.x has changed enough to break that, but if you want to hack the module that's where to look ;)