Bug #17753
closedButton for creating new records disappeared on nested child records if a parent record reached the maxitems value
0%
Description
I have two tables which I connect with irre. When I make following reference it the irre element is not shown:
Screenshot a: table2 (visible) > table3 (visible) > table2 (invisble)
When I'm using follwing it works fine:
Screenshot b: table3 (visible) > table2 (visible)
I'm also using for both tables:
"foreign_field" => "parentuid",
"foreign_table_field" => "parenttable",
It also does not work with the trunk version.
(issue imported from #M6651)
Files
Updated by Malte Jansen about 17 years ago
Can somebody move it to the category: IRRE.
Thanks
Updated by Malte Jansen about 17 years ago
This bug accours if following is not set:
["config"]["appearance"]["newRecordLinkPosition"]
Updated by Malte Jansen about 17 years ago
Perhaps there should be a default value for the "appearance". Than it would also work with more levels...
Updated by Oliver Hader almost 17 years ago
Could you please attach your extension (or send it via mail to oh (at) inpublica /dot/ de)? Thx!
Updated by Oliver Hader almost 17 years ago
Problem:
On using nested inline records with the 'maxitems' property set, I happens, that the "create new record" button disappears also for nested children. These buttons are selected only by classname and thus also those buttons of the children were hidden. Furthermore IE7 has some issues on using the getElementsByClassName method.
Solution:
Add a md5-hash of the specific parent to each "create new record" button and select the objects by classname and this hash. Furthermore the "object.getElementsByClassName(classname)" calls were modified to "Element.getElementsByClassName(object, classname)".
Please test the attached patch and give me some feedback. Thanks!
Updated by Oliver Hader almost 17 years ago
- TYPO3_4-1 (rev. 2857)
- Trunk (rev. 2858)