ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Setting User Preferences changes theme fontsize


  • 2010-12-31 19:25:35

    Setting User Preferences changes theme fontsize

    I have developed a custom theme from the default theme for Version 2.0.2. Everything works great except when a user changes their Preferences. Whenever a change is set (Apply button is clicked) the default font-size is reset to a larger font than specified by my theme. This happens regardless of whether the font size is modified in the text settings or not. Is this a bug? Can I disable the ability for a user to set their preferences so my theme settings are not messed up?

    Thanks,
    Sandie

    ATutor Version: 2.0.2(r10589 - 2010-12-21 16:47:09).
    PHP Version: 5.2.9
    MySQL Version: 5.0.91mm-log
    OS: Linux 2.6.28.5-grsec-sg2

  • 2010-12-31 19:47:32

    Re: Setting User Preferences changes theme font-size

    I just figured out that this problem only occurs when I am logged in as admin and then view a course from the courses listing in the admin interface. In this case, I am taken to the course with the login of the instructor. When I set preferences from the course (while logged in as the instructor via my admin login) the font-size is changed. It seems to work fine when a regular user logs in and changes their preferences.

    Here's the preferences value for the instructor's AT_members record after setting preferences:

    a:16:{s:10:"PREF_THEME";s:14:"ci-tutor-2.0.2";s:13:"PREF_MODIFIED";i:1;s:17:"PREF_MOBILE_THEME";s:0:"";s:14:"PREF_NUMBERING";i:0;s:13:"PREF_TIMEZONE";s:1:"0";s:15:"PREF_FORM_FOCUS";i:0;s:19:"PREF_CONTENT_EDITOR";i:0;s:15:"PREF_SHOW_GUIDE";i:1;s:14:"PREF_FONT_FACE";s:0:"";s:15:"PREF_FONT_TIMES";s:3:"1.0";s:14:"PREF_FG_COLOUR";s:0:"";s:14:"PREF_BG_COLOUR";s:0:"";s:14:"PREF_HL_COLOUR";s:0:"";s:18:"PREF_SHOW_CONTENTS";i:0;s:31:"PREF_SHOW_NEXT_PREVIOUS_BUTTONS";i:1;s:22:"PREF_SHOW_BREAD_CRUMBS";i:1;}

    Sandie

  • 2011-01-02 00:53:40

    Re: Setting User Preferences changes theme font-size

    Another odd thing happening when setting preferences - when I change a default preference in the Admin area, it partially changes the desktop theme to the ATutor default. To fix it, I have to go back to 'Themes' and set my theme as the default desktop theme even though it is still shown as the default theme in the listing. Or I can logout and log back in.

    Sandie