In node referencies with more filed, we can see a table with these columns:

draggable handle for setting order of fields - autocomplete field - order deltas selectbox

If draggable handle is here, we don´t need delta select box. Or am I wrong?

I can hide delta-order TD, but not delta-order TH, because it lacks any class or ID name. Any way to change apperance of this table? May be, I like draggable handle on right side replacing deltas, rather than placed it left, like now it is. How about some tpl.php for custom styling of previews?

Comments

hefox’s picture

Are you getting a javascript error? Are you sure it's this module? Delta and dragging is handled by cck and the draggable js hides the delta; the only way this module should be effecting it is if it's producing a js error. (recently cross browser checked it so doubt it).

eL’s picture

no error, but weird is, that in Chrome I am not seeing preview after selecting reference, in Opera it works. But in both, I have both draggable cotrols and deltas. As you said, it could be problem outside this module. But, for example in Taxonomy, all is ok, only draggable components are displayed.

hefox’s picture

Status: Active » Postponed (maintainer needs more info)

Have you tread turning it on and off again? (ie. see if disabling reference_preview returns the delta to not being seen)

If so:
1) Version of drupal
2) Modules that might be conflicting
3) any other relevant info

eL’s picture

Status: Postponed (maintainer needs more info) » Active

thanks for you reply, here are some infos:

- Drupal 6.22
- same problem in Garland theme (and still no preview in Chrome)
- same problem with standard jquery UI and with jquery update and jquery ui 1.6 and 1.7
- same problem with Reference Preview off for any field
- turn off and on again - nothing changed

This could be important - I have set Number of values to unlimited. If I click on Add another item, deltas disapear.

hefox’s picture

Title: delta-order in table - uggly and duplicated » Possible JS issues in chrome browser,

Thanks.

Hm, I'll need to set up stock drupal and see if I can reproduce the error.

When you turned it off, did you check the field to see if the delta showed? Trying to see if it's unrelated, unclear what you meant by nothing changed.

eL’s picture

If I turn off Reference Preview, table looks same, as with it. Deltas are here. So, problem is probably not with Reference Preview module.

I found, what is causing this - I have node referencies in collapsed collpsible fieldset. If I set this fieldset to always open, deltas are gone!

BUT, as you changed title, persisting problem is, that in Chrome, there is still no reference preview seen.

hefox’s picture

Title: Possible JS issues in chrome browser, » Reference Preview doesn't work in chrome sometimes
Category: feature » bug

Complicated Adjust your weights/js so that the fieldset js runs after cck;s.

jquery hide has an issue that if a parent element is hidden, and the child element is told to hide, it doesnt actually hide the child.

hefox’s picture

Issue summary: View changes

tpl.php opiniion added