Tuesday, December 12, 2017

Who's Online

None


Code never lies,
comments sometimes do.

 
             

We've just added some hacked VirtueMart files to our downloads section to address the following VirtueMart bug:

When a product is deleted in VirtueMart, all the media files associated with that product are also deleted.  This can be a serious problem.  Old images of old products should never be automatically deleted from the server.  There are (at least) three reasons:

  1. There are Joomla plug-ins that insert product images into content.  Old press releases and archived articles include product images and still generate search engine traffic; and now they will have broken images and links.

  2. Many related products might use the same image.  (E.g., same tile or rug in different size.  Or a generic "hammer" cartoon used to illustrate all hammers.)  This is especially serious if you sell downloadable products, where one product might be part of several different bundles.  Deleting one bundle shouldn't destroy part of the contents of all the other bundles!

  3. Finally, it's been causing me hassles when using CSVI to bulk upload products:  If anything goes wrong with part of the bulk upload, I may delete some of the uploaded products and run the import again.  Now the import gives weird results because some of the the full-size images are missing.  When debugging a bulk upload, it's a pain to have to re-FTP a thousand images in between re-running each trial of the bulk upload.

The VirtueMart developers are unlikely to fix this any time soon.  One wrote: "If a product is deleted then I would expect any media files for that product to be deleted as well. Otherwise businesses that regularly change products as some become out of date or unobtainable would end up with a server full of old and no longer needed files. I believe that when a product is deleted its ID is also removed, so there would be complications in re-connecting with those media files that share the same product ID."

So we've  posted a hacked version of /home/www/administrator/components/com_virtuemart/classes/ps_product.php that fixes this. 

 
 

Electronic Mother's favorite pizza topping:

Joomla! Internet Domains for Sale

Are you a Joomla! template designer, website administrator, content provider, extension developer, user group coordinator, hosting provider, or consultant? 
 
The following Internet domains can give you a professional address for your webstes and e-mailboxes.  They are all available for sale from Electronic Mother:  
 
JoomlaClub.org    $399.

JoomlaDesigner.org    $399.
 
TemplateWorkshop.com  $595.

JoomlaEvents.org    $399.
 
JoomlaAddons.net    $399.
 
JoomlaAdmin.com    
JoomlaAdmin.net    
JoomlaAdmin.org  
JoomlaAdmin.info   
Sold only as a set:  $1,449.

JoomlaExpert.org    $399.
 
InfoHosts.com  $449.

JoomlaExtension.org    $499.

JoomlaManual.info    $549.
 
PCmagicians.com  $349.

JoomlaModules.net    $299.

JoomlaPlugins.info    $95

JoomlaPlugins.org    $195.

JoomlaTips.info     $399.
JoomlaTips.net     $399.
Sold as a set:  $599.
 
JewishJoomla.com
JewishJoomla.net
JewishJoomla.org
JewishJoomla.info
Sold only as a set:  $1,999.
 
BostonJoomla.org
JoomlaBoston.org
Available only as a set. 
 
To purchase any of the above, pay via PayPal to This email address is being protected from spambots. You need JavaScript enabled to view it.;">This email address is being protected from spambots. You need JavaScript enabled to view it..  We will unlock the domain and send you the transfer authorization code.  If you haven't had a domain of your own before, we can guide you through the transfer process. 
 
If you would like help with developing your website, we can help with that too.  For more information, email This email address is being protected from spambots. You need JavaScript enabled to view it..