Rank: Newbie
Groups: Member
Joined: 8/22/2011(UTC) Posts: 1
|
Hi i have installed the trial version of Aurigma Photo Order for virtuemart.
The Attribute List does not fit in correctly, i need to have 4 Attributes. is there a way you can have the displaying one Attribute below the one above
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 7/13/2011(UTC) Posts: 286
Thanks: 6 times Was thanked: 31 time(s) in 31 post(s)
|
Hello Ian, You can change the width of your attribute fields, so the attribute list will fit better. Please open components\com_aurigmaphotoorder\assets\aurigmaphotoorder.css file, find this code: Code:.photoorder-attr-size {
width: 60px;
}
and modify value of width property (e.g. 40px). |
Best regards, Pauline Shirykalova Aurigma Technical Support
|
|
|
|
Rank: Member
Groups: Member
Joined: 12/7/2010(UTC) Posts: 12
Thanks: 3 times
|
That solution does not put the fields on top of one another... I also would like the attributes to show in a single column. Is there a way to do that?
Thank you!! |
Benoit Archambault PhotosNickel.com
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 7/13/2011(UTC) Posts: 286
Thanks: 6 times Was thanked: 31 time(s) in 31 post(s)
|
Hi, Please open photo-flypage.tpl file located in components\com_virtuemart\themes\default\templates\product_detailsand find this code: Code:<table>
<tr>
<?php foreach ($attributes as $name => $value) {
echo "<td>$name</td>";
}?>
<td>
<?php echo JText::_('Quantity'); ?>
</td>
</tr>
<tr>
<?php foreach ($attributes as $name => $value) {
echo build_field($name, $value);
}?>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td rowspan="2">
<input id="Quantity" class="photoorder-attr-field photoorder-attr-quantity" maxlength="3"
onkeydown="return PHO.filterQuantity(event);" onchange="PHO.itemChange();" name="Quantity" type="text" value="1">
</td>
<td>
<input type="button" onclick="PHO.changeQuantity(+1);" value="▲" class="photoorder-numeric-button photoorder-numeric-button-up"></input>
</td>
</tr>
<tr>
<td>
<input type="button" onclick="PHO.changeQuantity(-1);" value="▼" class="photoorder-numeric-button photoorder-numeric-button-down"></input>
</td>
</tr>
</table>
</td>
</tr>
</table>
This is a template for attributes, please modify it. Edited by user Sunday, November 27, 2011 10:48:16 PM(UTC)
| Reason: Not specified |
Best regards, Pauline Shirykalova Aurigma Technical Support
|
|
|
|
Rank: Member
Groups: Member
Joined: 12/7/2010(UTC) Posts: 12
Thanks: 3 times
|
I found out that code. Unfortunately, creating more rows just duplicated the whole attributes line without putting them on top off one another and without puting the scrowl down menu under it. Ex: attributes has they are right now: Couleur/ poussières / Taches / Plis et déchirures/ Parties manquantes/ Quantity Ex : attributes has I would like them to be Couleur [drop menu] Poussières [drop menu] Taches [drop menu] Plis et déchirures [drop menu] Parties manquantes [drop menu] Quantity [drop menu] Thank you verry much for your help !! PhotosNickel attached the following image(s): |
Benoit Archambault PhotosNickel.com
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 7/13/2011(UTC) Posts: 286
Thanks: 6 times Was thanked: 31 time(s) in 31 post(s)
|
Hi, Please open your components\com_virtuemart\themes\default\templates\product_details\photo-flypage.tpl file and modify the template of the table which displays your attributes. Please insert this code: Code:<table>
<?php foreach ($attributes as $name => $value) {
echo "<tr><td>$name</td>";
echo build_field($name, $value);
echo "</tr>";
}?>
<tr>
<td>
<?php echo JText::_('Quantity'); ?>
</td>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td rowspan="2">
<input id="Quantity" class="photoorder-attr-field photoorder-attr-quantity" maxlength="3"
onkeydown="return PHO.filterQuantity(event);" onchange="PHO.itemChange();" name="Quantity" type="text" value="1">
</td>
<td>
<input type="button" onclick="PHO.changeQuantity(+1);" value="▲" class="photoorder-numeric-button photoorder-numeric-button-up"></input>
</td>
</tr>
<tr>
<td>
<input type="button" onclick="PHO.changeQuantity(-1);" value="▼" class="photoorder-numeric-button photoorder-numeric-button-down"></input>
</td>
</tr>
</table>
</td>
</tr>
</table>
insted of this code: Code:<table>
<tr>
<?php foreach ($attributes as $name => $value) {
echo "<td>$name</td>";
}?>
<td>
<?php echo JText::_('Quantity'); ?>
</td>
</tr>
<tr>
<?php foreach ($attributes as $name => $value) {
echo build_field($name, $value);
}?>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td rowspan="2">
<input id="Quantity" class="photoorder-attr-field photoorder-attr-quantity" maxlength="3"
onkeydown="return PHO.filterQuantity(event);" onchange="PHO.itemChange();" name="Quantity" type="text" value="1">
</td>
<td>
<input type="button" onclick="PHO.changeQuantity(+1);" value="▲" class="photoorder-numeric-button photoorder-numeric-button-up"></input>
</td>
</tr>
<tr>
<td>
<input type="button" onclick="PHO.changeQuantity(-1);" value="▼" class="photoorder-numeric-button photoorder-numeric-button-down"></input>
</td>
</tr>
</table>
</td>
</tr>
</table>
Edited by user Monday, December 12, 2011 11:37:53 PM(UTC)
| Reason: Not specified |
Best regards, Pauline Shirykalova Aurigma Technical Support
|
|
|
|
Rank: Member
Groups: Member
Joined: 12/7/2010(UTC) Posts: 12
Thanks: 3 times
|
Thank you very much for the answer! Unfortunately it seems that the upload pan is not able to load... Can I p.m. to give you a backend access to my web site? Edited by user Saturday, December 3, 2011 11:52:05 AM(UTC)
| Reason: Not specified PhotosNickel attached the following image(s): |
Benoit Archambault PhotosNickel.com
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 7/13/2011(UTC) Posts: 286
Thanks: 6 times Was thanked: 31 time(s) in 31 post(s)
|
|
Best regards, Pauline Shirykalova Aurigma Technical Support
|
1 user thanked p.shirykalova for this useful post.
|
|
|
Rank: Member
Groups: Member
Joined: 12/7/2010(UTC) Posts: 12
Thanks: 3 times
|
Thank you very much for your help! The attributes are displaying correctly now! |
Benoit Archambault PhotosNickel.com
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 7/13/2011(UTC) Posts: 286
Thanks: 6 times Was thanked: 31 time(s) in 31 post(s)
|
Oh, that's great. Please feel free to contact me if you have any additional questions. |
Best regards, Pauline Shirykalova Aurigma Technical Support
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.