Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Rich text Box
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kolucoms6
Average Member

845 Posts

Posted - 16 April 2007 :  12:48:38  Show Profile  Reply with Quote
I am looking for a Rich Text Box , kind of one used in forum or may be somethinglike that.

I got one from http://www.kevinroth.com/rte/demo.htm but cant pass data from one page to another.

Any help will be highly appreciated.<

AnonJr
Moderator

United States
5768 Posts

Posted - 16 April 2007 :  13:52:08  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Have a search, a few people have tried to set up RTEs in Snitz in the past. I don't know if any were ever finished though.

Just out of curiosity, what do you mean by "cant pass data from one page to another"?<
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 16 April 2007 :  14:05:23  Show Profile  Reply with Quote

When I press " Submit", I cant get the data in next page.May be some error from my side.<
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 16 April 2007 :  14:28:06  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Is the form value empty? What about the other form values?<
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 16 April 2007 :  14:35:52  Show Profile  Visit MaD2ko0l's Homepage  Reply with Quote
WebWizGuide has a RTE app that you could probly use, i think they also have this set up on there forums as well.

maybe that will be a good place to start<

© 1999-2010 MaD2ko0l
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 16 April 2007 :  16:33:04  Show Profile  Reply with Quote
:-)

Thanks a lot all.

I am using a RTE .. working sample demo you will find at

http://www.getfunds.info/cattes/add.asp

Now, when I submit, value in RTE(Name is 'Message') , always passes as "Put your display content here" or whatever is default to the next page.It does pass the modified or edited text.

Any Suggestion ?

Let me know if you want to have a look at the script.
I will post txt file.<

Edited by - kolucoms6 on 17 April 2007 02:31:41
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 16 April 2007 :  16:53:00  Show Profile  Visit AnonJr's Homepage  Reply with Quote
I'd check your code changes - I suspect that there is some missing JavaScript or something. This really is a question for the support at wherever you got the RTE from (if they provide support) since it seems to be an issue with the RTE itself...

Or you can try to get a hold of Nathan, and get what he was working on since (to the best of my knowledge) it was working fine with Snitz.<
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 16 April 2007 :  17:02:32  Show Profile  Reply with Quote

Just if you need it :


Code used in the page :

<script language="JavaScript" type="text/javascript" src="richtext.js"></script>
<TR>
<TD>
<p align="right"><i>Details : Please include brief details</i> :
</TD>
<TD >

<script language="JavaScript" type="text/javascript">

<!--
function submitForm() {
//make sure hidden and iframe values are in sync before submitting form
//to sync only 1 rte, use updateRTE(rte)
//to sync all rtes, use updateRTEs
updateRTE('Message');

//updateRTEs();
alert(document.form2.Message.value);

//change the following line to true to submit form
return true;
}

//Usage: initRTE(imagesPath, includesPath, cssFile)
initRTE("image/", "", "");

//Usage: writeRichText(fieldname, html, width, height, buttons)
writeRichText('Message', '<b>Put your display content here </b>', 550, 200, true, false);

//uncomment the following to see a demo of multiple RTEs on one page
//document.writeln('<br><br>');
//writeRichText('Message', 'read-only text', 550, 100, true, false);
//-->

</script>




Here is the javascript used :

http://www.get2funds.info/cattest/richtext.js
<
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 17 April 2007 :  05:01:13  Show Profile  Reply with Quote

I guess I have resolved it..

I will keep updated this forum

<
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 19 August 2007 :  02:18:43  Show Profile  Reply with Quote
A small issue :

After saving the data in my DB, how to retrieve it in formatted ?


<!--
function submitForm() {

//make sure hidden and iframe values are in sync before submitting form
//to sync only 1 rte, use updateRTE(rte)
//to sync all rtes, use updateRTEs
updateRTE('Message');

//updateRTEs();
//alert(document.form2.Message.value);

//change the following line to true to submit form
return true;
}

//Usage: initRTE(imagesPath, includesPath, cssFile)
initRTE("image/", "", "");

//Usage: writeRichText(fieldname, html, width, height, buttons)
writeRichText('Message', '', 550, 200, true, false);

//uncomment the following to see a demo of multiple RTEs on one page
//document.writeln('<br><br>');
writeRichText('Message', 'read-only text', 550, 100, true, false);
//-->

</script>



In below Line

writeRichText('Message', 'aaa', 550, 200, true, false);

In place 'aaa', I want to display some value from my db.

Any Suggestions ?



<

Edited by - kolucoms6 on 20 August 2007 19:10:52
Go to Top of Page

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 20 August 2007 :  19:55:19  Show Profile  Visit MaD2ko0l's Homepage  Reply with Quote
dont u just replace aaa with somthiing liek " & strDBNTUserName & "

that will display the user name to u.

does that help?<

© 1999-2010 MaD2ko0l
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 21 August 2007 :  08:37:39  Show Profile  Reply with Quote
'aaa' is inside a javascript ...

If I do like this :

DataDb=RS(" ataDb")

Inside Javascript,


writeRichText('Message', DataDb, 550, 200, true, false);

Above Lines will work ?

<

Edited by - kolucoms6 on 21 August 2007 14:37:25
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07