Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 15th, 2009, 01:01 PM
Friend of Wrox
 
Join Date: Dec 2008
Posts: 119
Thanks: 26
Thanked 0 Times in 0 Posts
Default fckeditor 2.63 for beerhouse project

Has anyone used the newer fckeditor? I went to download the editor from their website and they have newer versions so I went with the version 2.63 but when I try to preview sendnewsletter (or any page that uses the editor's tools) I get "toolbar set 'mywebsite' doesn't exist" error. If I can't fix it I guess I'll look for the old download.

Rachel
 
Old January 19th, 2009, 03:06 PM
Authorized User
 
Join Date: Mar 2007
Posts: 52
Thanks: 6
Thanked 2 Times in 2 Posts
Default

I just downloaded the new version, and it works fine. Only problem I have right now is that it doesn't quite fit on the page, so the toolbar is cut off. This was the same with the old version though.

Anyway, there is a javascript file that you can use to configure the editor, including the toolbar. The file is in the fckeditor folder in your solution explorer, and it is called fckconfig.js. In there, you'll find a section like this:

FCKConfig.ToolbarSets["mywebsite"] = [
['Cut', 'Copy', 'PasteText', '-', 'Print', 'SpellCheck'],
['Undo', 'Redo', '-', 'Find', 'Replace', '-', 'SelectAll', 'RemoveFormat'],
['Bold', 'Italic', 'Underline', 'StrikeThrough', '-', 'Subscript', 'Superscript'],
['OrderedList', 'UnorderedList', '-', 'Outdent', 'Indent'],
['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyFull'],
['Link', 'Unlink'],
['Image', 'Rule', 'Smiley', 'SpecialChar'],
['Style', 'FontFormat', 'FontName', 'FontSize'],
['TextColor', 'BGColor']
];

In the first square brackets, you set the name of your toolbarset, and it must be the same as the toolbarset property in the fckeditor control.

This is where you can configure your own toolbar version.
 
Old January 19th, 2009, 03:14 PM
Friend of Wrox
 
Join Date: Dec 2008
Posts: 119
Thanks: 26
Thanked 0 Times in 0 Posts
Default

Thanks a lot philthy,

I finally figured that out for myself and got it working. There was one value I had to take out that it didn't recognize in the new one that beerhouse had.

Its working fine now.

The old one also didn't work in firefox but I think this one does.


Rachel





Similar Threads
Thread Thread Starter Forum Replies Last Post
fckeditor bendjoe BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 September 15th, 2008 10:29 AM
The beerhouse project, problem with the database jansek BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 4 September 2nd, 2008 02:50 PM
Using LINQ, with BeerHouse /Instant Result Project SoftMind BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 June 21st, 2007 03:08 AM
Chapter 2 p.63 subforms nayna BOOK: Expert One-on-One Access Application Development 0 February 16th, 2005 04:10 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.