7
I found the bug in WF-Links that makes it incompatible with XOOPS 2.0.14.
The point is that it's really a WF-Links problem that was
invisible with old versions, and manifests itself now that I changed the XoopsForm output to make it standard compliant, so there was nothing really possible on XOOPS side.
The problem: the "add link" admin page contains 2 form elements named "cid". One is an hidden element whose value is always 0, the other one is the category selectbox.
With 2.0.13, the hidden element was displayed before the other one, so it seems the posted value was the one of the selectbox.
2.0.14 does not write hidden elements between <tr> tags anymore (as it's invalid HTML), but after the other ones, and now the new link is created with a category ID of "0" (the value of the hidden form element).
So, to make WF-Links work you have to remove this hidden element that shouldn't be here anyway:
in admin/index.php (around line 95 in my version), remove this line
Quote:
$sform -> addElement( new XoopsFormHidden( 'cid', $cid ) );
and that should fix it
EDIT: McDonald fiexd it already as far as I could see... sorry for this useless post
.
Any intelligent fool can make things bigger, and more complex. It takes a touch of genius, a lot of courage, to move in the opposite direction.
Two things are infinite: the universe and human stupidity; and I'm not sure about the 1st one (A.Einstein)