Archive for September, 2010

Menu on top of Flash movie

Z-Index and Flash.

Control stacking order of Flash and DHTML elements with z-index. Use z-index negative value to put objects behind and positive value to bring items to front.

To make items visible below Flash animation you have to export SWF file in windowless mode (WMODE=transparent).

Flash animation with z-index:0, “Text BELOW” (z-index:-1) and “Text ABOVE” (z-index:1)


Leave a Comment

Joomla and Plesk permissions

Thanks to a highly awesome technician on my team, we’ve discovered the perfect permissions setup for Joomla and Plesk:

Change the umask in ‘/etc/proftpd.conf’ to ‘002’ and add the ‘apache’ user to the ‘psacln’ group. Then, update the directory permissions:

cd /home/httpd/vhosts/[]
chown -R [username]:psacln httpdocs
chmod -R g+w httpdocs
find httpdocs -type d -exec chmod g+s {} \;

Joomla also complains about some PHP settings, sometimes including not being able to write to ‘/var/lib/php/session’. To fix the issues, make some adjustments to the vhost.conf for the domain:

php_admin_flag magic_quotes_gpc on
php_admin_flag display_errors on
php_admin_value session.save_path /tmp

If the vhost.conf is brand new, then run:

/usr/local/psa/admin/bin/websrvmng -av

Make sure Apache runs with your new configuration:

# httpd -t (check your work)
# /etc/init.d/httpd reload

Leave a Comment

New Virtuemart Installation Mandatory Check

Problem: When click on Virtuemart it is an invalid link.
Solution: Open /httpdocs/administrator/components/com_virtuemart/virtuemart.cfg.php, look for
// these path and url definitions here are based on the Joomla! Configuration
define( ‘URL’, ‘http://localhost/cassrina-template-015/’ );
define( ‘SECUREURL’, ‘http://localhost/cassrina-template-015/’ );

change the localhost site to the live site URL.

Leave a Comment

Cassrina Virtuemart Product Category Not Displaying

Problem: Cassrina Virtuemart Product Category not displaying.
Solution: Open /httpdocs/modules/mod_cassrina_product_categories_for_virtuemart and change JURI::base(true) to JURI::base().

Leave a Comment Virtuemart Shopper Group Error

Problem: New registered user’s data is not insert into shopper information in Virtuemart at Joomla administrator panel.
Solution: Because BlisseWorld was duplicated from PeppyPerky, which has an additional dob field inside jos_vm_user_info, which default blisseworld doesn’t have, causing unmatch data fields with Db, therefore unable to add entry into jos_vm_user_info, thus, unable to create new shopper info.
Note: To enable promotional front teaser, change the index2.html to index.html and uncomment the page index line in .htaccess.

Leave a Comment