<? include ("../../../../functions/db.php"); include("../../../../functions/variables.php"); //include("../functions/stripslashes.php"); include("../../../../functions/functions.php"); $classification_result2 = mssql_query("SELECT * FROM classification order by name"); ?>
http://www.opensource.org/licenses/lgpl-license.php
http://www.fckeditor.net/
fredck@fckeditor.net
<html>
<head>
<title>Classify Properties</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="noindex, nofollow" name="robots">
<script src="common/fck_dialog_common.js" type="text/javascript"></script>
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
// Gets the document DOM
var oDOM = oEditor.FCK.EditorDocument ;
var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ;
window.onload = function()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
if ( oActiveEl && oActiveEl.tagName == 'A' && oActiveEl.name.length > 0 && oActiveEl.getAttribute('href').length == 0 )
GetE('txtName').value = oActiveEl.name ;
else
oActiveEl = null ;
window.parent.SetOkButton( true ) ;
}
function Ok()
{
if ( GetE('txtName').value.length == 0 )
{
alert( oEditor.FCKLang.DlgClassifyErrorName ) ;
return false ;
}
//oEditor.FCK.InsertHtml( '<a name="' + GetE('txtName').value + '"></a>' ) ;
oEditor.FCK.InsertHtml( '<b>'+ GetE('txtName').value + '</b>' ) ;
return true ;
}
</script>
</head>
<body bgcolor="#efefef" style="OVERFLOW: hidden" scroll="no">
<table bgcolor="#efefef" height="100%" width="100%">
<tr>
<td align="center">
<table border="0" cellpadding="0" cellspacing="0" width="80%">
<tr>
<td>
<span fckLang="DlgClassifyName">Classification Picker</span><BR>
<!-- <input id="txtName" style="WIDTH: 100%" type="text"> -->
<!-- <select name="txtName" style="WIDTH: 100%">
<option value="None">Select Classification to Enter</option>
<option value="TS//test Classify 1">TS//test Classify 1</option>
<option value="TS//test Classify 2">TS//test Classify 2</option>
<option value="TS//test Classify 3">TS//test Classify 3</option>
<option value="TS//test Classify 4">TS//test Classify 4</option>
</select> -->
<select id="txtName" name="txtName" style="WIDTH: 100%">
<option value="">----Classification Picker----</option>
<?php //include ("functions/db.php");
//$classification_result2 = mssql_query("SELECT * FROM classification order by name");
while($row1=mssql_fetch_array($classification_result2))
{
echo "<option value='$row1[name]'>$row1[name]</option>";
};
?>
</select>
<op
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

RE: FINALLY!!!! - Successful with plugin with
https://sourceforge.net/forum/message.p ... id=3025043
RE: FINALLY!!!! - Successful with plugin with
Yes I do need to learn more!!! MUCH MORE>. Im not sure why it wouldnt work in HTML though.. I have been mixing HTML and PHP now for a while.. and no probs.. but for the life of me.. aahhh who knows.. if you have any tips in this dep id like to know!! another wierd oddity is when I try doing a form action and am using the =$PHP_SELF. I tried to echo the whole form... but wouldnt work.. kept giving me =$PHP_SELF in the url (Page not found - was ooking for that value (=$PHP_SELF) )and not perform the form request)... if u know wha ti mean. IE:
SO I had to take the form out of PHP (?>) and only use the variable (=$PHP_SELF in php) IE:
<form action="deleteArticle.php<? echo "=$PHP_SELF?aid=$aid";?>">Not sure what i was missing. but now it works with the above example!
I was told to build this CMS project from scratch. and I had VERY LITTLE knowledge of PHP and MSSQL.. but things are moving nicely. and tahnks to FCK editor.. I will look like a shining star!! LOL (Thanks Fred)
BUT MAN!!!! I tried and tried to use the directions for adding a plugin. (worked Previous to RC2) but could not get it to work with RC2. So i just did the HACK method. (hence my post)
Id love to see you create a skeleton (for RC2) plugin... infact it would really be great if a couple examples were done (PHP + MSSQL and static HTML).
I will look over your example and thanks for the link!
RE: FINALLY!!!! - Successful with plugin with