#1  
Old 14th July 2008, 01:23
ddouma ddouma is offline
Member
 
Join Date: May 2008
Posts: 56
Thanks: 0
Thanked 1 Time in 1 Post
Default Frontpage extensions

As I explained in 'http://www.howtoforge.com/forums/showthread.php?p=135838' I would love to see some support for Frontpage extensions. There are to much users around the globe that we can't ignore the support for that!
Reply With Quote
Sponsored Links
  #2  
Old 14th July 2008, 08:41
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,041
Thanks: 826
Thanked 5,383 Times in 4,230 Posts
Default

Frontpage extensions are not really in use anymore. Microsoft has switched to their .net platform.

Beside that, ISPConfig supports already frontpage extensions, but I would never install frontapge extensions on my server, its a great mess. You will e.g. get problems with FTP and file permissions, e.g. FTP and Frontpage can not be used together on the same website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 14th July 2008, 15:27
ddouma ddouma is offline
Member
 
Join Date: May 2008
Posts: 56
Thanks: 0
Thanked 1 Time in 1 Post
Default

Okay you got point.

What about a feature for an site editor?
Reply With Quote
  #4  
Old 14th July 2008, 22:16
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,041
Thanks: 826
Thanked 5,383 Times in 4,230 Posts
Default

Would be great. But are there any good opensource site editors that we can add as addon package?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 14th July 2008, 23:22
ddouma ddouma is offline
Member
 
Join Date: May 2008
Posts: 56
Thanks: 0
Thanked 1 Time in 1 Post
Default

wysiwyg is a good editor...
Reply With Quote
  #6  
Old 27th July 2008, 02:57
Tommahawk Tommahawk is offline
Member
 
Join Date: May 2007
Posts: 70
Thanks: 0
Thanked 10 Times in 5 Posts
 
Lightbulb

Here is a simple but effective editor I wrote supports all scripting languages and text will do the job well

Code:
<?

	$go = $_POST['go'];  //the path to the file posted
	$label = $_POST['label']; //the file to edit

	echo "Editing: $label";  //show the filename being edited

	if(isset($_POST['submit'])) {
		$orig_contents = $_POST['editor'];  //the data in th textbox that was edited

		/* check'n scan for malicious code structures 
                   a simple way of allowing any/all scripting languages
		   $orig_contents = str_replace($scanwords,"ERROR",$orig_contents); */
		$result = file_put_contents($go,$orig_contents);  //dumps data to file replacing previous
	} else {
		
		/* runs if submit is not activated puts file to edit ($go) 
                   into variable $orig_contents */

		   $orig_contents = file_get_contents($go);  	
	}
?>
	<form action="editor.php" method="post">
	<input type="hidden" name="go" value="<? echo $go; ?>">
	<input type="hidden" name="label" value="<? echo $label; ?>">
	<textarea name="editor" cols="80" rows="35"><? echo $orig_contents; ?></textarea>
	<p>
	<input type="submit" name="submit" value="Save" class="submit">
	</p>
	</form>
You will possibly also need to temporarily use php chmod command to alter permissions and also think about the check'n scan. When I get some time I will try to hack some code into ISPConfig to get this working. AFAIK it will only need a link that populates the $go variable with the full path including filename to work with every iteration of loop that displays the files in Web-FTP

Last edited by Tommahawk; 27th July 2008 at 03:00.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
frontpage extensions ddouma Installation/Configuration 7 14th July 2008 01:21
Frontpage Extensions 40esp Installation/Configuration 1 22nd August 2007 18:53
FC5 & Frontpage Server Extensions (FPSE) mmek Server Operation 8 19th November 2006 20:34
Can not enable Frontpage extensions / mySQL for the site Hans General 2 13th July 2006 13:30
Installing Frontpage Extensions stlshawn Installation/Configuration 6 12th October 2005 12:58


All times are GMT +2. The time now is 10:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.