Hi,
So I tried using inline with a CCK node, but it didn't work. It just printed [inline:1] instead of my picture...
Thanks

Comments

Julien PHAM’s picture

Project: Content Construction Kit (CCK) » Attachment
Version: 6.x-1.x-dev » master
Priority: Normal » Critical

Mmmm this is not indeed a problem with inline...
It is a problem with the attachment module...

When we upload a file with this module, inline does not work for this file...

ccourtne’s picture

The attachment module does not supply any inline filter, and never claims to. If another module is supplying the inline tag it would have to be updated to support the attacment module.

Julien PHAM’s picture

Project: Attachment » Inline
Version: master » 4.6.x-1.x-dev

I do not know how inline works, I didn't know other modules should provide an inline filter... or perhaps then it is an inline issue, which does not work well with other things than upload module ?

I'll move it to inline then...

Julien PHAM’s picture

Version: 4.6.x-1.x-dev » 6.x-2.x-dev
David Lesieur’s picture

Status: Active » Fixed

As of now, Inline does work with CCK. I tested the [inline:N] tag in Text fields, using the cvs version of both modules.

jdw23’s picture

Has Inline been tested on 4.7?

David Lesieur’s picture

My test was with 4.7-rc3, so yes, it works.

Anonymous’s picture

Status: Fixed » Closed (fixed)
tormu’s picture

Version: 6.x-2.x-dev » 4.7.x-1.x-dev
Status: Closed (fixed) » Active

How was this fixed, I still can't use Inline-tags with CCK :O
I've got a field named "body" and it uses a input filter that has Inline enabled, and on the node-template I print $node->field_body[0]['view'] but still get only [inline:XX] and so on, the tags are not converted at all :(

sun’s picture

Regarding #1, #2 and #3 you might need to patch inline.module to allow usage of attachments by attachment.module. Don't know if this is still considered to be the problem. If so, look here: http://drupal.org/node/62741

sun’s picture

Priority: Critical » Normal
Status: Active » Fixed

I've also tested Drupal 4.7.3 along with CCK 4.7.0 and latest inline module and file uploads are properly inlined in custom CCK text fields.

Anonymous’s picture

Status: Fixed » Closed (fixed)