Embedding Flash movie in Joomla
July 27, 2009
To embed a flash movie in Joomla, edit the source code (usually represented by “HTML” icon in your default editor or “<>” icon in JCE editor) of your article and add the following code:
<object classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0″ width=”350″ height=”250″ align=”right”>
<param name=”quality” value=”best” />
<param name=”src” value=”filename_of_your_flash_movie.swf” />
<param name=”align” value=”right” />
<param name=”bgcolor” value=”#44b8bb” />
<param name=”width” value=”350″ />
<param name=”height” value=”250″ />
<param name=”hspace” value=”10″ />
<embed type=”application/x-shockwave-flash” quality=”best” src=”filename_of_your_flash_movie.swf” align=”right” bgcolor=”#44b8bb” width=”350″ height=”250″ hspace=”10”></embed>
</object>
Replace the filename_of_your_flash_movie with your flash movie.
This assumes that your flash movie is in the web root directory.
Mambo Guestbook has been hacked
April 30, 2008
When I go to “Manage Entries” I am redirected to another page which is not in our site.
Solution:
1. Login to your mysql database
% mysql -u root -p
2. Enter the root password when prompted.
3. Open the mambo database
mysql> use <mambo_database_name>
4. Display all entries of mos_guestbook table
mysql> select * from mos_guestbook;
5. Note the id of the invalid entry.
6. Delete the invalid entry.
mysql> delete from mos_guestbook where id=”<id_invalid_entry>”;
7. Repeat steps 4 to 6 as needed the quit
mysql> quit
I upgraded mhonarc to the latest version and I got this error message
Warning: Database (2.6.8) != program (2.6.16) version.
Solution:
Execute mha-dbedit
# mha-dbedit
How do I skip OpenOffice.org Document Recovery?
March 13, 2008
Every time I open OpenOffice.org I get the “OpenOffice.org Document Recovery” window. When I click on the “Start Recovery” button, recovery of some files fail. These files are always presented when I run OpenOffice.org. I want to skip this step since the files are no longer needed.
Solution:
Remove the Recovery.xcu file in the ~user/.openoffice.org2/user/registry/data/org/openoffice/Office directory
Facile Forms and Mambo
February 29, 2008
When I upgraded to Mambo 4.6.2 I had problems viewing my forms.
Error message displayed on the Page Layout window:
You are not authorized to view this resource.
You need to login.
Solution:
Changed the “Run backend preview in a iframe” to “no” in the configuration