can't see the "submit button" with text editor

Discussion and education for beginner / novice programmers interested in embarking on the development process to take advantage of the extensible nature of the Joomla! CMS.
Locked
User avatar
Segolas
Joomla! Intern
Joomla! Intern
Posts: 66
Joined: Wed Oct 10, 2007 2:34 pm

can't see the "submit button" with text editor

Post by Segolas » Fri Nov 09, 2007 12:11 pm

Hello,

I'm writing a component, and I used the rich text editor (tinymce, gck etc etc) but i cant display the submit button!

when I use the same editor in another component it works fine, when I try the same in my component it disappear...

I'm using this code:

Code: Select all

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

		function submitbutton(pressbutton) {

				<?php getEditorContents( 'editor', 'message' ); ?>

				submitform( pressbutton ); // CAN'T SEE IT
                                <?php echo "And can't see this echo too..." ;?>

		}

		</script>

I' also try with a classic but something happens to images. It works fine with text and html, but image urls is wrong, so I cant display images using the standard html button.

I think I MUST use the javascript code, but how? and why i can't see the submit button? (I think is that one which looks like a floppy disk...)


Any idea???
Visita il mio blog a FUMETTI:
http://segolas.ilcannocchiale.it

User avatar
Segolas
Joomla! Intern
Joomla! Intern
Posts: 66
Joined: Wed Oct 10, 2007 2:34 pm

Re: can't see the "submit button" with text editor

Post by Segolas » Fri Nov 09, 2007 4:13 pm

Another question:

is it possible to send the content of a form (like a wysiwyg editor) with the stadard html code:

Code: Select all

<input type="submit" value="send">
or the only way is to use the javascript code???
Visita il mio blog a FUMETTI:
http://segolas.ilcannocchiale.it


Locked

Return to “Joomla! Coding 101”