Pretty new to web development.
I'm using asp.net within Visual Web Developer with VB as my 'code behind' language.
I have developed a few basic sites and a slightly more complex one making use of SQL database to provide events details etc. and providing some very basic content management by making a text area on a page a Formview.
I am trying to use fckEditor to create a better CMS environment with web pages that can be easily managed by a non technical user to format text, insert images etc. Everyone is telling me to use Joomla! but I am reluctant to start my learning curve all over again!
I have downloaded fckeditor.Net_2.6.3.zip and FCKeditor_2.6.6.zip
I have copied C:\Applications\fckEditor\FCKeditor.Net_2.6.3\bin\Release\2.0\FredCK.FCKeditorV2.dll to a bin folder in the root of my website.
I have extracted the files from FCKeditor_2.6.6.zip to an fckeditor folder in the root of my website.
And now I am tryying to make sense of how to actually use it!!!!
I can create a control on a page, but how do I 'point it' at content. Presuamable this needs to be in a database somewhere and I need to point fckEditor at the record? But How?
I could use a plain 'manual', The documentation seems to assume a much higher level of knowledge (and skill?) than I possess
If I load one of the sample pages (eg sample01.asp) in VWD and CTLF5 the following is displayed in the browser. Is this something to do with the fact that they are .asp and not .aspx??
Server Error in '/BasicSiteTemplate - FCKEditor' Application.
________________________________________
This type of page is not served.
Description: The type of page you have requested is not served because it has been explicitly forbidden. The extension '.asp' may be incorrect. Please review the URL below and make sure that it is spelled correctly.
Requested URL: /BasicSiteTemplate - FCKEditor/fckeditor/_samples/asp/sample01.asp
________________________________________
Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4205
If I CTLF% from the page I am testing with the FCKeditor control in it (with no amendments or settings)the page is displayed as:
This is a test page . The FCKeditor control is immediately below this line
....and above this one!
Probably missing some basics here but this is completely new territory for me and I could do with some help --- please!
Edit: I have since downloaded CKeditor, changed the base path in the control to /CKeditor/ .
I still get exactly the same result
My test page looks like this:
%@ Page Title="" Language="VB" MasterPageFile="~/MasterPages/Master1.master" AutoEventWireup="false" CodeFile="TestFCKEditor.aspx.vb" Inherits="TestJoomla" %> <%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="LeftColumn" Runat="Server"> </asp:Content> <asp:Content ID="Content3" ContentPlaceHolderID="MainColumn" Runat="Server"> <p>This is a test page . The FCKeditor control is immediately below this line <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath="/ckeditor/"> </FCKeditorV2:FCKeditor> ....and above this one! </p> </asp:Content>
Re: Usung FCKeditor -- or not :(
OK, I decided to staret over.
I deleted my test site.
Created a new site by copying one of my ASP.net sites.
Extracted FCKeditor_2.6.6.zip to the root of my site
Copied FCKeditor_2.6.3 to the root of my site.
Deleted the FCKeditor.Net_2.6.3\_samples\aspx\1.1 folder ------------ the samples pages were causing build errors.
Moved all the samples in 2.0 plus the default.html page to FCKeditor.Net_2.6.3\_samples\2.0
Used RightClick on the root of my site in Solution Explorer..Add Reference.. to add a reference to FredCK.FCKeditorV2.dll
A Bin folder was crreated with this dll and a dll.ref file
Used 'Choose Items' in the tool bar to add the FCKeditor control to the tool bar.
Created a new blank page based on the site master page
Dragged the FCKeditor control onto design view.
Basepath was set as /fckeditor/
Using CTL-F5 to build the site from this page resulted in the following where the FCKeditor control should be:
Server Error in '/BasicSiteTemplate - FCKEditor' Application.
HTTP Error 404 - Not Found.
Version Information: ASP.NET Development Server 9.0.0.0
I get the same if I try and build from the sample page.
If I delete the base path and rebuild the sample page I get the page displayed but this in the place where the FCKeditor control is located:
Server Error in '/BasicSiteTemplate - FCKEditor' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /BasicSiteTemplate - FCKEditor/FCKeditor.Net_2.6.3/_samples/2.0/editor/fckeditor.html
It seems I'm missing a configuration trick here. BUT WHAT!
Re: Usung FCKeditor -- or not :(
If you pick instead a basic CMS that fits your needs and it's developed in a language that you're used to, then you can jump ahead all that stuff and focus on using it instead of creating all that code. After that you might say: hey, instead of this module I want to rewrite that part to use this other code, or fix some problem... but it should be much lighter (as long as you picked up a correctly written CMS)
Re: Usung FCKeditor -- or not :(
Re: Usung FCKeditor -- or not :(
Made some progress!!
Placing '~/fckeditor/' in the base directory property gets me a correct display for my test page andf I can actually use the editor.
But I am still struggling
I think this control may just need fat too much knowledge and skill to use !!
None of the sample pages will work!
When I make changes in the web page and use the save button nothing is actually saved anywhere as far as I can tell (i.e. if I build the web page again from VWD it goes bak to the default value setting)
I need an idiots guide to how to use this thing. does such a thing exist??
At the moment its all based on guess work.