How to remove the sitename text/link from your Joomla! 1.5 template, so that it does not display

This text usually appears in the header of your webpage. NOTE: Before applying any changes, always remember to take a backup of the previous state. Answer: Click on **Extensions->Template Manager ** The Template Manager page will now open, click on the name of the relevant template “The template that is selected for your site” Click on the Edit Html button Search and Remove for the following line/s ...

March 30, 2018 · 1 min · 109 words · icarnaghan

How to use sessions in Joomla! 1.5 using the Joomla! API

This can be obtained using the JFactory/getSession object Instantiate the getSession object $session =& JFactory::getSession(); There are a couple of parameters that you can pass with this object. They are name - The session name id - Unique ID of the session expire - Expiry date and time security - Comma separated security options, have a look at JSession Now we set the session $session->set( 'mySession', 'sessionValue' ); We get the session variable as follows ...

March 30, 2018 · 1 min · 88 words · icarnaghan

"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 still see your Template in the template Styles or you still get the error when you try to remove, you will have to remove them manually within the jos_template_styles table in your database.

March 25, 2018 · 1 min · 102 words · icarnaghan

Allowing visitors to only submit a form once using Chronoforms 3

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` WHERE `text_9` = ".$db->Quote($_POST['text_9'])."; "; $db->setQuery($query); if ( $db->loadResult() ) { return "You've already entered this competition"; } ?> Replace jos_chronoforms_table with the table name where you are storing the form submission data. ...

March 25, 2018 · 1 min · 184 words · icarnaghan

Drag and Drop not working in ChronoForms V3.2.0

This happens when using the Wizard to drag over new form items, it only drags the title and does not anchor any form elements to the form. NOTE: Joomla! 1.5.23 together with ChronoForms V3.2.0 have been used when error occured. Check if the MooTools Upgrade Plugin is enabled in your Joomla! installation, disable it when enabled and the problem will be fixed, this plugin enables MooTools 1.2 and MooTools 1.1.2 is used by this version of ChronoForms

March 25, 2018 · 1 min · 77 words · icarnaghan

Error: Warning: Invalid argument supplied for foreach() in /public_html/plugins/vmcustom/stockable/stockable.php on line 227

This error occurs when you have the Custom, stockable variants plugin in VirtueMart 2.0 enabled for one of the products or all the products on the page where you get the error. In order to fix this, you will need to remove this plugin from the product/s where the product does not make use of this plugin or does not have any variants/child products assigned to the Custom, stockable variants plugin.

March 25, 2018 · 1 min · 71 words · icarnaghan

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

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 _L_ocate error_reporting = and change the value to error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED Locate locate display_errors = On and change the value to display_errors = Off Stop and restart Xampp and the problem will be gone If the above did not solve your problem visit the following topic on the Joomla! forums by clicking here

March 25, 2018 · 1 min · 90 words · icarnaghan

How to add inline JavaScript to your Joomla! components

JavaScript code can directly be declared within a component or module’s display view <?php $document = &JFactory::getDocument(); $document->addScriptDeclaration(' alert("An inline JavaScript Declaration"); '); ?> For more information visit: http://docs.joomla.org/Adding_JavaScript <?php $document = &JFactory::getDocument(); $document->addScriptDeclaration(' window.event("domready", function() { alert("An inline JavaScript Declaration"); }); '); ?>

March 25, 2018 · 1 min · 44 words · icarnaghan

How to change your favicon in Joomla! 1.6

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.6****template 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 your favicon. Joomla! detects this file within the template directory and then places it within the default header information that gets auto generated once the Joomla! website is loaded.

March 25, 2018 · 1 min · 97 words · icarnaghan

How to get the last Inserted Id using the Joomla! Platform

After you performed an Insert statement use the insertid method to get the auto-incremented value from the last Insert statement $db = $this->getDbo(); $query = $db->getQuery(true); $query->clear(); $query->insert('#__database_table1'); $query->set("id=".(int)$id); $db->setQuery($query); $db->query(); //Now we get the last inserted id $lastInsertId = $db->insertid(); echo $lastInsertId; Note in the above code we used $db->insertid(); to obtain the last inserted id.

March 25, 2018 · 1 min · 57 words · icarnaghan