Turn on editor features by default

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SiFor
    Member
    • May 2004
    • 91
    • 5.0.X

    Turn on editor features by default

    I want the advanced editor turned on by default, how do I achieve this.

    Is see in the template "contententry_toolbar" a vbcomment about Template parameters but I cant find any options in vb to turn them on of off?

    HTML Code:
    <vb:comment>
        // Template parameters:
        // @param int allowTypePhoto - indicates if Photo toolbar item is shown (1) or not (0).
        // @param int allowTypeLink - indicates if Link toolbar item is shown (1) or not (0).
        // @param int allowTypeVideo - indicates if Video toolbar item is shown (1) or not (0). (This is usually turned on in Media tab where we allow user to upload Photos and Videos (not Links)
        // @param int allowTypePoll - indicates if Poll toolbar item is shown (1) or not (0).
        // @param int showToggleEditor - indicates if Toggle Advanced Editor toolbar item is shown (1) or not (0).
        // @param int showSmiley - indicates if Smiley toolbar item is shown (1) or not (0).
        // @param int showAttachment - indicates if Attachment toolbar item is shown (1) or not (0).
    </vb:comment>
    CertForums.com Help, Advice and Resources to Pass Your Certification
  • SiFor
    Member
    • May 2004
    • 91
    • 5.0.X

    #2
    Well Im getting closer, I figured out that if I use {vb:set} I can remove the Share photo button with

    HTML Code:
    {vb:set allowTypePhoto, '0'}
    But I still cant get the editor to load by default, I have the follwoing set but still doesnt doesnt work.

    HTML Code:
    {vb:set preloadJavascript, '1'}
    {vb:set initOnPageLoad, '1'}
    {vb:set showCkeToolbar, '1'}
    CertForums.com Help, Advice and Resources to Pass Your Certification

    Comment

    • SiFor
      Member
      • May 2004
      • 91
      • 5.0.X

      #3
      I seemed to get it to work with:

      HTML Code:
      .b-editor--cke-toolbar-is-hidden .cke_top {
        display: block;
      }
      in additional.css

      what I want now is to have the attachment menu on by default Im working with a forum that 99% of the time every post has an attachemnt and they wont the menu visable by default.

      This im really stuck on.

      Oh and this place is DEAD when it comes to support, whats happened?
      CertForums.com Help, Advice and Resources to Pass Your Certification

      Comment

      • SiFor
        Member
        • May 2004
        • 91
        • 5.0.X

        #4
        Nevermind, i fixed it myself <feels like I'm talking to myself anyway>
        CertForums.com Help, Advice and Resources to Pass Your Certification

        Comment

        • tlphelp
          New Member
          • Sep 2010
          • 18

          #5
          would really appreciate knowing exactly how you turned this on (what you edited and how)! thanks.

          Comment

          Related Topics

          Collapse

          Working...