In CCK with weighted elements, the back and forward buttons appear somewhere inbetween the fields. Iam trying to fix this and will make a patch, but it will be for a 4.7 version

This might have to do with the use of fieldgroups, a CCK thingy to allow fieldsets.

CommentFileSizeAuthor
#1 pageroute_button_weight.diff.txt496 bytesBèr Kessels

Comments

Bèr Kessels’s picture

Status: Active » Needs work
StatusFileSize
new496 bytes

Here is a patch that sets a weight property in the right place. However, I am horrified by the idea of using a hardcoded "50". shiivvver :)

fago’s picture

Version: master » 4.7.x-1.x-dev
Status: Needs work » Fixed

thanks, I've just set it to 50 as $key should be null there.

Bèr Kessels’s picture

Status: Fixed » Active

Not sure if it was this patch. But suddenly there are no buttons at all in the following case:
* Delete button hidden
* no preview button
* no submit button.
(so; all 'core' buttons are hidden)
In that case the back and fwd buttons are not rendered either!

fago’s picture

Title: PAgeroute buttons wrong weighted » Pageroute buttons wrong weighted

hm, strange. for me it's still working: see http://more.zites.net/soc/nodeprofile/demo/profile

Perhaps you have set the label to "" or your route has only one page?

Bèr Kessels’s picture

I have not set the label to "", and my route contains several pages. Could it be a permission problem?

fago’s picture

hm, unlikely. perhaps it depends on the page type. Which one do you use?
I've tested it with the lonely node managment page provided by nodefamily..

fago’s picture

does the problem still persist?

Bèr Kessels’s picture

well, as I use the patch in #1, I don't really know. that patch solved the issue for me. :)

fago’s picture

Status: Active » Fixed

fine. as it seems to work with the actual pageroute module too, I'm marking this as fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)