Menu

Adding a skin option

Help
Ian
2006-03-01
2013-04-02
  • Ian

    Ian - 2006-03-01

    Hi,
    I was messing about with the interactstyle cascading style sheets, and I added a repeated background image in the div id inner box.

    “background-image:url('../local/skins/ian/images/123.png'); background-repeat: repeat;”

    The thing is that now our users want to be able to do it too.

    I was going to try and put an option to add an image as a background element to #innerbox and an option to have it repeated, I’ve had a look in Skin.php file but my php isn’t very good.

    Could anyone help me please?

    Ian.

     
    • Glen Davies

      Glen Davies - 2006-03-01

      Hi Ian

      There is no need to edit the php files for this. In version 2.1 if you select Server Admin from your Your Links dropdown and then Server Settings, then click Add/Modify next to the skins select list you get a page to add and modify skins (you can also get to this link from the spanner on any space homepage, then Settings if you have set 'Allow admins to set' under the skins section of the server settings page)

      Then on the Add/Modify skins page select the option to add. Give the skin a name, select the default template and then scroll to the bottom of the page to the extra css box and in here add

      #innerBox{
      background-image:url('../images/path/to/your/image'); background-repeat:repeat;
      }
      Then click then click the add button.

      Get back to me if this does not make sense, or if you have any problems.

      Regards
      Glen

       

Log in to post a comment.

MongoDB Logo MongoDB