Active
Project:
Reference Preview
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2011 at 10:54 UTC
Updated:
7 Aug 2011 at 15:12 UTC
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
Comment #1
hefox commentedAre 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).
Comment #2
eL commentedno 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.
Comment #3
hefox commentedHave 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
Comment #4
eL commentedthanks 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.
Comment #5
hefox commentedThanks.
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.
Comment #6
eL commentedIf 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.
Comment #7
hefox commentedComplicated 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.
Comment #7.0
hefox commentedtpl.php opiniion added