Jump to:

23375 Posts in 18175 Topics by 2866 members

General Questions

SilverStripe Forums » General Questions » fields are jumping out of the viewport

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

Page: 1
Go to End
Author Topic: 661 Views
  • dacar
    Avatar
    Community Member
    168 Posts

    fields are jumping out of the viewport Link to this post

    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.

  • dalesaurus
    Avatar
    Community Member
    283 Posts

    Re: fields are jumping out of the viewport Link to this post

    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.

  • dacar
    Avatar
    Community Member
    168 Posts

    Re: fields are jumping out of the viewport Link to this post

    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
  • dalesaurus
    Avatar
    Community Member
    283 Posts

    Re: fields are jumping out of the viewport Link to this post

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

    661 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.