Joomla!

How to add a new module position in a Joomla! 1.5 template

H

Open your template file where you would like to place the module position  Add the following code to the template file <?php if ($this->countModules('customPosition')) : ?> <div id="customPosition" > <jdoc:include type="modules" name="customPosition" style="xhtml" /> </div> <?php endif; ?> NOTE: customPosition is the name/identifier for the new module position Now...

Deprecated: Assigning the return value of new by reference is deprecated in components/com_fireboard/template/default/view.php

D

I get the error Deprecated: Assigning the return value of new by reference is deprecated in components/com_fireboard/template/default/view.php on line 509 and Deprecated: Assigning the return value of new by reference is deprecated in components/com_fireboard/template/default/view.php on line 1037 after I’ve upgraded to PHP 5.3 within my Fireboard Joomla! component when viewing a forum...

PDF button opening HTML page in popup when AceSEF has been enabled

P

When I installed the AceSEF component, and enabled it all of a sudden the PDF linksdid not work anymore, it opens a new window but instead of displaying the PDF version it displays the HTML version of the page, when I disabled the AceSEF component it works again. Luckily I managed to solve this problem. Please see the Answer Open the AceSEF configuration page and click on the URLs tab. Under...

How to change your favicon in Joomla! 1.6

H

Create you 16px in width and 16px in height .ico file using Gimp or any other image editing software Name the .ico file favicon.ico Copy your newly create favicon to the template directory of your Joomla! 1.6template where you would want the favicon to change via FTP or any other File Managing Application Refresh your Joomla! 1.6 webpage and you will see that the favicon has changed to...

Allowing visitors to only submit a form once using Chronoforms 3

A

Click on the form name under the Forms Management tab and ensure that Data storage is enabled Next click on the Validation Tab Scroll down to the Server Side Validation and set Enable Server Side Validationto yes In the text area Server Side Validation Code add the following code <?php   $db =& JFactory::getDBO();   $query = "     SELECT count(*)       FROM `jos_chronoforms_table`      ...

“Cannot delete last style of template” when trying to delete a template in Joomla! 1.6

&

To remove a template you will have to click on Extensions and then Extention Manager Click on the Manage tab Search for your template “Filter by Type and select Template to make things easier“ Check the checkbox next to your Template and click on the Uninstall button at the top right corner The Template will now uninstall NOTE: If it says that the template has been uninstalled and you...

Getting errors when running Joomla! 1.7 and 1.6 in XAMPP on Localhost

G

The error messages that I get are all Strict Standards: Accessing static property JCache::$_handler as non static which is causing an annoying working experience with Joomla! Answer: Locate your php.ini file in c:\xampp\php\php.ini Locate error_reporting =  and change the value to error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED Locate locate display_errors = On and change the value...

this.parentNode.elements is undefined when updating Quantities in Virtuemart

t

To solve this problem open the following file components/com_virtuemart/js/themes/default/templates/product_details/includes/quantity_box_general.tpl.php and in line 46 and 47 remove this code  <input type="button" class="quantity_box_button quantity_box_button_up" onclick="var qty_el = this.parentNode.elements[\'quantity[]\']; var qty = qty_el.value; if( !isNaN( qty )) qty_el.value++;return...

About Author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

Follow Me