VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: cas on November 04, 2011, 05:17:25 AM

Title: Custom field images display
Post by: cas on November 04, 2011, 05:17:25 AM
How can I make custom field images display properly on the website?  Take a look at my site to see the problem:  https://www.hairextensionsfair.com/shop/full-head-clip-in/pp-straight-16-in-detail

The custom fields are displaying in a single vertical column and the radio buttons, price adjustment, and descriptions are not in the proper location in relation to the images.  In my humble opinion the radio buttons should be above the image and the description & price adjustment should be below the image.  Currently the radio button and price adjustment is along the side of the image, which makes it difficult to know which image it relates to.  Also, the images should flow across the page and not in one vertical column.  See the attached image for an idea of how I'm trying to get the custom field images to look.   Also, when there is no price adjustment, it is still displaying the : (colon) even when I removed the word "free" from the language file.  The attached image also shows a clean way to display price adjustments below the description if an adjustment exists, otherwise there is no display.   I tried to copy & modify the default.php in the productdetails view and the vmsite-ltr.css to achieve the desired result, but there doesn't seem to be a way to control the location of the radio button and price adjustment within these two files.  Please let me know what files need to be modified to make it look like the attached image?       

The custom fields images when clicked should open in a modal lightbox to see the full size image. 

Also, additional product images with descriptions display in a singe vertical column and not across the page.  See my site to see the problem:  https://www.hairextensionsfair.com/shop/full-head-clip-in/pp-straight-16-in-detail

UPDATE: See Reply #34 in this topic to download the attached file that makes your product page look much better if you have extra images, custom field images, and related products.  The links above are using the new file, so all looks good now.

Thanks,
Chuck

[attachment cleanup by admin]
Title: Re: Custom field images display
Post by: cas on November 09, 2011, 18:48:56 PM
Please, can someone help me?   This is the last major problem that is holding back my customer from going live.  I tried to copy and modify the default.php in the productdetails view and the vmsite-ltr.css to achieve the desired result, but it seems to me the problem is deeper in the VM code, so that's why I am asking for help from the VM team. 

Please help!
Thanks,
Chuck
Title: Re: Custom field images display
Post by: PRO on November 09, 2011, 19:12:28 PM
this is in your template.css AND wrong

a, img {
    border: medium none;
    margin: 0;
    outline: medium none;
    padding: 0;
}

img a:link
Title: Re: Custom field images display
Post by: cas on November 09, 2011, 19:45:50 PM
Thanks Banguet Tables Pro,

What should it be to get the results shown in my attachment?   I tried removing the 'a, img' section completely and nothing changed.  I tried changing 'a, img' to 'img a:link' and nothing changed.  What exactly should it be?   I'm not an expert at this, so please explain in detail what to do. 

Thanks,
Chuck
Title: Re: Custom field images display
Post by: PRO on November 09, 2011, 19:48:37 PM
do this
css

.product-field{width:49%;float:left;}
Title: Re: Custom field images display
Post by: cas on November 09, 2011, 19:54:38 PM
Thanks.  I made the change, so now you can see it just moved the 'Add to Cart' button to the top right, but it didn't fix the image display problem.  The images are still not aligned across the page and the radio button and price adjustment is still along the side of the image, which is difficult for customers to understand the alignment when done this way  The radio button should be above the image and the description and price adjustment should be below the image.     

Thanks,
Chuck
Title: Re: Custom field images display
Post by: PRO on November 09, 2011, 20:04:13 PM
views/productdetails/tpl/default.php

REMOVE THIS at the top
JHTML::_('behavior.tooltip');

IF you dont want tooltips. (you can put it back later) Tooltip is the blue circle box

THEN: here
<?php if ($field->custom_title != $custom_title) { ?>
         <span class="product-fields-title" ><?php echo JText::_($field->custom_title); ?></span>

add <br /> after it


then here
   $custom_title = $field->custom_title;
   } ?>
   </div>

ADD <div class"clear"></div>

THEN here
<div class="product-field product-field-type-<?php echo $field->field_type ?>">

change to
<div style="width:49%;float:left;" class="product-field product-field-type-<?php echo $field->field_type ?>">
Title: Re: Custom field images display
Post by: PRO on November 09, 2011, 20:07:39 PM
<br />   WITH the slash /
Title: Re: Custom field images display
Post by: PRO on November 09, 2011, 20:12:10 PM
<div class="addtocart-bar">

right above this add

<div class"clear"></div>
Title: Re: Custom field images display
Post by: cas on November 09, 2011, 20:24:59 PM
I made all the changes... but still no luck.  Question:  Should <div class"clear"></div>   really be   <div class="clear"></div>
Title: Re: Custom field images display
Post by: PRO on November 09, 2011, 20:31:32 PM
YES, you could also do a <br />
Title: Re: Custom field images display
Post by: PRO on November 09, 2011, 20:34:27 PM
EDIT: no dont do that, hold on brb
Title: Re: Custom field images display
Post by: cas on November 09, 2011, 20:39:03 PM
ok, I'll wait ... thanks for all your help!
Title: Re: Custom field images display
Post by: PRO on November 09, 2011, 20:43:53 PM
CHANGE:::
.product-field {
    float: left;
    width: 100%;
}


EDIT:::: change the above, brb
Title: Re: Custom field images display
Post by: cas on November 09, 2011, 20:54:50 PM
I made the change.
Title: Re: Custom field images display
Post by: PRO on November 09, 2011, 21:09:39 PM
<span class="product-fields-title" ><b><?php echo  JText::_($field->custom_title) ?></b></span>

add a <br /> AFTER that. Thats the word "color"

THEN remove this
<?php if ($field->custom_tip) echo JHTML::tooltip($field->custom_tip,  JText::_($field->custom_title), 'tooltip.png'); ?>

YOU CAN put that back in later

css to add

.product-field label {width: 40%;float: left;}

.product-field input {width: 9%;float: left;}
Title: Re: Custom field images display
Post by: PRO on November 09, 2011, 21:16:40 PM
VERY close here
Title: Re: Custom field images display
Post by: cas on November 09, 2011, 21:17:42 PM
wow! Yes, it's getting very close!  How do we get the radio buttons on top of the images for the first row?
Title: Re: Custom field images display
Post by: PRO on November 09, 2011, 21:22:44 PM
.product-field input {width: 9%;float: left;clear: both;}

YOU can also go 3 in a row if you want
Title: Re: Custom field images display
Post by: cas on November 09, 2011, 21:28:51 PM
Opps, that made it worse.

Yes, 3 in a row is the desired state.
Title: Re: Custom field images display
Post by: PRO on November 09, 2011, 21:29:24 PM
.product-field label {width: 28%;float: left;}

.product-field input {width: 4%;float: left;}
Title: Re: Custom field images display
Post by: PRO on November 09, 2011, 21:31:58 PM
.product-field label {width: 24%;float: left;}
Title: Re: Custom field images display
Post by: PRO on November 09, 2011, 21:35:30 PM
increase this

.product-field input {width: 4%;float: left;}

UNTIL it works
Title: Re: Custom field images display
Post by: PRO on November 09, 2011, 21:39:47 PM
you need to remove "Free:

http://forum.virtuemart.net/index.php?topic=92944.0
Title: Re: Custom field images display
Post by: PRO on November 09, 2011, 21:40:50 PM
or change the font-size


.product-field .vm-img-desc {

}
Title: Re: Custom field images display
Post by: cas on November 09, 2011, 21:53:24 PM
yes, I know how to remove the Free, but temporarily I wanted to see that just so if I have a price adjustment in the future, it would be positioned correctly below the description.

Any idea how to get the radio buttons on top of the images?   Also, why do some rows only have 1 image?

By the way, where do I send you a donation?
Title: Re: Custom field images display
Post by: PRO on November 09, 2011, 21:59:35 PM
.product-field label {width: 24%;float: left;position:relative;top:15px;left:-18px;}

if you look at the ones that have 1, its because of the row before

THIS text is too big
Marilyn Blond 88: Free
Title: Re: Custom field images display
Post by: cas on November 09, 2011, 22:14:25 PM
I will definitely donate!  Thanks so much!!!   So are you part of the VM team or just a hero to me? 

One last adjustment is how to center the radio buttons above the images, and how to add a line break between the radio buttons and the images, and finally how to add an extra line break or two after the Free?
Title: Re: Custom field images display
Post by: cas on November 09, 2011, 23:15:41 PM
I was able to adjust everything, except centering the radio buttons above the images.   How do I do that? 

Also, how can I remove the : (colon) in front of the Free (that I removed)? 

Finally, is there a way to make the image when clicked open the full-size image in a lightbox?


I also see the additional main images display in a single vertical column when they have a description.  Is there a fix for this?     

FYI, The link you posted for donations didn't work...  it got a 'Fatal Failure '.  I then went to the VM Donations page, but it's in a foreign language, so I'm not sure what it says.  Is there a donation page in English?   

Again, thanks for all your help!
Chuck
Title: Re: Custom field images display
Post by: PRO on November 10, 2011, 12:48:32 PM
Quote from: cas on November 09, 2011, 22:14:25 PM

and finally how to add an extra line break or two after the Free?

ASSIGN a specific pixel height to the "label"

Title: Re: Custom field images display
Post by: cas on November 10, 2011, 18:18:08 PM
Hi Banquet,

Yes, that part I fixed per my last post.  I just need help with these 4 items in my last post:

How to center the radio buttons above the images?

How can I remove the : (colon) in front of the Free (that I removed)?

Is there a way to make the image open the full-size image in a lightbox when clicked ?


I also see the additional main images on the left side of the page display in a single vertical column when they have a description.  Is there a way to fix this to have the images go across the page below the main image and have the description below the image?

Thanks,
Chuck
Title: Re: Custom field images display
Post by: PRO on November 10, 2011, 19:03:42 PM
I dont know if the colon is in the language file anywhere, but I just removed the colon like this

<?php $field->display  = str_replace( ':', '', $field->display) ?><?php echo $field->display ?>

THAT might not be the best way.


as for the select, you can position relative, and move it to the right.

Pop up image, I dont know. I didnt even know the product options could be done in pictures until I saw this thread.

<?php if(!empty($this->product->images) && count($this->product->images)>1) { ?>
         <div class="additional-images">
         <?php foreach ($this->product->images as $image) { ?>
         <div style="width:33%;float:left;">
            <?php echo $image->displayMediaThumb('class="product-image"',true,'class="modal"',true,true); //'class="modal"'?>
         </div> <?php } ?>
      <?php } ?>
Title: Re: Custom field images display
Post by: cas on November 10, 2011, 21:42:43 PM
Hi Banquet,

The custom field images are looking great!  Thanks!

But for some reason when I replaced the code for the Additional Images, it messed up the custom field images, and it didn't even change the additional images, so I pulled it out.  Is there some reason you can see why the code for the additional images would not change the additional images, but would impact the custom field images? 

Also, can you let me know the best link to use to donate?  The link in your previous post didn't work.  You have been so helpful. 

Thanks,
Chuck
Title: Re: Custom field images display
Post by: PRO on November 10, 2011, 22:03:53 PM
I changed the code above, its because the div was not closed for each image.

and if you click on the donate button at the bottom
of www.virtuemart.net

Title: Re: Custom field images display
Post by: cas on November 11, 2011, 00:21:57 AM
It looks great Banquet!  Thanks for everything!  I made your well-deserved donation. 

Let me know if you ever find out how to make the custom field images open the full-size image in a lightbox when clicked.

I also attached the new default.php file and the template.css changes we made in hopes that you can make it the default.php for the VM base since it's significantly improved with all your great help.

Thanks again,
Chuck

[attachment cleanup by admin]
Title: Re: Custom field images display
Post by: cas on November 26, 2011, 21:06:15 PM
Hi Banquet, was there any chance your changes became the default product view?   It will help everyone.  The changes are attached in my last post.   
Title: Re: Custom field images display
Post by: PRO on November 27, 2011, 14:47:54 PM
no, they did not.
Title: Re: Custom field images display
Post by: cas on November 27, 2011, 18:47:05 PM
That's too bad for everyone who uses VM.   Can't you convince someone to make it happen?  All the work is done... they just need to use it. 
Title: Re: Custom field images display
Post by: PRO on December 19, 2011, 16:45:07 PM
cas, the css changes can be added easily. BUT as for the product page default.php   changes. NOT everyone is going to want the title on top of the select. This will also effect the dropdown box layout for those kind of custom fields
Title: Re: Custom field images display
Post by: cas on December 19, 2011, 20:55:31 PM
Hi Banquet,

What do you mean "the title on top of the select"?  Also, I didn't understand about the dropdown box layout?  I don't think it effects anything but images.... correct?  I have another site with images and dropdown values and it only changes the images layout, not the dropdowns in anyway.  Check it out: www.designerfurniturecenter.com/furniture/living-room/sofas/sofa-detail

I think you would agree that the current product default view is useless for anyone that has extra images, and that includes extra product images, custom field images, and even the related products, because all 3 of these types display in a single vertical column.  Can you at least PLEASE take a look at my site again www.hairextensionsfair.com  to see how nice it handles images (all 3 types: extra product images, custom field images, related products), and take a look at my attached zip file that holds the css and default.php, to see how best to solve the image shortcomings of the current default product view, to make it better for all VM users.  BTW, I hope you got some of my $100 donation, because you really went above and beyond to make my product view look so good.  Now please make it better for everyone.  Thanks for all your help!

Happy Holidays,
Chuck
Title: Re: Custom field images display
Post by: PRO on December 19, 2011, 21:18:29 PM
the problem with the additional images is people have different image sizes. So if you cant set the container to a set width, or percentage, and make it look right for everyone. Mine did display inline, BUT because the css had a width of 50px added to it, they were scaled smaller.


The main problem with the related products is the image, and product name are in the same < a href> 
So to fix it, its going to be different for many people, depending on the thumbnail size.

Title: Re: Custom field images display
Post by: cas on December 19, 2011, 22:05:00 PM
Hi Banquet,

I agree image sizes will be unique for each site, but you have to admit the current product view is a pretty bad starting point.  Why not give folks a better starting point by implementing the changes you did, and then folks can just fine-tune the css to get it to their liking, but at least they will be miles ahead of the current product view.  Does this not make sense to help other folks?   

Plus, can you help me one more time by getting the custom field images to open in a lightbox when they are clicked?  I want it to work just like the extra product images open in a lightbox when clicked.   That way folks can have smaller custom field images to fit nicely on the page, but still show the larger image when clicked.

Thanks,
Chuck     
Title: Re: Custom field images display
Post by: cas on December 20, 2011, 09:36:31 AM
Banquet,

To make it easier for you, I just updated the latest VM release with the changes and tested it. It works fine, so I replaced the attached zip file with the latest files, so hopefully you can make this the default.  I'm getting tired of having to update the file every time a new release comes out.  Please help make my life easier and make this the default so I don't have keep doing this every other day! 

Thanks,
Chuck
Title: Re: Custom field images display
Post by: adham on January 04, 2012, 11:22:21 AM
Dont mean to go off topic. But where to upload the images to use in the custom field? for the hell of me I cannot figure it out. Maybe too much coffee :P
FOUND IT SILLY ME!!!

Is there a way to display the images in custom field without the radio button? also without label? thank
Title: Re: Custom field images display
Post by: cas on January 05, 2012, 22:56:09 PM
Help the rest of us... what did you do to upload Custom Field images? 
Title: Re: Custom field images display
Post by: cas on January 05, 2012, 23:26:49 PM
Quote from: adham on January 04, 2012, 11:22:21 AM
Is there a way to display the images in custom field without the radio button? also without label? thank

Do you want just the images without any selection capability and price adjustment?  If so, you could just add additional product images via the product images tab, and not use custom field images.   Just an idea to make it easier.
Title: Re: Custom field images display
Post by: adham on January 06, 2012, 00:42:54 AM
Hi!
Sorry didnt know that someone else was having problems with the image upload.
Upload your images to /stories/virtuemart/category or vendor (I think it works on all folders) , then go to your virtuemart backend admin under shop click on Media files and do a sync, your images should appear there (dont forget to publish the images). Now if you go to your product custom fields in the drop down menu your images should be there.

===========
Regarding the other post.
I would like to keep the select and cart option but was just wondering if we can remove the radio button

Cheers!
Title: Re: Custom field images display
Post by: cas on January 06, 2012, 01:15:32 AM
What selection method do you want the customer to use to select the desired custom field if not a radio button?   Do you just want the image to be highlighted as the selection?  You can also change the radio button to a checkbox if you want the customer to be able to select multiple custom fields at the same time.   
Title: Re: Custom field images display
Post by: adham on January 06, 2012, 07:07:45 AM
Hi! Was thinking more of just select the image maybe highlighted, I am using this for color selection in my openion it would look way better without the radio or check boxs. this is also to save space as I have about 56 colors to select from.
Cheers!
Title: Re: Custom field images display
Post by: cas on January 06, 2012, 07:30:44 AM
The website image labels are defined in the admin Shop -> Media File, and the field to edit is the "Displayed image title".  Try leaving this field blank to see what displays on the website.   As far as turning off the radio buttons completely, I'll let one of the experts such as Banquet advise you on the best way to do that.  The best I can offer you is a much nicer formatting of the product page when you have custom field images.  The 2 files are in the zip file I attached in Reply #34 on page 3 of this topic.  Take a look at the website:  https://www.hairextensionsfair.com/shop/full-head-clip-in/pp-straight-16-in-detail

Good luck!
Title: Re: Custom field images display
Post by: adham on January 06, 2012, 07:45:51 AM
Hi! thanks for the reply
If you empty the Description field empty then it wont show color name, so thats good, will be testing what happens if the description (in my case color name) is bigger than one word (God help us :P)
I have managed to put 4 in a row, but I still have problem with the radio button trying to put it on the top, also the tool tip icon how did you get yours to stay with the title text?

I did went to your site trying to do something similar, only my images are smaller, tried the file you attached but it simply messes up the additional product images.

By the way I am using Joomla 1.5.X and VM 2.0 stable

Cheers!
Title: Re: Custom field images display
Post by: cas on January 06, 2012, 08:09:21 AM
As far as 4 images across and getting the radio buttons on top, it's all done in the css that I attached.  You just have to keep adjusting the css values until you get it the way you like it.  You would need to use the default.php and the css file I attached in order for it to work.  You just change the name default.php to a different name and upload it into the productdetails/tmpl folder, and then in the admin select the new file instead of the default.  When you say it messes up your additional images, did you include the css info that I attached into your template.css file?  They need to be in sync.  The reason I changed the default for additional images is because the default just has all the extra images in a single vertical column.  I have the extra images set to go across the page under the main image.  You can see these in the link as well.  What happens in your case?   It also fixes the Related products.  The default his related products going in a single vertical column as well.   I have them going across the page. 
Title: Re: Custom field images display
Post by: adham on January 06, 2012, 11:41:37 AM
Hi Cas,
What I meant by messing it up is that it is displaying the images in horizontal line, I did use both file (thanks), i managed to get the title to show ok by using the< /br> in the default.php
only thing left is the tool tip.

here is my css:

.product-fields .product-fields-title{ font-weight:bold; color:#FF6600; float:left; display:block; clear:both}
.product-fields .product-field {width:100%; float:right;}
.product-fields .product-field label {width:15%; float:left; position:relative; top:5px; left:-5px; margin-bottom:5px;}
.product-fields .product-field input {width:30%; float:left; position:relative; left:5px;}
.product-fields .product-field .vm-img-desc {font-size:9px; text-align:left;}

that gave me the result as in the attached image.
also note in the image how the radio button is over the image? was wondering how great would it be if we can place the radio button on top of the image in the middle  ::)
Also i do have about 60 products that will come in 113 colors, that will push the cart and everything all the way to the bottom, a friend of mine gave me a really cool suggestion, dont know how to go about it though, to display the color chart fields in a pop up (lightbox) that would be so great and a good solution for everyone who has a "big" section of custom fields, just like on your site for the hair product.

Also need to figure out how to fix the price to display in one line
And if you notice the Size field, it is too close to the add to cart, how do I go about fixing that?

My related products do show in vertical line, but the title is too long and making it look ugly.

Thanks again!


[attachment cleanup by admin]
Title: Re: Custom field images display
Post by: cas on January 08, 2012, 01:07:12 AM
Hi adham,

To get 4-wide all I needed to change was the .product-fields .product-field label width to 17% and it looks perfect.  Take a look at my site now.  I changed it to be 4 across.  https://www.hairextensionsfair.com/shop/full-head-clip-in/pp-straight-16-in-detail  You can also see the results in the attachment.  Everything else is set exactly as it is in the 2 files I attached in the earlier post.  I have uploaded a newer version with minor tweaks, so be sure to download the new file.  Also, if your thumbnails are a different size than mine, that my be causing you the problem.  I have mine set to: 90px w x 90px h, but because the images are not square, they came out 80px w x 90px h.     

As far as custom fields opening in a lightbox when clicked, that's what I have been asking the VM developers to do.   I hope they add this capability when they have time.  If anyone else can help us do this now, we would be greatly appreciative!

As far as the price on two lines, that is happening because VM can display multiple price options (base price, tax, price with tax, etc).  But I agree if there is only one price to be displayed, then VM should display that price on the same line as the price label.

Cheers,
Chuck

[attachment cleanup by admin]
Title: Re: Custom field images display
Post by: adham on January 08, 2012, 08:30:13 AM
Hi Cas!
Thanks for the reply, in Chrome and IE the images line up ok but for the radio button, in FF I have a white empty space in front of the first row. I did uninstall the 2.0 version as it is full of bugs and not ready for use yet and went back to VM1 did a custom template and works fine, just was wanting the custom fields so bad as it is what I am after, the images and the price per letter plugin.

Well keep testing on an offline site.
Do you have an error when viewing the order? a one with custom fields?

Cheers!
Title: Re: Custom field images display
Post by: cas on January 08, 2012, 09:01:17 AM
Hi adham,

Mine displays fine in all the browsers.  I agree there are some bugs with VM2, but it's getting the job done for me, and it's a significant improvement in features over VM1, so there's no going back for me.  I'm not getting any errors when viewing orders with custom fields.   Also, Joomla 1.7 is much better than 1.5.  I've been working with VM2 for a long time now, so I guess I just know what things to use and what things to avoid.   My advice is to keep working with it and I'm sure you'll be sold too.

Cheers,
Chuck
Title: Re: Custom field images display
Post by: adham on January 08, 2012, 14:59:55 PM
Hi!
Well for me to go to J1.7 means extra costs and heaps of work, my web site is full of custom stuff and graphics, some components that I am using wont work in J1.7.

As for VM2, I like the SEO, custom fields and the options that I have seen, like I said it is not ready for a Live site. Maybe a clean installation would make these errors go away, I think there is a conflict between the old DB tables of VM and the new one causing these errors.

Also I just finished a VM1 template and it looks great just missing the options that VM2 gives in the custom fields. if you want I can PM you a link as dont want it to appear here.

P.S does your payment work? not the paypal on. mine dont include the info in the email or checkout process?
Title: Re: Custom field images display
Post by: cas on January 08, 2012, 22:50:52 PM
Hi adham,

Try the clean install idea.  Also try your best to get to J1.7.  It's so much better!  There are some bugs in VM2, that's to be expected with a new release, but nothing that's a show stopper for me.  I have been reporting lots of problems for months and the VM team either fixed these things or showed me that I was doing something wrong, so now I have a working site that can sell products consistently.    I wonder if some of your issues are similar to mine in that it might just be a misunderstand of how to configure something.  There are lots of configuration differences in VM2 compared to VM1.   My advice is to keep reporting issues to the forum in separate topics so the VM team can help you like they did for me.

As far as the payment, I only use PayPal and it works.  In the order record in the admin, it's missing the custom field value the customer selected, so that I reported, but fortunately the order email has this info twice.  I reported this too.

All the best!
Chuck
Title: Re: Custom field images display
Post by: scoody on January 09, 2012, 11:28:10 AM
Hi sorry i'm newbie, to have your colors liste like this , is it custom field , "image" where you choose each time the picture, and you have grouped them under a parent ?

