Bixie Forum

This is the forum for the free Bixie extensions and general questions.
Bixie customers can use the Support Center for their support questions.

You can visit the old forum here.

Video Tutorials

Bixie now provides video tutorials to help you setting up the Bixie VM-Chrono module.

Check out the video tutorials here for a step-by-step installation help!

Welcome, Guest
Please Login or Register.    Lost Password?

Upload in diffirent position
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Upload in diffirent position
#374
Upload in diffirent position 1 Year, 5 Months ago  
Hoe kan ik de uploadmodule op een andere plek op de pagina plaatsen?

Klik hier voor productpagina

Klik hier voor hoe ik het zou willen

Alvast bedankt voor de support.
hebole
hebole
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/08/22 22:40 By malles.
The administrator has disabled public write access.
 
#377
Re:Upload in diffirent position 1 Year, 5 Months ago  
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.
malles
malles
Admin
Posts: 206
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Bixie customers can use the Support Center for their support questions.
 
#489
Re:Upload in diffirent position 1 Year, 2 Months ago  
if I change the flypage code as suggested, am I forced anyway to add {loadposition upload} in the description or not? will be it unless?
I have many many product in my shop and I would like to avoid to remember everytime to add {loadposition upload} in the description of new items.
thanks
robbypi
robbypi
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#696
Re:Upload in diffirent position 10 Months, 2 Weeks ago  
Hi Malles,
Will that same technique that you described work to relocate the module to the checkout?

If not, is there a better way to upload a file to the cart, rather than to the fly page?

Tim
TimU
TimU
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#735
Re:Upload in diffirent position 9 Months, 2 Weeks ago  
Hi Malls,

I tried to execute it at the confirmation page.
It works fine but it is also shown when the attribute is not set.
How to add a rule for only showing the upload field if the attribute is set to the product at the confirmation page?

Thanks in advance,
PCo.
J!Praxis
J!Praxis
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#782
Re:Upload in diffirent position 6 Months, 4 Weeks ago  
Hi All,
I create two instance of the module in two different positions.
I called the two positions in the discription of the product {loadposition pos1} {loadposition pos2}
I want the two modules work separately. they download files without overwriting each other. Is that possible?
tbsaromes
tbsaromes
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: baf