Java applet and Joomla 1.5
Hi,
first of all I would like to say that this Java applet is great. When I was inserting it into my regular web page it worked with no problems. Now I am switching my site to Joomla 1.5 and when I insert the <applet...> </applet> tags into an article it just deleet's the code. So does enyone know how to embed a Java applet into Joomla 1.5?
Re: Java applet and Joomla 1.5
Hi Pnekdo
I was messing around with Joomla a few weeks ago, and the editor does not like applet tags.. if you do a google search you should find some information on it.
Thanks
Jason
Re: Java applet and Joomla 1.5
I found the solution, so if enybody has the same problem, here is what to do. You have to go to the User manager, select your profile, and edit. In the User [Edit] you will see the Parameters setings box, and in there is a User Editor section. You have to select the Editor - No Editor and save the setings. Whit this you disable the TinyMCE 2.0 editor, which doesen't like the <applet> tag. With No Editor selected, you can add any html code and it won't be deleted. But you have to be careful if you switch back to TinyMCE and go back to edit the article wher you have put the applet, becaus TinyMCE could delet the applet tags. So that's it.
Re: Java applet and Joomla 1.5
I didn't like joomla and opted for xoops, but you may be able to do something like this. If you can insert PHP code into your block you can insert a print/echo <applet...> (insert code here)</applet> So basically the php interpereter will echo the text and this should then display your aplet correctly.
I'm not too hot on PHP either but remember reading an article fro inserting html using the php echo or print command to render the text corretly.
Re: Java applet and Joomla 1.5
By default Joomla blocks a lot of HTML coding as well as blocks tags for Java and so forth. It's a security measure for when you have more than one author. Many sites have more than just the admin publishing articles. If you are the only one publishing articles or you manually publish articles then setting to No Editor is not really an issue.
If you want to insert PHP code in to an articles and have issues with it then there are extensions that will allow you to easily insert PHP, JavaScript and so forth in to them. Check it out @ http://extensions.joomla.org.
A more integrated method would be to create a component or module that would work directly with Joomla so that your user database could communicate. This way each user on Joomla could have their settings/scores stored in the Joomla database.
I've used XOOPs before but it's been quite a few years. Every new upgrade things would break. Since then I've used Joomla almost exclusively when designing community websites.