Daily Archives: June 1, 2011

How do you add a new joomla module position?

Inserting the code * Open the index.php file of the Template you wish to edit * Locate the place in the Template where you wish to put the new position. * Insert <jdoc:include type=”modules” name=”newposition” /> * then add <position>newposition</position> … Continue reading

Posted in joomla | Tagged | Leave a comment

How To Upload File in Joomla With JFile

$filename = JFile::makeSafe($file[‘name’]); $src = $file[‘tmp_name’]; $dest = JPATH_SITE. DS .”images”.DS.”products”. DS .$filename; if($filename != “”) { if ( JFile::upload($src, $dest) ) { $row3->moreimgs=$filename; } }

Posted in joomla | Leave a comment