Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

fields are jumping out of the viewport


Reply


4 Posts   755 Views

Avatar
dacar

Community Member, 168 Posts

22 October 2009 at 3:22am

Hi,

i have added a new FieldSet to the backend using model admin. Everything works fine. But some fields are not visible. Formfields after he TinyMCE's iframe are not in the vievport. If you use the tabulator they are visible. Can anybody give a hint to fix this?

Here is some Code:

function getCMSFields() {
   
      $fields = new FieldSet(
         new CheckboxField('anzeigen', 'Artikel ein-/ausblenden'),
         new CalendarDateField('gueltigab', 'Anzeigen ab dem'),
         new TextareaField('Headline', 'Überschrift'),
         new TextareaField('Subheadline', 'Subheadline'),
         new HtmlEditorField('Copytext', 'Artikeltext'),
         new ImageField('Thumb', 'Artikelbild')
      );

      return $fields;
   }

Greetings, Carsten.

Avatar
dalesaurus

Community Member, 283 Posts

23 October 2009 at 4:25pm

TinyMCE uses up a lot of space, perhaps you could move your fields above it? Make sure your stylesheet is not changing the overflow in that frame/div.

Avatar
dacar

Community Member, 168 Posts

23 October 2009 at 11:04pm

Hi Dalesaurus,

the last two elements (HTMLEditorField and ImageField) are i-frames. I have tried to set an "clear:both" element befor the end of the form but it doesn't help. All CSS settings are back to the default values. I am Using FireFox 3.5.3.

In IE7 and IE8 it is working fine.

Greetings, Carsten.

Attached Files
Avatar
dalesaurus

Community Member, 283 Posts

24 October 2009 at 10:03am

That is some kind of CSS specific thing for FF. Sorry, but I am not that good with diagnosing/fixing styles.