Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

if i want to add some links near the "big input" tab

ithcyithcy New
edited August 2005 in Vanilla 1.0 Help
what is the quickest way to do that? I just want to add a couple little html/js links.
i've read the documentation, at least i think i have, and i've searched as well, but i haven't seen anything covering this. if i missed it, i apologize and could someone point me to the relevant discussion? thanks.

Comments

  • MarkMark Vanilla Staff
    there is a secret in Vanilla - a failsafe method of getting your strings wherever you want them. You can probably use that method. It's called the ControlStrings method, and it allows you to place a string anywhere in any control. The problem is that you have to alter the source control so that it contains an anchor where you want to place your string. I only have about three control string anchors in the system right now because I just didn't know where to put them. Take a look at the ObjectFactory source code and you'll see how it works, then take a look at the "Forum Preferences" form control to see where I placed an anchor. Once you place your anchor in the control, let me know and I'll add the anchor to the dev version, too - that way it won't break when the next rev comes out.
  • The use for this, im guessing could be text formatting help for different formatters, any chance we could get this into the base code? so you could specift a link for formatting help in your chosen format?
  • MarkMark Vanilla Staff
    edited August 2005
    I'm kind of opposed to making those radio buttons link elsewhere. I don't want people to click them and then lose their comments. But I am providing the ControlStrings so that you can place a help button (or icon) there and have it pop up a help window or something.
  • actually that's a good idea. i was aiming for some quick tag buttons. lame, i know, but i'm lame.
  • and thanks mark =)
  • A help popup link would be pretty decent actually. Something to tell what each radio button will do. What HTML is allowed and what's not etc.
This discussion has been closed.