Need some basic help

Last post 09-26-2006, 1:07 PM by Adam. 4 replies.
Sort Posts: Previous Next
  •  09-25-2006, 9:13 AM 23030

    Need some basic help

    Hi,

    I've been trying to get CuteEditor to work for quite a few days but unfortunately things aren't going so well. Heres a rundown:

    I have a .NET 2.0 site, but it's 99% all HTML, roughly 12 pages, so it's fairly simple and small. All I need to know is how to get this CuteEditor to work with the site? I have read and followed the deployment.htm multiple times and the example works, but no where can I find any documentation that tells me how to get this editor to work with existing pages?

    Simplicity would be appreciated. Thanks ahead of time.

    -----

    EDIT: Just wanted to add that it's not trial & error issues, but it's more so 'where to begin'...

  •  09-25-2006, 1:38 PM 23045 in reply to 23030

    Re: Need some basic help

    BrandonPSA ,
     
    I think you need to find/create a mini CMS to manage your site.

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  09-25-2006, 2:34 PM 23051 in reply to 23045

    Re: Need some basic help

    Basically I've created two copies of all my pages. A set for administration (for editing) and a set the public will see.

    Here is what the viewable page looks like (using master pages):

    ==============================================================

    <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="audit.aspx.cs" Inherits="audit" Title="Blah" %>

    <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <h1>Home Energy Audit</h1>

    <p>content here</p>

    <p>content here<br />
     Just call our customer service line (864) 555-5555.</p>

    </asp:Content>

    ================================================================


    Admin page looks almost the same, except I added the CuteEditor.

    ================================================================

    <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="~/admin/audit.aspx.cs" Inherits="audit" Title="Gaffney Board of Public Works: Audits" %>
    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>


    <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <form runat="server">

    <CE:Editor id="Editor1" EditorWysiwygModeCss="../example.css" EditCompleteDocument="true" AllowPasteHtml="false" ThemeType="Office2003_BlueTheme" runat="server" ></CE:Editor><BR>
    <asp:Button id="btnUpdate" onclick="Submit" Runat="server" Text="Submit"></asp:Button><br />

    <h1>Home Energy Audit</h1>

    <p>some content here.</p>

    <p>more content (864) 555-5555.</p>


    </form>
    </asp:Content>

    ================================================================

    It is editing the content, but it is replacing everything with <html><head> etc.. How do I make it so only content inside the content placeholder is changed? Without adding new <html> tags (since they are on the master page)



  •  09-26-2006, 7:20 AM 23073 in reply to 23030

    Re: Need some basic help

    Basically everything is working fine, EXCEPT that I can't get the editor to just edit the content inside the contentPlaceholder. It keeps wanting to edit and re-write my "<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" etc etc" as html.

    Any ideas?

  •  09-26-2006, 1:07 PM 23082 in reply to 23073

    Re: Need some basic help

    BrandonPSA:
    Basically everything is working fine, EXCEPT that I can't get the editor to just edit the content inside the contentPlaceholder. It keeps wanting to edit and re-write my "<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" etc etc" as html.

    Any ideas?

     
    Please check this thread:
     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML