1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

updating skin property value

Discussion in 'XenForo Development Discussions' started by Vincent Gabriel, Feb 4, 2016.

  1. Vincent Gabriel

    Vincent Gabriel Active Member

    What will be a programmatic way of updating the background-image property in a skin.

    attached screenshots

                [property_definition_id] => 19
                [definition_style_id] => 0
                [group_name] => general
                [title] => Body
                [description] => This property controls the CSS for the main <body> element of XenForo pages.
    Primarily, it is used for text styling, which is inherited by almost all other elements within XenForo.
                [property_name] => body
                [property_type] => css
                [css_components] => a:5:{s:4:"text";b:1;s:10:"background";b:1;s:6:"border";b:1;s:6:"layout";b:1;s:5:"extra";b:1;}
                [scalar_type] =>
                [scalar_parameters] =>
                [addon_id] => XenForo
                [display_order] => 20
                [sub_group] =>
                [property_id] => 538
                [style_id] => 3
                [property_value] => a:5:{s:16:"background-image";s:40:"http://gfy.com/skins/gfy/skin/bg_org.gif";s:17:"background-repeat";s:6:"repeat";s:5:"color";s:12:"@contentText";s:5:"extra";s:41:"word-wrap: break-word;
    line-height: 1.35;";s:11:"font-family";s:15:"@fa_primaryfont";}

    Attached Files:

Share This Page