Project

General

Profile

Actions

Bug #25344

closed

FCE with closed section does not display title of Section

Added by Noel Bossart about 13 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-03-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If an FCE with sections is loaded, the title/summary for closed sections is not displayed. When you open the section, the title is then added to the section.

If the FCE is saved with an open section, it's also loaded that way, meaning that some titles are present, others not. In my opinion, it would make a lot of sense to display the correct title of closed section since they are hmm closed ;) While the content of the open section is visible already :) So the behavior is the exact opposite of what makes sense...

Create a FCE with sections.
Add 2 Sections with content.
Close one.
Save and close record.
Open record > closed Section has no title

Latest 4.4.7 Version.
JS Problem
(issue imported from #M17971)


Files

FCE Section Title not Display.png (60.2 KB) FCE Section Title not Display.png Administrator Admin, 2011-03-16 09:52
Actions #1

Updated by Noel Bossart about 13 years ago

The functions probably are located here: t3lib/class.t3lib_tceforms.php line 5444+

Actions #2

Updated by Noel Bossart about 13 years ago

UPATE: title is never displayed on load, just on toggle...

Actions #3

Updated by Noel Bossart about 13 years ago

wanted to write an update... but there is no jQuery. How can one work without jQuery?

function flexformInit(id){  
console.log($);
/*var $flexsection;
if(!id){
$flexsection = $(".t3-form-field-container-flexsections");
} else {
$flexsection = $("#"+id+"-content");
}
$flexsection.each(function(){
id = this.id;
var previewContent = "";
var $children = $(this).find(".t3-form-field-record-flexsection input");
$children.each(function(){
if(this.type=="text" && this.value){
previewContent+= (previewContent?" / ":"")+$this.value;
}
});
if (previewContent.length>80) {
previewContent = previewContent.substring(0,67)+"...";
}
$(id+"-preview").update(previewContent);
}); */
}
flexformInit();

:(

Actions #4

Updated by Jignesh Prajapati over 10 years ago

  • Target version deleted (0)

I am facing same issue. Anybody get any solution for this?

Actions #5

Updated by Benni Mack over 9 years ago

  • Description updated (diff)
  • Status changed from New to Closed
  • Is Regression set to No

This is solved in master! Thanks for the report!

Actions

Also available in: Atom PDF