Active
Project:
Links Package
Version:
6.x-1.0
Component:
Code: links_related.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
27 Jan 2009 at 01:00 UTC
Updated:
2 Jul 2009 at 13:06 UTC
Hi,
I just installed this module and configured it for a few node-types with lots of cck-fields. I needed to switch a bit around and now the fieldset in the form (as well as the output in a view) is somewhere in the middle of these fields, although it should be added to the end of the content (when viewing it) ..
I ended up hacking the weight manually to 100 in links_related.module, but this looks like a bad workaround. Any ideas?
Comments
Comment #1
syscrusher commentedCould you post your patch to this issue, so I can see exactly which of the various weight parameters you're changing? Maybe I can make this an admin-configurable option. Was it line 203 in links_related.module that you changed?
Also bear in mind that I'm actively working on making a CCK-aware module that adds a URL field type to CCK and uses Links API for the back end.
Scott
Comment #2
japanitrat commentedyes it is in 203.
if you intend to make it CCK-aware, the related-links fieldset in content-type edit forms would be redundant, wouldn't it? (because this thing has no weight setting in the field-configuration of a content-type, in contrast menu/title/body/taxonomy for instance)
Comment #3
gustavosg commentedI hacked the weight manually to 100 in links_related.module in line 203, but nothing happens.
Do I have to do something else?
Comment #4
gustavosg commentedSorry, hacking the line 203 changes the weight during view of the node, so it worked.
But I was trying to change the weight in the creation of a cck node (/node/add/[type]), where do I have to change?
Thanks!