I would like to know this aswell. I have just spent the last hour trying to figure it out but so far no joy!keether wrote:I would like to make sub category images a different size than category images ? Does anyone know how to do this ?
Forget that, just figured it out by taking the info from another post and adapting it and a bit of guesswork!
In the xml file find the lines
Replace with
90, 90 being the height and width you want the image displayed. Change this as per requirements. All I need to do now is figure out how to change the size of the shadow under the original size image
In the xml file find the lines
Code: Select all
$image = $this->model_tool_image->resize($result['image'], $this->config->get('config_image_category_width'), $this->config->get('config_image_category_height'));
Code: Select all
$image = $this->model_tool_image->resize($result['image'], 90, 90);
I have been having the same problem with the style sheet. The original code uses the image size in admin to control the size of the displayed image. The code I posted above changes the image size to something more manageable but the styling on the template is all wrong when the images are made smaller.
Can someone please give a breakdown and explain how/where the stylesheet needs changing as I have spent a good few hours guessing at things I dont really understand and not got anywhere. Some help on this would be great!
Thank you
Can someone please give a breakdown and explain how/where the stylesheet needs changing as I have spent a good few hours guessing at things I dont really understand and not got anywhere. Some help on this would be great!
Thank you
Anyone??? I`ve read a lot of posts on this forum about a variety of things. There is a lot of people with a lot of knowledge and i`m sure to those people the above question is something that is quite easy to do. If someone would be kind enough to share the knowledge that would be great!
If you would like to give us a URL to look at we can probably help you better
Live Long and Prosper!
Degsey :-]
Visit us at :
http://www.Supreme-Ink.com
This is the mod I'm using for 1.5.1.3.1 (or whatever it is at the moment...) I can't remember if its changed from earlier versions, but this is working for me with a pretty much default install. If it doesn't work try disabling any other mods first as there could be conflicts and its easier to troubleshoot just one thing at a time.smitch6 wrote:anyone sorted this for the very latest version of OC please
thanks
Good luck
i was just saying on another thread i don't think any of my vqmods are working :~
just tried your upload and got this error at the top of my page
Notice: Undefined variable: image in /home/steve/public_html/personalisedprinting.org.uk/store/vqmod/vqcache/vq2-catalog_controller_product_category.php on line 135Notice: Undefined variable: image in /home/steve/public_html/personalisedprinting.org.uk/store/vqmod/vqcache/vq2-catalog_controller_product_category.php on line 135Notice: Undefined variable: image in /home/steve/public_html/personalisedprinting.org.uk/store/vqmod/vqcache/vq2-catalog_controller_product_category.php on line 135
Notice: Undefined variable: image in /home/steve/public_html/personalisedprinting.org.uk/store/vqmod/vqcache/vq2-catalog_controller_product_category.php on line 135Notice: Undefined variable: image in /home/steve/public_html/personalisedprinting.org.uk/store/vqmod/vqcache/vq2-catalog_controller_product_category.php on line 135Notice: Undefined variable: image in /home/steve/public_html/personalisedprinting.org.uk/store/vqmod/vqcache/vq2-catalog_controller_product_category.php on line 135
yes all default but i have tweaked it slightly to suit my needs
www.personalisedprinting.org.uk/store
if you want to look
only just installed it 2 weeks ago so still playing
www.personalisedprinting.org.uk/store
if you want to look
only just installed it 2 weeks ago so still playing
Doesnt appear to be the latest version of OC - header still has jquery-ui-1.8.9.custom.min.js in it
1.5.1.3 uses jquery-ui-1.8.16.custom.min.js
Modifying core files and/or template files will not allow vqmod to work correctly
1.5.1.3 uses jquery-ui-1.8.16.custom.min.js
Modifying core files and/or template files will not allow vqmod to work correctly
I just tried the mod on a fresh install of 1.5.1.3.1 and it works - (although it did throw an error which I'm investigating - not sure if this is due to a windows XAMPP install as I can't recreate on my live server).
Just try creating images for some of those subcategories and see if that makes any difference.
Sorry I only hack these mods together for my own use really, I'm no developer, so its take it as it comes really I'm afraid.
Rob
Just try creating images for some of those subcategories and see if that makes any difference.
Sorry I only hack these mods together for my own use really, I'm no developer, so its take it as it comes really I'm afraid.
Rob
Almost works fine apart from this error when clicking on the final category that has no further subcategories
Notice: Undefined variable: result in /htdocs/opencartdemo1513/vqmod/vqcache/vq2-catalog_controller_product_category.php on line 155
Notice: Undefined variable: result in /htdocs/opencartdemo1513/vqmod/vqcache/vq2-catalog_controller_product_category.php on line 155
yep confirmed - i've been using this for months without finding these errors. I'll have a gander..uksitebuilder wrote:Almost works fine apart from this error when clicking on the final category that has no further subcategories
Notice: Undefined variable: result in /htdocs/opencartdemo1513/vqmod/vqcache/vq2-catalog_controller_product_category.php on line 155
Sorry mate, same error with your last upload too
Notice: Undefined variable: result in /htdocs/opencartdemo1513/vqmod/vqcache/vq2-catalog_controller_product_category.php on line 162
It occurs when viewing the final category with or without products.
Demo store is default apart from your mod so no possible conflicts
Notice: Undefined variable: result in /htdocs/opencartdemo1513/vqmod/vqcache/vq2-catalog_controller_product_category.php on line 162
It occurs when viewing the final category with or without products.
Demo store is default apart from your mod so no possible conflicts
Who is online
Users browsing this forum: Bing [Bot] and 81 guests