hello,

basically i want to attach pictures to flexinodes.. Modules (image, flexinode, relativity) are installed, running and configuered so that my flexinodes should accept image childs.. But they don't. No options are shown to attach anything whatever I try :(

the strange thing is that on a different website parent-child relations seem to work just fine (exept that i dont use the image module there).. at least the options are shown in the nodes' new- and edit-pages..

are there any conflicts known between reletivity and other modules..? ..or does anybody have any other suggestions for this strangeness going on..?

thank you, greetings, till.

Comments

javanaut’s picture

I guess you're using the 4.5 version of the relativity module? (the CVS version varies wildly).

Here's some suggestions:

When viewing the teaser version of a node, the links won't show, only when you're viewing the node by itself.

If any links are available to display, they should be displayed in a group titled "Related Actions" (though you probably know this, having it working on another site).

You'll need permission to create image nodes for an "attach new image" link to appear.

You'll need permission to update the node that you're attaching the image to. Additionally, if image nodes require exactly one parent, you won't be asked to attach an existing one (theoretically, they shouldn't exist without a parent).

Finally, if you've overridden any of the theme functions for theme_relativity_*, then you'll have to figure it out for youself ;)

Hope this helps,
-Mark

dumBoOo’s picture

hi mark,

thank you for your suggestions, but the problem seems to be a bit different: i basically followed the 3-step description to attach pix to a blog.. and enabled different relativities for a test - but no options are shown neither in new-node nor in edit-node.. X[

The module is checked -on- in the mod's config, but it does not show at all. The only place where it proves that it's -on- is in the -settings-..
That's why i thought it could be even some strange interference with another module..? I had installed quite a few different mods before i found relativity would be best - by now i disabled most of the modules i dont need..
On this other installation (same server-machine, different www-TLD) i installed relativity before installing too many other mods, and it works just fine,,
...?¿

cheers, till.

ps: using a cvs version 1.8 from 1-2-days ago. Just saw that the cvs-link was "downgraded" to 1.15..?!¿

dumBoOo’s picture

i am sorry that i have wasted your time - it seems that i was just plain stupid. Somehow I expected the "add node" in the "edit" or "new" mode, but it is in the view/preview mode.. Alright.

One more thing: how do i actually de-tach / disconnect an existing relativity..? (or am i just plain stupid again?!¿)

greetz, till.

javanaut’s picture

Hi, glad you figured it out.

Just as a matter of preference, I placed the "remove child node" links on the node "edit" page. Do you think that the "remove" link should be right there with the main links? I haven't had much feedback on this.

javanaut’s picture

I guess I could place a message in the section when a new node is being previewed indicating that links will appear once the node is saved...that would be easy enough for me.

dumBoOo’s picture

thanks for your reply - and sorry that I only reply now..
I actually still could'nt find the "unlock"-link yet.. neither on the parent's edit-page, nor on the child's edit-page..
..am I blind on some certain spot..? :)

thanks again! & greetings, till.

javanaut’s picture

It sounds as though the user account that you're logged in as doesn't have "update" permission for the parent node. Most of the testing that I've done has been on installations with some sort of node_access setup where the update privilege is explicitly granted. I'll see what it does on a bare installation with just flexinode.

dumBoOo’s picture

hello again,

..what do you mean by the `"update" permission´.. and `some sort of node_access setup where the update privilege is explicitly granted.´..?
.. I have some access modules installed: "actions", "workflow", "Nodeperm_role" - and I'm at the moment trying to tune them so that "permission to edit" is granted by default to different roles.. and I'm actually trying to find out more bout that also in a different forum-topic)
.so what modules would I be still missing for for the node_access- / update-permissions..?

greetz, till.

javanaut’s picture

*bells and whistles go off now*

If a node doesn't have a parent, the links never appear on the node edit page. I'll create a bug report and see about fixing it.

Thanks

dumBoOo’s picture

hello again,

..I thought that in my setup the pictures were actually child objects of the articles - and so the articles should be parents of the pictures.. or did i miss something completely..?

..anyways - I still didn't figure out how to let "the editors" easily detach a child-picture from its parent-article..
And now I'm actually thinking of making an extra page that would just list all the relativity-relations - and allow the editors to delete single releation from the database..
hmm..
..or is there a better practice / something that I missed completely..?

greetings, till.

ps:: just to mention the original problem again: at the moment the only way I can disconnect an image from an article is to delete it.. which will at least become a problem once one picture is child of two articles.. `.´ ..any suggestions anyone..? ..thank you! ..and happy easter!!

javanaut’s picture

The bug was mentioned here:

http://drupal.org/node/19230

Replace your relativity.module with the one here:

http://cvs.drupal.org/viewcvs/drupal/contributions/modules/relativity/re...

Hope this helps. If not, be sure to say something :)