in reply to Re^2: black tags (patches)
in thread black tags

Ok, ive taken this to step 2. I created Display Settings as the new settings page, and added support for selecting the way spoilers are rendered. I haven't added the textbox feature yet as I havent really decided/figured-out how it should work and what should happen. For instance if the style is table how should the user provide the colors? as a semicolon seperated string? Likewise the text for the link and div and table modes, where would it go in the template?

Anyway, as part of this I created a new nodetype called user_superdoc that restricts access by annony monk at the htmlpage level and not in the code itself. IMO all of the settings superdocs should be switched over to this type (but I havent done so yet).

Lastly, it wasnt clear to me the way that stuff on User Settings should be extracted and grouped. My attempts at Display Settings are just an initial attempt at some such restructuring, and accordingly i havent modified User Settings at all. I welcome feedback or help in restructuring things.

---
demerphq

Replies are listed 'Best First'.
Re^4: black tags (customize)
by tye (Sage) on Apr 26, 2005 at 22:32 UTC
    For instance if the style is table how should the user provide the colors? as a semicolon seperated string?

    "Colors"? The foreground and background colors need to be the same or there is no point so the user only specifies one color, in whatever format their browser supports. So they could say "white" or "black" or "#cccc33" or whatever.

    Likewise the text for the link and div and table modes, where would it go in the template?

    Just provide one value to be optionally overridden and if they want to override other parts, then they can edit the resulting values (as I mentioned).

    - tye        

Re^4: black tags (patches)
by eric256 (Parson) on Apr 25, 2005 at 20:54 UTC

    Nicely done! ;)

    I just wanted to mention that links to reveal all spoilers up with the print /replies, code, xml, spoil would be cool


    ___________
    Eric Hodges