Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > Putting it Together > Forums, Blogging and Content Management

Reply
 
LinkBack Thread Tools
Old August 1st, 2007, 04:00 PM   #1
New Member
 

Join Date: Jul 2007
Location: Arkansas, USA
Age: 23
Posts: 44
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 nashultz07 is on a distinguished road
Cool FCKEditor

I am wanting to use FCKEditor to update content on a webpage but I lack in the knowledge of how to set it up to do so. If anyone knows anything about how to set it up that would be great. Also, I am just using HTML and CSS to create my webpages, I have not started learning PHP or anyother coding language yet! Would this have to be changed? Any help would do.
nashultz07 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 1st, 2007, 04:09 PM   #2
WebForumz Super Mod Badge
SuperMember
 
Marc's Avatar
 

Join Date: Apr 2007
Location: Scotland, UK
Posts: 2,086
Thanks: 2
Thanked 23 Times in 23 Posts
Rep Altering Power: 95 Marc is just really nice Marc is just really nice Marc is just really nice Marc is just really nice
Re: FCKEditor

It might help if you told us a bit more about it or even a link to it? Although i have a feeling that this is in the wrong section
__________________
Regards
Marc
Administrator - Webforumz.com

Web Design and Development Blog - Marc Fraser
Marc is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 1st, 2007, 04:20 PM   #3
New Member
 

Join Date: Jul 2007
Location: Arkansas, USA
Age: 23
Posts: 44
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 nashultz07 is on a distinguished road
Re: FCKEditor

I am wanting to allow a certain portion of the body code to be editable. I have uploaded the FCKEditor to the web server but I dont know where to begin to add it to the pages. Would I have to make another similar page that it edits from and the actual page to where it edits to? I am lost on the whole thing.
nashultz07 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 3rd, 2007, 11:42 AM   #4
WebForumz Member
 

Join Date: Jul 2007
Location: London
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 dcpweb is on a distinguished road
Re: FCKEditor

Hi,

I can only talk form experience in regards to using FCK editor.

I have used the application many times but only in CMS (Content Management Systems).

In most cases I use the following technologies to impliment a cms solution:
  • PHP 5 coding
  • Mysql Server database
  • Linux based hosting
Baically you create a database to store text information which is displayed on your website. Using FCK editor and PHP you can update the text which is stored in the database. This is the only way I know but you may be able to use xml files instead of a database like mysql.

regards

p shah - www.dcpweb.co.uk
dcpweb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 3rd, 2007, 12:36 PM   #5
New Member
 

Join Date: Jul 2007
Location: Arkansas, USA
Age: 23
Posts: 44
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 nashultz07 is on a distinguished road
Re: FCKEditor

I have been messing around trying different things and no luck so far. I will try your suggestion. Is there a way to do the database in Access?
nashultz07 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 3rd, 2007, 12:44 PM   #6
WebForumz Member
 

Join Date: Jul 2007
Location: London
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 dcpweb is on a distinguished road
Re: FCKEditor

Hi,

Yes you can use an access database for learning only, access db is not designed for web development. Try install mysql which is a much better alternative.

p shah - www.dcpweb.co.uk
dcpweb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 3rd, 2007, 02:53 PM   #7
New Member
 

Join Date: Jul 2007
Location: Arkansas, USA
Age: 23
Posts: 44
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 nashultz07 is on a distinguished road
Question Re: FCKEditor

I am not wanting to connect to a database 'cause the server it is on does not run mysql.

here is the
Code:
<html>
  <head>
    <script type="text/javascript" src="/fckeditor/fckeditor.js"></script>
    <form action="sampleposteddata.asp" method="post" target="_blank">
  <script type="text/javascript">
      window.onload = function()
      {
        var oFCKeditor = new FCKeditor( 'MyTextarea' ) ;
        oFCKeditor.BasePath = "/home/pti/n/s/nashultz05/fckeditor/" ;
        oFCKeditor.ReplaceTextarea() ;
      }
    </script>
 
  </head>
  <body>
    <textarea id="MyTextarea" name="MyTextarea">This is <b>the</b> initial value.</textarea>
  <br />
  <input type="submit" value="Submit" />
 </form>
 </body>
</html>
nashultz07 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 17th, 2007, 02:19 AM   #8
New Member
 

Join Date: Jun 2006
Location: Here
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 split-visionz is on a distinguished road
Re: FCKEditor

You don't need a database for what your talking about. There is a couple different ways to implement it depending on the languages you choose to use. 1. you can use javascript and have an edit button on the page/section you want to be editable
2. have an outside page that actually edits the sections of the page you want to be editable...
Either way you would have to have some sort of protection from it allowing just anyone to edit the pages such as a login system...

I wrote a script a while back to do exactly what your talking about and I use FCKeditor in it...PM if you want to use it.. but its PHP based so your server would have to have PHP installed.. but it uses a flatfile db so you dont need mysql or anything.

http://www.webforumz.com/design-and-...dit-v1-0-a.htm

I never finished changing the things I wanted to but its still usable.

Last edited by split-visionz; August 17th, 2007 at 02:21 AM..
split-visionz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 28th, 2007, 07:08 PM   #9
Reputable Member
 

Join Date: Jan 2004
Location: California
Age: 21
Posts: 237
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Altering Power: 0 tox0tes will become famous soon enough
Re: FCKEditor

Create a new folder under public_html called "admin". create a blank text file called include.txt, upload it to the "admin" folder and give it chmod permission 766. Now, create a new file called admin.php with the following block of PHP script and upload to the "admin" folder:

Code:
<?
$page10 
"yourpage";
if(
$_POST['Submit']){
$open fopen($page10.".txt","w+");
$text $_POST['update'];
$text stripslashes($text); 
fwrite($open$text);
fclose($open);
echo 
"<div><h1>Changes on ".$page10.".php saved.</h1>";
echo 
"<a href='../".$page10.".php' target='_blank'>View Changes</a>";
include(
"nav.php");
}else{
$file file($page10.".txt");
echo 
"<div><h1>Edit ".$page10.".php</h1>";
echo 
"<form action=\"".$PHP_SELF."\" method=\"post\">";
echo 
"<textarea Name=\"update\" cols=\"70\" rows=\"10\" value=\"<?php include('".$page10.".txt'); ?>\">";
foreach(
$file as $text) {
echo 
$text;
}
echo 
"</textarea><br>";
echo 
"<input name=\"Submit\" type=\"submit\" value=\"Save Changes\" />";
include(
"nav.php");
}
?>
On yourpage.php under public_html, paste this in place of the editable section:

Code:
<?php include("admin/include.txt"); ?>
Now, open up admin.php in your browser and you can make edits to the page. Make sure to password protect it though.
tox0tes is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
fckeditor , text editing


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
FCKeditor bambus .NET 0 August 14th, 2007 10:06 AM


Search Engine Optimization by vBSEO 3.2.0 RC8