You need to Register for free and Login to post a message in the forum.

Forum

FCKeditor Tutorials
Last Post 2009-12-10 07:52 PM by Lee Sykes. 7 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Rick MontanaUser is Offline
Nuker
Nuker
Posts:12

--
2009-12-08 04:13 PM
    I've followed all the great FCK tutorials on the site, but I still can't find an answer to a problem that I'm having...  I'm using IE7, the default font (under Page/Text size) is set to Medium...  My pages display fine, they scale when I change the text size anywhere from largest to smallest.  My problem comes in with the FCKeditor.  When I use the font-size from the drop down list, what displays is always ONE size larger than what is saved - unless I select the medium font-size.    When I use the IE dev toolbar it shows the same keyword in both the editor and what is saved.  why does one render different than the other?  Has anybody seen this issue?  It's driving me nuts! Thanks for your input....

     

    Lee SykesUser is Offline
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945
    Avatar

    --
    2009-12-09 08:16 AM
    Hello,

    The first thing I would do is NOT use the FCK editor to change the text size, it creates lots of extra tags in the HTML and you will find that Google will index your page for the keyword of "font size" because there will be so many font size tags in the source code.

    It is best to use a CSS class which you can assign to a p tag or div tag to size a section of text as you require. You add the code for the font size in your skin.CSS file.

    It maybe worth having a look at this tutorial:
    How to create resizable text
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Rick MontanaUser is Offline
    Nuker
    Nuker
    Posts:12

    --
    2009-12-09 02:48 PM
    Thanks for the reply, Lee. I actually had followed the steps in the 'resizable text' tutorial and that piece seems to work fine. In IE7, I can use the Text Size feature OK. But, even if I don't use the font-sizes, for example, if I add a new HTML module and go to edit it, the Add Content... prompt that appears is LARGER than expected. So if I type text and preview or save it, it is smaller than what the FCK editor is showing. I've got the portal set to dynamic in the css edit area, etc... How can I get the FCK editor to actually to be consistent with what is saved/previewed?
    Lee SykesUser is Offline
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945
    Avatar

    --
    2009-12-09 02:58 PM
    Do you know if you have set your skin to use XHTML Transitional as a DOC Type?
    How to select DOC TYPES in DotNetNuke 4.4
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Rick MontanaUser is Offline
    Nuker
    Nuker
    Posts:12

    --
    2009-12-10 02:09 AM
    Yes, xhtml transitional is set in the doc type as well as set as fall back in host settings. the skin i'm using at this point is the Minimal Extropy, but I get the same results with any skin. It looks like FF displays the same size in both the fck editor and what is saved. IE7 seems to be the problem...
    Lee SykesUser is Offline
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945
    Avatar

    --
    2009-12-10 08:01 AM
    Ok, I understand now, I think I have come across this problem before as well. When doing any admin editing I always use Firefox so I tend not to see these problems.

    One thing you could check is the body ID that you have set for the FCK editor, you may need to set some text sizes for the body tag that the FCK editor is using to match your skin.

    Further details on configuring the body tag in the FCK editor have a look at this tutorial:
    FCK Editor CSS Skin Styles Preview in DotNetNuke
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Rick MontanaUser is Offline
    Nuker
    Nuker
    Posts:12

    --
    2009-12-10 07:49 PM

    You got me thinking about the DOC types so I did some poking around and found an entry in the FCKconfig.js file where the DOC type can be specified:

    I changed the FCKConfig.DocType = '' setting to:

    FCKConfig.DocType = 'http://www.w3.org/TR/xhtml1/DTD/xht...tional.dtd">' ;

    Once I added the DOC type settings here, the the font sizes show the same in the fckeditor window as they do once previewed and saved! Finally. 
    I have been messing with this for days.

    Thanks again for your help in pointing me in the right direction.  This is a great site you have here with a ton of great info!

    Lee SykesUser is Offline
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945
    Avatar

    --
    2009-12-10 07:52 PM
    nice one, I will have to remember that one!
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    You are not authorized to post a reply.


    Active Forums 4.3

    Latest Forum Posts

    Enforce Terms Tutorial Update by Vistalogix Corporation
    I tried configuring my DNN 6.1.2 install to have a required "accept terms" checkbox as described in
    RE: Best Practices for Modifying a Custom Module by Joseph Craig
    Start up the development website, then install the module using the package that you have. Then, yo
    Best Practices for Modifying a Custom Module by schilders
    Good Morning, I'm needing to modify a custom built module created by another developer targeted f
    RE: Admin menu problem by alireza arabiyan
    hi in localhost i have http://localhost/senf/خانه.aspx and http://localhost/senf/Admi
    RE: Admin menu problem by Joseph Craig
    Yes, that is what you should have done. What is the URL for your home page? What is the URL for
    RE: Admin menu problem by alireza arabiyan
    hi first in localhost i add my domain.com as portal alias. then copy all files to host , restore my
    RE: Admin menu problem by Joseph Craig
    How did you move it? Have you added an entry in the portalalias table for the site's domain name?
    RE: Re: SQL SERVER 2008 R2 Remote connection by Joseph Craig
    Set up a user with dbo privileges and set the connection string for that user, rather than using Win
    Re: SQL SERVER 2008 R2 Remote connection by Prakasam Srinivasan
    I have successfully configured MSSQL Server 2008 r2 remote connection. I am using windows 7 and it h
    Admin menu problem by alireza arabiyan
    hi i installed dnn 6 on localhost and move it in my host, all link's , pages and modules are ok,
    RE: dnn 4.4 upgrade issue by imran shaikh
    Thanks you all it is done by renaming release.config to web.config procedure
    RE: dnn 4.4 upgrade issue by imran shaikh
    Thanks you all it is done by renaming release.config to web.config
    dnn 4.4 upgrade issue by imran shaikh
    hi this is imran i am upgrading dnn 4.4 to dnn 6.0.2 and getting this error please help me for this
    RE: How to build Skins for DNN 6.x by Joseph Craig
    I'd recommend that you try replacing the hard-coded text with the DotNetNuke Text skin object. That
    RE: Module permission does not work! by Joseph Craig
    What permissions have you give to that role?
    RE: DNN nav issue by Joseph Craig
    Are you using a custom skin? How often does this happen?
    RE: Friendly URLs Broken by Joseph Craig
    I don't entirely understand this, but I'm glad you got things working.
    RE: How to build Skins for DNN 6.x by Christopher Adamakis
    Dear all, I have one more question regarding greek fonts. If you check my site http://www.expertsoft
    RE: Dnn local setup problem by imran shaikh
    this is error is resolve now now getting this one Server Error in '/cooperpharma.ma' Applicat
    RE: Module permission does not work! by Abraham Tameru
    I created a special role for the user to administer the site. The user is not a member of the Admini
    You are not logged in.
    You must log in to access all 
    650+ videos, tutorials, podcasts, and more.
    RSS Feeds