Results 1 to 6 of 6

Thread: Skins – are you serious?

  1. #1
    carr is offline Active Member
    Join Date
    Jul 2008
    Posts
    44
    Rep Power
    7

    Default Skins – are you serious?

    Hi,

    I'm trying to create a custom skin...
    Documentation is again superb...

    Anyway there are some things that I don't understand:
    - What are skin zones good for when Zimbra ignores them? My understanding would be that everything belonging to that skin zone is inserted in the html element I specified. But the content gets pasted somewhere outside. I looked at some examples and the mini calendar is ALWAYS 'position: absolute' and somewhere outside of the skin skeleton.
    My skeleton is ignored completely, but I think this is because I didn't use tables...

    - Tables? Are you serious? I'm trying to create a custom skin to get rid of those tables and now I'm forced to use them, because the skin won't work otherwise? Am I right?

  2. #2
    carr is offline Active Member
    Join Date
    Jul 2008
    Posts
    44
    Rep Power
    7

    Default

    can at least someone cofirm that I need tables for the skins and explain me how zimbra determines wether to use position:absolute or inserting the content inside the html element.

  3. #3
    KevinH's Avatar
    KevinH is offline Expert Member
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    18

    Default

    We depend pretty heavliy on the structure and type of elements used. Tables, id's, divs, etc. If you change something core the JS code that builds the layout may break. It's hard to make a general statement or rule. The best way to do skin development is to alter a working skin/example. Trying to build one from scratch without internal knowledge with the layout code will be very hard. Just make small changes and test often and you'll have the best results. If you have a specfic problem/question please ask.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  4. #4
    carr is offline Active Member
    Join Date
    Jul 2008
    Posts
    44
    Rep Power
    7

    Default

    One specific question is about the position:absolute.
    I altered a working example, but the app_chooser was inserted "outside" the skin. It worked because the position of the element assigned to the app_chooser was used to determine the coordinates (I think). But everytime changing something on the app_chooser it behaved very strangely. I could not figure out why it is "outside" the skin. In other examples it worked so I assume there is something telling the layout to put it outside.
    Last edited by carr; 09-02-2008 at 02:22 AM.

  5. #5
    carr is offline Active Member
    Join Date
    Jul 2008
    Posts
    44
    Rep Power
    7

    Default

    Another question:
    What do I need to make my own skin.js work?


    [solved]
    As there are some Elements that I can not change via the skin.html. One table (in the app_chooser) has a valign=top. This is very clever...because now I can't change the position with css. So my idea was to change the attribute of the table with JavaScript. But maybe someone has a better ide
    [/solved]
    Last edited by carr; 09-08-2008 at 08:13 AM.

  6. #6
    carr is offline Active Member
    Join Date
    Jul 2008
    Posts
    44
    Rep Power
    7

    Default

    [solved]
    I love the support here...

    Here is a new question for /dev/null:

    My skin looks good in Firefox and Safari but in IE6 the tree_view is missing and preferences occupy the hole page as the height is set to 100%. In "working" skins the height is set dynamically via JavaScript.
    I assume this is because of some CSS changes I made. I barely touched the skin.html, but as there is no serious documentation...how to know what may caused the problem.

    Ideas? Suggestions? (please!! Just once.)

    [/solved]
    Last edited by carr; 09-09-2008 at 09:16 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 08-19-2008, 05:42 AM
  2. installing new skins
    By santo in forum Users
    Replies: 2
    Last Post: 03-08-2007, 08:02 AM
  3. New Skins
    By Coilcore in forum Developers
    Replies: 3
    Last Post: 02-02-2007, 03:41 PM
  4. 3.2 Beta 2 M2 - New Skins Not Available
    By klarsen in forum Developers
    Replies: 1
    Last Post: 07-26-2006, 12:14 PM
  5. Skins / Theme Development
    By kbaker in forum Developers
    Replies: 4
    Last Post: 01-31-2006, 02:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •