Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
easymorris  
#1 Posted : Monday, August 22, 2011 8:30:09 AM(UTC)
easymorris

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
p.shirykalova  
#2 Posted : Monday, August 22, 2011 7:22:06 PM(UTC)
p.shirykalova

Rank: Advanced Member

Groups:
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
PhotosNickel  
#3 Posted : Thursday, November 24, 2011 7:49:37 PM(UTC)
PhotosNickel

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
p.shirykalova  
#4 Posted : Thursday, November 24, 2011 8:12:04 PM(UTC)
p.shirykalova

Rank: Advanced Member

Groups:
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_details
and 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="&#9650;" class="photoorder-numeric-button photoorder-numeric-button-up"></input>
                  </td>
                </tr>
                <tr>
                  <td>
                    <input type="button" onclick="PHO.changeQuantity(-1);" value="&#9660;" 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
PhotosNickel  
#5 Posted : Sunday, November 27, 2011 3:21:10 PM(UTC)
PhotosNickel

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]

UserPostedImage

Thank you verry much for your help !!
PhotosNickel attached the following image(s):
Capture pour aurigma.PNG
Benoit Archambault
PhotosNickel.com
p.shirykalova  
#6 Posted : Sunday, November 27, 2011 11:14:10 PM(UTC)
p.shirykalova

Rank: Advanced Member

Groups:
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="&#9650;" class="photoorder-numeric-button photoorder-numeric-button-up"></input>
                  </td>
                </tr>
                <tr>
                  <td>
                    <input type="button" onclick="PHO.changeQuantity(-1);" value="&#9660;" 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="&#9650;" class="photoorder-numeric-button photoorder-numeric-button-up"></input>
                  </td>
                </tr>
                <tr>
                  <td>
                    <input type="button" onclick="PHO.changeQuantity(-1);" value="&#9660;" 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
PhotosNickel  
#7 Posted : Saturday, December 3, 2011 11:51:10 AM(UTC)
PhotosNickel

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):
Captureaurigma.PNG
Benoit Archambault
PhotosNickel.com
p.shirykalova  
#8 Posted : Sunday, December 4, 2011 9:23:50 PM(UTC)
p.shirykalova

Rank: Advanced Member

Groups:
Joined: 7/13/2011(UTC)
Posts: 286

Thanks: 6 times
Was thanked: 31 time(s) in 31 post(s)
Hi,

Sure. It would be better to submit new support ticket and post all the details there.
Thanks.
Best regards,
Pauline Shirykalova
Aurigma Technical Support
thanks 1 user thanked p.shirykalova for this useful post.
PhotosNickel on 12/17/2011(UTC)
PhotosNickel  
#9 Posted : Saturday, December 17, 2011 4:52:41 PM(UTC)
PhotosNickel

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
p.shirykalova  
#10 Posted : Sunday, December 18, 2011 7:54:37 PM(UTC)
p.shirykalova

Rank: Advanced Member

Groups:
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
Users browsing this topic
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.