Announcement

Collapse
No announcement yet.

Adding Full CKEditor to CMS Static Page editor

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Adding Full CKEditor to CMS Static Page editor

    So, tried this in 4.1.3 and it worked fine except that the CKEditor CSS was quite messed up with vb's CSS. I figured once vb had integrated CKEditor they probably would fix all the CSS issues. I was right.

    Under 4.1.3, I had only uploaded CKEditor to a forum sub-folder, and done 2 simple changes to the vbcms_content_staticpage_inline template.

    First was, changing, at the top of the template:
    PHP Code:
    <div class="fullwidth">
            {
    vb:raw editbar}
        </
    div
    to:
    PHP Code:
    <div class="fullwidth">
            {
    vb:raw editbar}
                    <
    script type="text/javascript" src="/testvb/ckeditor/ckeditor.js"></script>
        </
    div
    and changing:
    PHP Code:
    <div class="blockrow">
                        <
    label class="quarter" for="pagetext">{vb:rawphrase content}: </label>
                        <
    div class="threequarters"><textarea name="pagetext" cols="80" rows="20">{vb:raw pagetext}</textarea>
                        </
    div>
                    </
    div
    to:
    PHP Code:
    <div class="blockrow">
                        <
    label class="quarter" for="pagetext">{vb:rawphrase content}: </label>
                        <
    div class="threequarters"><textarea class="ckeditor" name="pagetext" cols="80" rows="20">{vb:raw pagetext}</textarea>
                        </
    div>
                    </
    div
    So today I upgraded my test site to 4.1.4 to see what would happen.

    CSS is fixed, but toolbar icons are missing. Toolbar functions all work, but are missing the proper icon.

    Any suggestions on what to do to fix this?

    CKEditor Missing Toolbar Icons

    Thanks!

    -Andy.
    -Andy.
    http://www.checkcheckonetwo.com
    http://www.mindplacesupport.com

  • #2
    Anyone?
    -Andy.
    http://www.checkcheckonetwo.com
    http://www.mindplacesupport.com

    Comment


    • #3
      You should post about this on vbulletin.org. It's not a problem with the core product, and sure is not feedback.

      Comment


      • #4
        Posts made at vb.org never get answered, and this forum seems to have the most experienced and advanced forum users. But you're right, it's not the correct place for this post. It's too bad there isn't more support as there was in the old days for mods. I will however follow the rules and give vb.org another try.
        -Andy.
        http://www.checkcheckonetwo.com
        http://www.mindplacesupport.com

        Comment


        • #5
          You need another sprite I guess? With all icons of the full CKEditor.

          http://ckeditor.com/apps/ckeditor/3....kama/icons.png
          Minatica.be - Belgian/Dutch computer and technology site
          DownloadsII - Add a downloads database to your vB 4

          Comment


          • #6
            I have the same problem but I downloaded 4.1.4 without images so I think this is the source of my problem.

            Comment


            • #7
              Re-download a fresh copy the ZIP file from the Members Area and re-upload all files (except install/install.php and includes/config.php.new) making sure you overwrite all files currently on your server.

              Does this resolve the problem?
              Vote for:

              - *Admin Settable Paid Subscription Reminder Timeframe*
              -
              *PM - Add ability to reply to originator only*
              - Add Admin ability to auto-subscribe users to specific channel(s)
              - Highlight the correct navigation tab when you are on a custom page
              - "Quick Route" Interface...
              - Allow to use custom icons for individual forums

              Comment


              • #8
                Originally posted by raginpagin View Post
                I have the same problem but I downloaded 4.1.4 without images so I think this is the source of my problem.
                You don't have this same problem since this is about writing custom code to do something else. If you have a problem with your editor, then you should create your own thread explaining exactly what the problem is so that we may help you.

                Regarding the original post, this was then posted over on vbulletin.org and I explained one way to fix the image code for this.

                Please don't PM or VM me for support - I only help out in the threads.
                vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                Want help modifying your vbulletin forum? Head on over to vbulletin.org
                If I post CSS and you don't know where it goes, throw it into the additional.css template.

                W3Schools &lt;- awesome site for html/css help

                Comment


                • #9
                  Originally posted by Lynne View Post
                  You don't have this same problem since this is about writing custom code to do something else. If you have a problem with your editor, then you should create your own thread explaining exactly what the problem is so that we may help you.

                  Regarding the original post, this was then posted over on vbulletin.org and I explained one way to fix the image code for this.
                  Oops sorry.

                  But and however! I uploaded just the icons folder and my problem is fixed.

                  Comment

                  Related Topics

                  Collapse

                  Working...
                  X