Steven,
thanks for reply.
I applied your patch and now buttons on index page are draggable by specifiying left and top coordinates.
However, I add a button object on index page:
- New object on index page
- obj1.png (31.84 KiB) Viewed 3771 times
Here is how it's rendered in nuBuilder 2.7.4.9:
- New button object on index page in nuBuilder 2.7.4.9
- nb2749.png (155.05 KiB) Viewed 3771 times
and here is how it's rendered in nuBuilder 2.8:
- New button object on index page in nuBuilder 2.8
- nb28.png (153.28 KiB) Viewed 3771 times
td elements marked with number
1 in above images are strings
that are rendered different in nuBuilder v2.7.4.9 and v.2.8 (maybe could be deleted?).
Also, I add other tabs to index page, with some buttons to open my forms.
These buttons had a NULL value (or a number greater than zero, if they had absolute position) in
sob_button_top and
sob_button_left.
Now nuBuilder v2.8 don't work with absolute positioning, but to make nuBuilder render them correctly, I have to set
sob_button_top=zero in database.
Maybe should be necessary modify line 1782 in form.php:
Code: Select all
old line:
// if($this->parentType == 'form' and $this->objectProperty['sob_button_top']=='0'){ //--not a subform
new line:
if($this->parentType == 'form' and ($this->objectProperty['sob_button_top']=='0' || is_null($this->objectProperty['sob_button_top']))){ //--not a subform
Thanks again for all your job,
Max