How to change the position of the upload form to another position then the product description.
If you don't want the uploadform in your product description, you can echo the module anywhere in your flypage with some php-code.
First, paste this function below the flypage code. Make sure it's between <?php ?> tags.
| Code: |
<?php
function _plgContentLoadPosition( $position, $style='-2' ) {
$document = &JFactory::getDocument();
$renderer = $document->loadRenderer('module');
$params = array('style'=>$style);
$contents = '';
foreach (JModuleHelper::getModules($position) as $mod) {
$contents .= $renderer->render($mod, $params);
}
return $contents;
}
?>
|
Then put:
| Code: |
<?php echo _plgContentLoadPosition('upload'); ?>
|
in your flypage where you want the module.
This may confluict with some templates, but should generally work.