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

XF 1.0 Style Properties - Controlling Style Options

Discussion in 'Have You Seen...?' started by Kier, Sep 1, 2010.

  1. Kier

    Kier XenForo Developer Staff Member

    When it comes to quickly and easily toggling the display or behaviour of user interface elements, it often makes sense to be able to pass simple parameters to the templates.

    XenForo provides a powerful and extensible system to allow variables to be defined and modified on a per-style basis, making this a breeze and opening the door for style customization by third-party add-ons.

    I suggest you view this video at full-size by clicking the full-screen gadget in the bottom-right of the video.
    Dadparvar, Eagle, Ryan_ and 44 others like this.
  2. Booth

    Booth Well-Known Member

    Excellent, very useful :)
  3. Markos

    Markos Well-Known Member

    Nice! Brilliant!
  4. Poltergeist

    Poltergeist Active Member

  5. ---MAD---

    ---MAD--- Well-Known Member

    Video says page cannot be displayed..

    Edit: Nvm I got it to load in a new tab.

    Very nice. Loving the speed of the admincp :).
  6. RickM

    RickM Well-Known Member

    Very sexy!
  7. Brogan

    Brogan XenForo Moderator Staff Member

    That looks superb!

    Presumably any changes made to the master styles or any new styles created won't be affected by upgrades?

    Now if only we could edit the colours via the ACP then my life would be complete :D
  8. Forsaken

    Forsaken Well-Known Member

    I think thats what Color Palette is for ;).
    Kier likes this.
  9. Kier

    Kier XenForo Developer Staff Member

    You presume correctly.

    And as far as colours are concerned, look closely at the video right before I click into the Options group :)
  10. Brogan

    Brogan XenForo Moderator Staff Member

    Great stuff!

    I don't suppose you could see your way to adding font family and font size too could you? :D

    Pretty please? :D
  11. Forsaken

    Forsaken Well-Known Member

    I think thats controlled in general or one of the other areas.

    Options I think relates only to turn things on and off? 
  12. Kier

    Kier XenForo Developer Staff Member

    There's a huge subject here relating to style properties, and I don't think anyone is going to be left wanting more when we reveal the whole system, but for now let's try to keep the comments centered around what you have seen, rather than what else might be there, we have so much to show you but it will be in a separate HYS entry.
    Neutral Singh likes this.
  13. Kier

    Kier XenForo Developer Staff Member

    Options is a stop-gap group for things that don't fit anywhere else for the time being.
  14. ---MAD---

    ---MAD--- Well-Known Member

    I must say the UI for the admincp looks very sexy indeed :).
    Been Told likes this.
  15. Disjunto

    Disjunto Well-Known Member

    definitely a lot of potential in this system. Seems to make it very easy to modify a style in the way that 90% of users probably would. Can't wait to play about with custom property groups and stuff for addons :D
    Boothby likes this.
  16. Forsaken

    Forsaken Well-Known Member

    From what we saw, is it going to be possible for developers to add things to style properties (Don't have to answer if its going to be commented on later)?

    From what I've seen, this will make developing what I'll need for my site much easier then it would have been with vB3, and especially vB4 :D.

    One of the graphic artists I recruited isn't really a fan of some of the features of XenForo, but with the properties we should be able to create a backup style she can use so she'll actually be fine with using the forums ;)
  17. Sean James

    Sean James Well-Known Member

    Looks great
  18. Brogan

    Brogan XenForo Moderator Staff Member

    Thanks Kier, I'll refrain from asking any more questions for now :)

    From what I've seen so far, this will negate the need to do almost all style edits which is going to make life a whole lot easier for most admins.

    Upgrade time is no longer going to be fraught with stress and cussing as you have to manually manage all of the edits you've made.
  19. Kier

    Kier XenForo Developer Staff Member

    Yes, that's a fundamental component of the system design.
    Walter and Ceri May like this.
  20. Forsaken

    Forsaken Well-Known Member

    :p You should possibly leave the demo theme for the people who don't like the overlays and such.

Share This Page