Contribution: http://www.opencart.com/index.php?route ... n_id=27009
Documentation updated with SQL query.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
When trying to log in from the Header Icon, it presents an error, still,
the login Link below the error works.
But If I am logged in, it presents the Image inside of the same LOGIN Header Section,
but not on the Account page itself.
Ernie
just try to open the Header Login:
http://www.bigmax.ch/oc22/index.php?route=common/home
or then log in, by use of:
beni |at| jacob.ch --- password: beni
and then click the header Login Icon again.
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I now used a fast-draw type combination between our both VqMods, to make it work, so far.
But still, the IMAGE Height Value needed to be declared, you declared twice the width,
and I changed the Variables product_width+height to category_width + category_height,
because I didn't like the large Product-Image Size of 250x200px. reflected on the User Main Page.
But I changed it all afterwards, because I prefer to declare/define a simple fixed Image Size on the User Page
for this specific purpose into the VqMod, since it is not to be defined seperately in the Admin Theme
Image-Size Section, as it comes. So, I declared 250 x 100 px. in the VqMod on Line 118
of the Code, to make it work!
Code: Select all
$data['image'] = $this->model_tool_image->resize($customer_group['image'], 250, 100);
I guess, I still have to work on this.
---
to be corrected in your VqMod, I assume, and also depending on theme-related Image settings:
Code: Select all
$data['image'] = $this->model_tool_image->resize($customer_group['image'], $this->config->get($this->config->get('config_theme') . '_image_category_width'), $this->config->get($this->config->get('config_theme') . '_image_category_height'))
---
PS. I created 2 different VqMod Extensions here, to make either a TEXT-TITLE or a User-Group
specific IMAGE visible in the Account Main Section.
Good Luck ! If it does not work, then, it's not a Default Theme OC v.2.2 Problem,
and I have no other v.2 - Version, to check on anything!
---
1. Account Welcome plus Customer Group Logo for OpenCart v.2.x
2. Account Welcome plus Customer Group ID - Title for OpenCart v.2.x (VqMod OC 2.2.0.0 only !)
http://www.opencart.com/index.php?route ... n_id=27046
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Edit: File deleted. It was for another contribution. My first post on this topic is still the official release.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 102 guests