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

Forum

Subject: FCKeditor Tutorials
Prev Next
You are not authorized to post a reply.

Author Messages
Rick Montana
DNN Creative Magazine Subscriber

Posts:10

08 Dec 2009 10:13 AM  
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 Sykes
DNN Creative Staff
Nuke Master V
Nuke Master V
Posts:5307


09 Dec 2009 2: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/leesykes

Lee Sykes's Facebook Profile
Rick Montana
DNN Creative Magazine Subscriber

Posts:10

09 Dec 2009 8:48 AM  
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 Sykes
DNN Creative Staff
Nuke Master V
Nuke Master V
Posts:5307


09 Dec 2009 8:58 AM  
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/leesykes

Lee Sykes's Facebook Profile
Rick Montana
DNN Creative Magazine Subscriber

Posts:10

09 Dec 2009 8:09 PM  
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 Sykes
DNN Creative Staff
Nuke Master V
Nuke Master V
Posts:5307


10 Dec 2009 2: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/leesykes

Lee Sykes's Facebook Profile
Rick Montana
DNN Creative Magazine Subscriber

Posts:10

10 Dec 2009 1: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 = '' ;

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 Sykes
DNN Creative Staff
Nuke Master V
Nuke Master V
Posts:5307


10 Dec 2009 1: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/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > Users Lounge > DNN Creative Articles > FCKeditor Tutorials



ActiveForums 3.7

Latest Forum Posts

RE: How to do links? by Guy..L
It's really hard to tell quite how awesome DNN Nav v2 is given the documentation and search results ...
Regarding Editor by prithviraj
Pls let me know whar folders we need to upload when we are changing editors. Suppose i have cute edi...
RE: Change Registration Redirect? by leesykes
It would be best to use Dynamic Registration to avoid 2 registrations.With Dynamic Registration you ...
Indexing DNN pages by Google by Jake Vizner
I have two different DNN web sites. Using Google Webmaster Tools I can see the Google indexed 12 out...
Query Regarding RAD EDitor by prithviraj
Hi, I'm using R.A.D editor in my site. At the time of adding images through the editor I'm unabl...
RE: while installing bulk emailer module in my website by jncraig
Yes, this definitely is a file permissions issue. The default ASP.NET worker task needs to have ful...
RE: Background Music by jncraig
That will work.
RE: Auto create pages and content by dhassall
Hi Joe DNN Out of the box version 4.9 Login as Host with Firefox to create and IE8 to monitor, CTR...
RE: while installing bulk emailer module in my website by dub
Agiline, We have seen this problem before. It is caused by the Security on IIS. Please have a loo...
RE: Change Registration Redirect? by ollep
Probably still want to do it with Dynamic Forms now.My reason for changing (except from getting Aweb...
RE: Change Registration Redirect? by ollep
YES!http://www.dnncreative.com/Subscribe/tabid/81/Default.aspx
RE: Change Registration Redirect? by ollep
Yes I noticed that we where talking about 2 different Modules as soon as I dug into the tutorials.Ab...
RE: Change Registration Redirect? by leesykes
If you are check out the links that I have placed in there:http://www.dnncreative.com/Subscribe/tabi...
RE: Change Registration Redirect? by leesykes
Are you referring to when subscribing there is a link to register and after they register it sends t...
RE: Change Registration Redirect? by leesykes
The method I use on here for managing my email list is complicated and involves SQL queries, it is b...
Ecommerce module needed by vishalranaut
Infyecommerce is providing ecommerce packages for the clients to develop their ecommerce sites.They ...
RE: DS Dynamic Forms / AWeber by leesykes
If you are getting time out issues when installing I would use the auto install method by using FTP,...
RE: Change Registration Redirect? by ollep
Oooops Helps reading your responses before posting here Lee. I referred to Issue 40 / 41 and ...
DS Dynamic Forms / AWeber by ollep
Thanks for a great Tutorial Lee!  - As usual.(I still can't install the module in Firefox though, Fi...
while installing bulk emailer module in my website by agiline
Hi all,i have downloaded bulk e mailer trial version and when i am installing it in my website it wa...
AppTheory
RSS Feeds