:-[
Title: Re: Custom field images display
Post by: cas on January 10, 2012, 06:34:02 AM
Hi scoody,

Ihe images are not under a parent custom field.  I uploaded all the images with Filezilla to the server, and then Synchronized the images to VM using the Media File editor.  Then I defined one Custom Field called 'Color' of type image.  Then in the product editor in the Custom Fields tab, I just added Color ~20 times, and then for each custom field I picked a different image from the dropdown.  It's really very simple once you get the hang of it.  Good luck! 

Cheers,
Chuck
Title: Re: Custom field images display
Post by: scoody on January 10, 2012, 15:56:11 PM
Yes it works , it took you files in reply #34 , it's very cool !

The template.css provided in your zip has to go in components/com_virtuemart/assets/css and with template.css name or replace vmsite-ltr.css in this same folder ?
Title: Re: Custom field images display
Post by: cas on January 10, 2012, 20:07:23 PM
Glad it works!  I keep asking the VM folks to make this view the default product view for VM.  You can ask them as well.   

The template.css file in my zip file is not to replace any existing file or add a new file.  What you do is to open this file and copy all the information in the file, and then paste this information into your existing template.css file in the templates/css folder.  I don't touch the vmsite-ltr.css file because when a new version of VM comes out, you might overwrite your changes in this file. 

Cheers!   
Title: Re: Custom field images display
Post by: cas on January 10, 2012, 20:16:09 PM
Banquet,

Can you please make this the default view to help everyone out who uses custom fields?   Please!

Thanks,
Chuck
Title: Re: Custom field images display
Post by: PRO on January 10, 2012, 20:33:23 PM
please outline exact changes here in a reply.

Not the whole file. because it will conflict with other new things that are changing the css etc.

Title: Re: Custom field images display
Post by: cas on January 10, 2012, 20:53:58 PM
Hi Banquet,

In the attached zip file from reply #34, I recently updated it to use the latest version of the VM2.0.0 default.php file with your changes.  Of course I do not know since VM2.0.0 came out if there is a newer version of the default.php in the svn.  I do not have access to that.  If you send me the latest version I will be glad to update it for you.   As far as the template.css file, I only included the specific VM changes we made in that template.css file.  It's not a complete template.css file.  This way you can just add these css changes into the vmsite-ltr.css file.  Did I understand your request correctly?  I'm happy to do whatever I can to help you. 

Thanks!
Chuck
Title: Re: Custom field images display
Post by: PRO on January 10, 2012, 21:12:26 PM
https://dev.virtuemart.net/svn/virtuemart/trunk/virtuemart/

and you still are gonna have to give exact changes. There are many things being worked on, and 2 people could mess up each others work.
Title: Re: Custom field images display
Post by: cas on January 11, 2012, 01:36:18 AM
Hi Banquet,

The good news is that the latest default.php in the svn has all the changes we made before, except for one.  On line 202 the tooltip needs a line break at the end.  I added that line break in the attached default.php file.  Otherwise it's good to go.

I also took the latest vmsite-ltr.css file from the svn and added the css additions at the end of the file.  You can decide to integrate them better, but it works fine with my changes as is.

FYI, I did find one new problem in the new default.php. On line 128: class="product-image" was changed to class="medium-image", so the vmsite-ltr.css, which still has ".product-image" is not matching, and thus the main image is not controlled by the vmsite-ltr.css anymore.  In addition, now when hovering over the additional images, the main image shrinks to the small thumbnail size, so this is a problem too.  It needs to display the full size image when hovering over the additional images.  Anyway, this has nothing to do with what I'm doing with the custom field images, but just wanted to bring it to your attention so you can fix it before the next release comes out. 

Thanks,
Chuck

[attachment cleanup by admin]
Title: Re: Custom field images display
Post by: scoody on January 12, 2012, 09:49:48 AM
Hi cas,

I try to follow you , it's almost clear for me, except when yo uare talking about the css files in templates ...

Which templates are you talking about, as there are so many files in front end back end , joomla template, VM template etc etc it's clear for you but not for me !!

So the modifications you propose in your template.css file shall be put in which file in /www/components/com_virtuemart/assets/css   ?

I have no default template, i want to avoid modifications in vrmfile.css .


Title: Re: Custom field images display
Post by: cas on January 12, 2012, 18:35:01 PM
Hi Scoody,

I put these changes in my Joomla default template, which is in \your-root\templates\your-template\css\template.css.  You could also put these into the Virtuemart css, which is in \your-root\components\com_virtuemart\assets\css\vmsite-ltr.css.
Title: Re: Custom field images display
Post by: scoody on January 12, 2012, 21:52:27 PM
ok, i updated my css file it "works", but the radio buttons are not alligned at all with the pictures , i have to change the % in the css file ?

[attachment cleanup by admin]
Title: Re: Custom field images display
Post by: cas on January 12, 2012, 22:21:33 PM
Yes, you just adjust the width % in: .product-fields .product-field label {width:25%;}

If you use Firefox, then use Firebug add-on to easily tweak the width until you get it to look exactly how you like it.  I know other browsers have similar tools as well. 

When I look at your screenshot, I'm wondering why the first row is indented a few pixels from the other rows?  This might be what is causing you the problem.  Make sure the tool-tip is on it's own row and not interfering with the first row of the custom field images.

Cheers,
Chuck
Title: Re: Custom field images display
Post by: scoody on January 12, 2012, 22:54:36 PM
21% not enough , 22% too much , i have to modify the size of my pictures in that case ?  why the 4 at right is not good, else all is ok !

picture with 22%

[attachment cleanup by admin]
Title: Re: Custom field images display
Post by: cas on January 12, 2012, 23:04:31 PM
You can use decimal places as well... for example 21.4%.   But if that still doesn't work, then use different size thumbnail images.  My thumbnail images are 80px wide x 90px high, and I use 17% for the width.
Title: Re: Custom field images display
Post by: PRO on January 12, 2012, 23:08:13 PM
you would use percentage in width, then pixels with padding
Title: Re: Custom field images display
Post by: scoody on January 13, 2012, 06:52:40 AM
Hi,
Thanks a lot, but where is the padding,it's here :

.product-fields .product-field label {
   width:21%;
   float:left;
   position:relative;
   top:20px;
   left:-10px;
   
because 21% is not enough  (the 4th column is not aligned) , and 21.1 is too much !!! (i have a 5th radio button and 4 image on a row only)

Seems i have to redo my jpeg now it's the only solution ?
Title: Re: Custom field images display
Post by: cas on January 13, 2012, 08:02:27 AM
Maybe Banquet has an easier solution than I do, but resizing your thumbnail images to the size I used (80px w x 90px h) will definitely work at width 17%.  What size are your thumbnail images?  I have another website where the thumbnails are 90px x 90px and the width is 17.7% and it works.
Title: Re: Custom field images display
Post by: PRO on January 13, 2012, 11:48:42 AM
thats the problem with this css , templates will be different widths,and images will be different widths.

You will just have to work it out for your own template.

You can also do exact widths.

You can instead of 20%, do 100px; etc.

Title: Re: Custom field images display
Post by: scoody on January 17, 2012, 21:49:11 PM
All is ok now with the images 90px , Thanks for your clear help , hope it will survive updates ...
Title: Re: Custom field images display
Post by: cas on January 17, 2012, 22:14:00 PM
That's great you got it to work!  As far as updates, you will find when the new version of VM comes out, that the default.php for product view now has all the changes included in the base.  You might need to add a line break for the tooltip so it does not mess up the alignment of your images.  At least that's all I needed to change based on the SVN as of a few weeks ago.   Plus you will probably need to keep the css changes you did.   

Banquet, were you able to add the line break for the tooltip in the base so it doesn't mess up the images alignment?   Also, were you able to include the css changes in the base?     
Title: Re: Custom field images display
Post by: ronyashka on February 05, 2012, 18:34:06 PM
CAS

if it is not very difficult can you explain how you made this inscriptions below the images?
Title: Re: Custom field images display
Post by: cas on February 05, 2012, 19:30:11 PM
Hi ronyashka,

The image descriptions are entered by going to:  VM > Shop > Media Files, and then enter the description in the field: Displayed Image Title.
FYI, the 'Unique Filename' is the name that will appear in the admin dropdown to select the image. 

Cheers,
Chuck
Title: Re: Custom field images display
Post by: cas on February 11, 2012, 10:46:45 AM
Hi Banquet,

All was working great with the custom field images. Thanks for making the changes.  But I just upgraded to VM 2.0.1.F and the custom field images do align properly again.  Someone modified the vmsite-ltr.css at line 201:  .product-fields .product-field input {width:5%;float:left;position:relative;left:33px;} they removed the width:5%.  Can you please add back the width:5%. 

Also, the custom fields tooltip needs a line break so it doesn't mess up the custom fields alignment.  Can you go to the default_addtocart.php at line 32 and please add a line break.

Otherwise it looks good!

Thanks,
Chuck
Title: Re: Custom field images display
Post by: RogierBR on July 06, 2012, 15:18:03 PM
Hi,

I have been trying to get this nice display to work, but to no avail.
In multiple folders of my installation I can see default.php files as well as template.css files.

Copying the file to the mytemplate/template/css folder did not lead to any changes on the screen

Thanks,
Roger
Title: Re: Custom field images display
Post by: cas on July 06, 2012, 21:02:01 PM
Copy the info inside the attached template.css file into your existing yourtemplate/template/css/template.css. 

The default_addtocart.php goes here: yoursite/components/com_virtuemart/views/productdetails/tmpl/default_addtocart.php
It just adds a line break at the end of the tooltip.

Good luck!
Title: Re: Custom field images display
Post by: lorartemis on July 20, 2012, 18:42:25 PM
Hi Cas, I'm trying to achieve this custom image alignment and can't get the images to line up with the radio buttons. 

Mine are below other custom fields for sizing options and when I change the width to 17% (or make any change) it works on all the fields and not just the image/custom field.
I'm wondering if changing the CSS and adding styling for product-field-type-M might do the trick?






[attachment cleanup by admin]
Title: Re: Custom field images display
Post by: cas on July 20, 2012, 20:57:08 PM
Hi lorartemis,

Did you make the change to the default_addtocart.php to add a line break after the tooltip on line 32?  It looks like your radio buttons are on the same line as the Fabric Colour - Outer.  Once you add the line break change, then it is just a matter of adjusting your CSS until everything lines up properly. 

Good luck!
Chuck
Title: Re: Custom field images display
Post by: lorartemis on July 21, 2012, 12:29:55 PM
Hi cas, thanks for the reply.  I made that change, but whatever I do, the radio buttons still sit at the right and push a colour image down a row, this time it's the right hand image rather than the left :-)
Title: Re: Custom field images display
Post by: cas on July 21, 2012, 19:36:17 PM
Hi lorartemis,

Once you add the line break on line 32, everything else is done with CSS adjustments. I know it's tricky to get just the right sitteings, but it does work. 
Go to my site link and use Firebug in Firefox to see each of the CSS settings:  https://www.hairextensionsfair.com/shop/full-head-clip-in/pp-straight-16-in-detail
Here is a test site I have with larger images for you to see the CSS settings: https://www.designerfurniturecenter.com/furniture/living-room/sofas/sofa-detail

I'm using VM2.0.6.

Chuck


Title: Re: Custom field images display
Post by: dariete79@gmail.com on July 04, 2013, 16:40:49 PM
Can anyone help me? I tried set the modifications reported in reply #34 but still the result is the one here:
http://scatolarte.it/component/virtuemart/scatole/scatola-semplice-detail?Itemid=0

Tks in advance for the help.
Dario
Title: Re: Custom field images display
Post by: cas on July 04, 2013, 19:46:11 PM
This is because Milbo decided to change the default product layout page from a 50% / 50% split to a 60% / 40% split after everyone had their website done!  Thanks Milbo.  Milbo, please put it back to 50% / 50% split so every can use this post. 
Title: Re: Custom field images display
Post by: dariete79@gmail.com on July 15, 2013, 14:35:30 PM
How can I modify such split? Which file should I change?Tks for the help
Title: Re: Custom field images display
Post by: cas on July 15, 2013, 19:11:35 PM
It would be best to write to Milbo to ask him to put the Product Details page split back to 50/50% split like it was before, rather than the 60/40% split that he has it set to now.  Otherwise you will be stick like me always dealing with an override every time a new version of VM comes out. 

But if you have to change the file, it is at: \components\com_virtuemart\views\productdetails\tmpl\default.php

Go to lines 293 & 305, and make them both 50%.

Good luck!
Title: Re: Custom field images display
Post by: Maxim Pishnyak on July 15, 2013, 21:44:15 PM
Quote from: cas on July 15, 2013, 19:11:35 PM
Otherwise you will be stick like me always dealing with an override every time a new version of VM comes out. 
... \components\com_virtuemart\views\productdetails\tmpl\default.php
Isn't using template override could resolve forever such potential problem?
Title: Re: Custom field images display
Post by: cas on July 15, 2013, 22:00:15 PM
The override only makes sure you don't lose your changes, but then you do not get the new "good stuff" in the new release unless you do a file match and update your override file with all the new stuff.  So you are still stuck checking your override file every time a new release comes out if you want the new good stuff.  Why Milbo changed that file after everyone had their websites done, is a mystery to me, but I just wish better judgement would return and he would put the file back to the way it was for all this time, until just the last release.   Maybe you could do what I did and send him your cards and letters requesting he put it back to a 50/50% split like it always was before. 
Title: Re: Custom field images display
Post by: jenkinhill on July 15, 2013, 23:27:26 PM
The 60/40 split is better for the many who have requested the new main image replace feature where there are more than one product image, as it allows a larger image size to be used. Personally I always create overrides anyway so rarely have to bother with layout changes in VM updates.
Title: Re: Custom field images display
Post by: cas on July 15, 2013, 23:55:45 PM
Kelvyn,

I am not arguing the merits of which way is better, it's just very bad timing to do it at the end when all of us had our websites done.  If this is a better layout for you, then you do the override, but leave everyone else like me alone who had their websites done.   Now everyone needs to do the override just to get their websites working again, or in my case, I always do the file match to look for new updates inside that file.  It's a real pain for us who had our websites done, and it could easily be fixed if someone on the VM team would just put it back the way it was for all this time.    Please Kelvyn, can you help me and put it back to 50/50 ?
Title: Re: Custom field images display
Post by: AH on July 16, 2013, 09:25:28 AM
To put it "back"

Would using a copy of the old view as an override work for you?

Yes you might miss all the "good" stuff, but unless the team crete a listing of the release changes for the views,in some detail, it is difficult to work out what you might be missing!

I tend to use my own image view override to implement a zoom feature and "swappabble" secondary images as I much refer zoom to fancybox etc
Title: Re: Custom field images display
Post by: cas on July 16, 2013, 10:31:01 AM
Hi Hutson,

Yes, I as mentioned an override will work, but why should everyone who had their websites done and working well have to do an override now just because one person decided to change the base, when it worked perfectly fine as it was.  I'm just asking them to put it back like it was for all this time so we don't have to deal with overrides going forward.  I was the person who worked with Banquet for days to get the custom field images to work properly, so that's why I have a vested interest in it.  I just hope someone on the VM team will help.   

Cheers!       
Title: Re: Custom field images display
Post by: AH on July 16, 2013, 11:08:34 AM
But the VM team have decided to change the core template to meet, what they think, is the greater need.

Applying an override is such a common practice and that is what you should have done when working with Banquet, you chose to update the core, which will result in your changes being "lost".

Reversion of code - and asking for this  "never to be changed"  would hinder progress forever.

So do the override and don't worry about the core code changing (until of course, you want to take some of the improvements!)
Title: Re: Custom field images display
Post by: cas on July 16, 2013, 11:48:40 AM
The greater good... are we talking about curing cancer or a simple request from someone who took the time to get it to work in the first place.   Sometime we help those who have invested their time and effort to help us in the past.  I am not asking for a change, just to keep the split 50/50 the way it was.  I doubt if anyone would care but me since I have websites with many custom field images, so what's the problem to help me?  Maybe I am asking for too much, but thanks for the consideration and have a good day. 

Cheers   
Title: Re: Custom field images display
Post by: Maxim Pishnyak on July 16, 2013, 12:30:30 PM
Don't get what is your problem, Cas.

Aren't you support your web sites?
Aren't you not update them if that is necessary?
Aren't VM Team doesn't provide on regular bases manuals how to update template overrides (com_virtuemart.2.0.8_layout_changes, com_virtuemart.2.0.10_layout_changes, com_virtuemart.2.0.12_layout_changes, com_virtuemart.2.0.14_layout_changes, com_virtuemart.2.0.14_to_2.0.16_layout_changes)?

IF you have problems with not knowing how to update specific file from specific older VM version to the newest one, I'm sure VM developers could share with us another com_virtuemart.2.X.XX_layout_changes.

Regards.
Title: Re: Custom field images display
Post by: AH on July 16, 2013, 14:08:46 PM
Cas

You misquoted me "Greater need", not "greater good". VM is important, but not that important  :D
I was simply trying to say that you can add an override to get the display to what you previously had and what you want.

Yes it is a massive pain when the core templates change.

We all try and help as best we can, but sometimes our work gets left behind and not added to core, this has happened to all of us and we end up having to either keep our mods alive or let them go.

In your case your are fortunate that you can apply an override

I, in no way, meant to belittle your efforts!
Title: Re: Custom field images display
Post by: cas on July 16, 2013, 19:45:29 PM
Hi Hudson,

I understand and was just explaining the background, and hoping I can find someone on the VM team who cares enough about us little folks out here who invest our valuable time to help make VM a better product.  Just to clarify, all my changes for the custom field images did get implemented by Banquet, so everything was working perfectly for all my websites without dealing with overrides, plus numerous other folks that reached out to me from this post that I was able to help get their sites working.  But then Milbo just decided to change the split from 50/50 to 60/40 for the last release and screwed up everyone's websites with custom field images.  Unfortunately, I'm told to just do an override and go away.  Well my argument is that since I took the time to make custom field images work when one one else did, then let my hard work stand, and have the folks who didn't do the work deal with overrides.  Anyway, I have honestly given up in frustration over this simple request, but will hold out hope that maybe you will help now that you know the background.  I won't hold my breath, but it would be greatly appreciated. 

Take care,
Chuck 
Title: Re: Custom field images display
Post by: AH on July 16, 2013, 21:55:23 PM
Cas

I understand

I have passed this post onto Milbo to see what he thinks.
Title: Re: Custom field images display
Post by: cas on July 16, 2013, 22:02:07 PM
Thanks for trying Hudson!  I really appreciate it.
Title: Re: Custom field images display
Post by: Milbo on July 16, 2013, 22:05:25 PM
Jenkinhill said already anything
Quote from: jenkinhill on July 15, 2013, 23:27:26 PM
The 60/40 split is better for the many who have requested the new main image replace feature where there are more than one product image, as it allows a larger image size to be used.

Quote from: Hutson on July 16, 2013, 11:08:34 AM
But the VM team have decided to change the core template to meet, what they think, is the greater need.
...
Reversion of code - and asking for this  "never to be changed"  would hinder progress forever.

Furthermore it is quite easy to understand that the future is more important than the past. Maybe there were already 10k shops done, okey, but 100k will follow, got it Cas?

Quote from: cas on July 16, 2013, 19:45:29 PM
But then Milbo just decided to change

Should I take this personal? I "just" did it. Yeh, without any thinking, careless, without looking back.

Taking the statistic that you are the only person being loud means that the most people agree with the changes... and that it was not "just decided to change". It was WELL THOUGHT DECIDED TO CHANGE IT !

Despite that, you JUST think it should that way. Never thought about that? Then please go inside you, go out meditate and learn selfreflexion, thank you.

And Cas, really waht you do is unfair. You stole already more than an hour of my time about this topic, months ago and now you make hte community crazy, okey go ahead, but I wont answer anylonger.
Title: Re: Custom field images display
Post by: cas on July 16, 2013, 22:21:59 PM
Milbo,

I did not bring it up again.  It was other members sending me emails and asking me how to get custom field images working, since my previous posts with attached files do not work anymore based on the change you made to the 50/50 split.  I had to tell them the attached files do not work anymore and they need to make more adjustments in order to get it to work.  I was just helping the people impacted by the change.  Then other members jumped into the conversation to ask me what was different.  I just answered their questions truthfully.   I long ago gave up on expecting any help on this topic.   
Title: Re: Custom field images display
Post by: jjk on July 16, 2013, 23:22:34 PM
Personally I don't care whether it is a 50/50 split or a 60/40 or whatever. I'm using a template override for more than a year now setting it to 48/52, because this perfectly fits my images/dropdown selections. And because I tend to forget what I've changed, I maintain an unpublished Joomla article where I make a note of all changes, including the relevant original and customized code snippets and file locations. Pretty easy. And like most shop owners, I'm lazy and don't try every new feature  on my live website every time there is an update available. Usually I check my overrides only if they don't work anymore, which is very rare.
Title: Re: Custom field images display
Post by: cas on July 17, 2013, 00:19:35 AM
Great point JJk.  It's not worth changing it unless something is broke, which is why I requested to just keep it like it was so it didn't brake existing sites, and my tips here on Custom Field Images will work for other folks going forward.   Oh well, I tried.
Title: Re: Custom field images display
Post by: jjk on July 17, 2013, 07:09:07 AM
Just an additional note - in case you forgot about that:
Instead of using a template override to change the container width, you can alternatively place a renamed copy of the 'default.php' in the \components\com_virtuemart\views\productdetails\tmpl folder, which holds the 50/50 split. This has the advantage, that the shop owner can select i.e. 'my50-50default' from the dropdown list at Configuration > Templates > Shopfront Settings > Product Layout and also can switch to the original layout any time.
Title: Re: Custom field images display
Post by: cas on July 17, 2013, 08:33:13 AM
Thanks JJK.  I appreciate the tip.   So what does it take to get a simple request like this approved? 
Title: Re: Custom field images display
Post by: AH on July 17, 2013, 09:10:13 AM
Cas

Milbo has already stated that this change will not be reverted, as the team think it looks better.

Do an override as suggested by JJK

the energy you have expended in this post could have been used to complete the small task of setting an override?

Title: Re: Custom field images display
Post by: jjk on July 17, 2013, 11:00:09 AM
Quote from: cas on July 17, 2013, 08:33:13 AM
So what does it take to get a simple request like this approved? 
Oh, that's no secret - you have to convince the chief developer(s) that your arguments are better than theirs. Sometimes you win, sometimes you loose  :)
Title: Re: Custom field images display
Post by: Milbo on July 17, 2013, 11:29:57 AM
Quote from: Hutson on July 17, 2013, 09:10:13 AM
the energy you have expended in this post could have been used to complete the small task of setting an override?

ah 10 times the energy, with the discussions with me it was the energy for the updates for the next 10 years. But better 2 hours of mine, then 1 hour for 70% of all vm2 shops.
Title: Re: Custom field images display
Post by: cas on July 17, 2013, 23:40:20 PM
Milbo,

I'm happy to put this behind us, but just to set the record straight, when I first asked you to help me by simply setting the split back to 50/50, you said, "I would need to take a survey of all the VM users to see what they preferred, and then you might consider my request".   Do you honestly think you were being reasonable by setting an impossible bar for me to achieve?  I just hope going forward you will be more reasonable with such simple requests. 

Take care,
Chuck     
Title: Re: Custom field images display
Post by: Maxim Pishnyak on July 18, 2013, 13:05:16 PM
cas, you're so busy person that you need to read more carefully my previous post.
Quote from: Maxim Pishnyak on July 16, 2013, 12:30:30 PM
Aren't you support your web sites?
Aren't you not update them if that is necessary?
Is it too big problem for you to support your customers?
And to decide is it necessary to use or NOT to use newer 60/40 option?

Your personally don't like 60/40?
Leave then your 50/50 proportion.
As simple as that.

You have other people opinions that 50/50 is better?
And wonna tell here about that?
Fine.
Why not create civilized petition about this elsewhere?
Ofc if you so inclined about this.
Title: Re: Custom field images display
Post by: cas on July 18, 2013, 21:00:30 PM
Hi Maxim,

Let's put this behind us.  It's not about overrides, and I would love an honest and civil discussion about this topic.  Unfortunately, this was not the choice I was given.  My last post explains it all.  I spent the time working with Banquet to get Custom Field Images to finally work properly with sites that have a large number of images, and I documented it in this topic with attachments to help others.  So then when someone broke it in the last release, I made a very simple request to please consider putting it back to help everyone impacted.  But my simple request was met with a ridiculous demand that I must run a poll of all VM users before my request will even be considered.  Clearly this was a request I could never satisfy, and simply designed to make me go away.  I hope you agree this is not how to make VM a better product when someone is setting a bar that no one like me can reach.   So hopefully now you see the real problem has nothing to do with a technical solution like overrides.  I truly wish you good luck in fixing the real problem to prevent it from happening to me or anyone else going forward.     

Take care,
Chuck

Title: Re: Custom field images display
Post by: AH on July 18, 2013, 21:19:48 PM
Glad your finally letting this ridiculous thread go!

Do an override, with the time it took you to type the alast couple of posts you would have been done by now and could have spent more time relaxing!

Lesson for us all somewhere in this thread!
Title: Re: Custom field images display
Post by: Milbo on July 19, 2013, 01:26:44 AM
Quote from: cas on July 17, 2013, 23:40:20 PM
you said, "I would need to take a survey of all the VM users to see what they preferred, and then you might consider my request".

Yes, but I did not emphasize the word "all".

Quote from: Maxim Pishnyak on July 18, 2013, 13:05:16 PM
Why not create civilized petition about this elsewhere?

This is what I meant with it. Do a poll so that we can see the mood of people about it. Personally I do not care. In this case the majority decides.
Title: Re: Custom field images display
Post by: cas on July 19, 2013, 02:43:15 AM
Milbo,

How do I do a poll of VM users?   My concern with a poll is that the only people who care about this are the people like me who use Custom Field Images and were impacted by the recent change.   I think the bigger consideration to help you decide is the hard work Banquet Pro put into this back in Nov 2011 when it was coded and moved into production, and all the folks who benefited by the good documentation and the attachment in this topic to make setting up custom field images easy.  You can see all the earlier posts in this topic to appreciate all the hard work Pro did to get custom field images to work, and then my efforts to test it and to document it to help others.  The later posts are from folks who now cannot get it to work since the split was changed from 50/50 to 60/40.  I know the fix is easy, but many less technical folks are now asking for help.  I just hope you considered these folks when you decide what to do.  Good luck. 

Take care,
Chuck
Title: Re: Custom field images display
Post by: AH on July 19, 2013, 09:31:32 AM
My vote goes for 50/50

I have an override for this so it will not affect my site. 

In fact 60/40 did not affect my site either.

But I go for 50/50 as CAS is so passionate about it!
Title: Re: Custom field images display
Post by: Maxim Pishnyak on July 21, 2013, 23:01:52 PM
I challenge anyone who have REAL problem with their image custom fields on current 60/40 layout.

Come here.

And we will help.

Period.
Title: Re: Custom field images display
Post by: cas on July 22, 2013, 00:25:47 AM
Quote from: Maxim Pishnyak on July 21, 2013, 23:01:52 PM
I challenge anyone who have REAL problem with their image custom fields on current 60/40 layout.

Come here.

And we will help.

Period.

Wow Maxim!  Period!   So I guess that's the final word!  So much for the poll we were doing to see what people preferred.  Good luck in making VM a better product with an attitude like that!  Now you see why people give up trying to help. 
Title: Re: Custom field images display
Post by: cas on July 22, 2013, 00:35:32 AM
Quote from: Hutson on July 19, 2013, 09:31:32 AM
My vote goes for 50/50

I have an override for this so it will not affect my site. 

In fact 60/40 did not affect my site either.

But I go for 50/50 as CAS is so passionate about it!

Thanks Hutson!  I really appreciate your understanding and support.  It was nice to finally have someone understand the situation.  Even if I get out voted, at least now I know I'm not the only one with common sense in the room.  It means a lot!     

Take care,
Chuck
Title: Re: Custom field images display
Post by: Maxim Pishnyak on July 22, 2013, 09:43:21 AM
Quote from: cas on July 22, 2013, 00:25:47 AM
Quote from: Maxim Pishnyak on July 21, 2013, 23:01:52 PM
I challenge anyone who have REAL problem with their image custom fields on current 60/40 layout.
Come here.
And we will help.
Period.
Wow Maxim!  Period!   So I guess that's the final word!  So much for the poll we were doing to see what people preferred.  Good luck in making VM a better product with an attitude like that!  Now you see why people give up trying to help. 
Why not provide for us any case where change to 60/40 made design of product page ill? Cases for your web shops or for web shops of 'numerous' helpless VM beginners?

You came here without any petition, without such cases as far as I know.

No facts. Nothing discuss really.
Title: Re: Custom field images display
Post by: AH on July 22, 2013, 10:05:43 AM
Maxim

Your offer of assistance is well met.

I have no axe to grind here but, CAS has attempted to state his case. Polling people after a change has been delivered in a release by someone not in the VM team, is somewhat difficult from what I can see!

Try to get a significant section of the VM visitors to answer a poll on a piece of functionality that they may not be using, and see how much weight your responses will have (statistically speaking!)

You can see by the vast number responding to this thread that CAS is on a hiding to nothing!

CAS is clearly unhappy with the change.  I am not saying that he is wright to be unhappy, nor am I saying that the change should not have taken place however, CAS appears to have tried to provide a case for the 60/40. He along with others, including milbo, worked on this to get a display functioning.

At that time a 60/40 split was utilised and clearly this suited the need.  How was anyone to know that this was to be changed other than the VM team?

So it came as a suprise to CAS when the split changed to 60/40.

If CAS reads this, maybe Max's help is enough?
Title: Re: Custom field images display
Post by: cas on July 22, 2013, 10:28:23 AM
Maxim,

Are you asking if I had a problem with the change from 50/50 to 60/40 split?  The answer is Yes, just read all my posts in this topic asking for help.  Here is one of my sites that I had to override the split back to 50/50 in order for it to work properly:  https://www.hairextensionsfair.com/shop/hair-extensions/bella-clip-in-20-in-6-5oz-detail

As far as others having this same problem, just read the posts in this topic for the folks asking for help.  I even got messages directly asking me for help after the change in the split since all the helpful tips in this post no longer work without doing an override.  I know doing an override is no big deal, but not everyone understand how to do this, and was the change worth the impact to these folks. 

So now you can see there are real folks like me who were impacted.  That's why I respectfully asked if it could be put back to 50/50 to help everyone with custom field images that are now having an issue.  We both know the people who don't use custom field images, could care less about this issue.   My request is only for those folks using custom field images.   

Good luck in whatever you decide. 

Regards,
Chuck
Title: Re: Custom field images display
Post by: Maxim Pishnyak on July 22, 2013, 10:42:23 AM
Quote from: cas on July 22, 2013, 10:28:23 AM
The answer is Yes, just read all my posts in this topic asking for help. 
It's not simple to get in past without special machine. Let's work in present to make future better.

Still I can't see real problem with 60/40
Quote from: cas on July 22, 2013, 10:28:23 AM
Here is one of my sites that I had to override the split back to 50/50 in order for it to work properly:  https://www.hairextensionsfair.com/shop/hair-extensions/bella-clip-in-20-in-6-5oz-detail
You haven't problem with this web page, right?

Well, if you would switch to 60/40 and would meet some issues I'll be happy to assist you in resolving.
I already made a challenge about that.

Do you call?
Title: Re: Custom field images display
Post by: AH on July 22, 2013, 10:53:55 AM
CAS

Msxim is offering help here! 

Do you not wish to take up his offer?
Title: Re: Custom field images display
Post by: cas on July 22, 2013, 11:25:14 AM
Maxum,

The website is fine now since I did an override to put the split back to 50/50.   But it came as a surprise when I upgraded VM to the latest version and my products no longer displayed properly after working perfectly since Nov 2011.  I had to figure out that the page split had changed.  But just because I was able to get it to work properly, there are people still asking for help in this topic.   I just think whoever made the change from 50/50 to 60/40 didn't take into account just how difficult it is for non-expert folks like me to get custom field images to display properly.  Anyone who has dealt with custom field images knows exactly what I am talking about.  If it wasn't for Banquet Pro's help, I would have never gotten it to display properly back in Nov 2011.  Since I struggled for so long to get it to finally display properly, that's why I am so passionate about this topic, and why I don't want others to suffer the way I did.  I have a great idea, why not implement a WYSIWYG editor to manage customer field images?  Now that would be very helpful! 

Regards,
Chuck