ckonig

Netherlands

Jul
15
comment Change logo bassed on language in opencart 2
Thanks for clarification, I've always worked with 1.9.x. In that case i'd put the code in the controller, so the template doesn't need to know where the value comes from.
Jul
14
comment Change logo bassed on language in opencart 2
If you concatenate the language code to the image name (e.g. "logo-EN.png") you don't have to change the code again when you add a new language.
Jul
14
comment Change logo bassed on language in opencart 2
It's unnecessary to create a new instance of Session, because it's available anywhere through the OpenCart registry pattern. Just use $this->session->data['language'] anywhere in your MVC structure.
Jul
14
answered API For OpenCart
Jul
14
answered Opencart 'Product Options' Overloaded
Jul
14
comment Interswitch Integrated in opencart
If you have a question about an opencart extension you are using (which i suppose), you should contact the developer of that extension opencart.com/index.php?route=extension/…
Jul
14
revised OpenCart Development
added 61 characters in body
Jul
14
answered OpenCart Development
Jun
30
comment Basic survey app
Well if the Survey gets persisted through the relationship anyway, there's no need to change anything. I wasn't sure how EntityFramework would behave, this is more a just-in-case thing. In my code, I'd always persist the Survey first just to be sure the database will accept the Questions. But that might be overly cautious.
Jun
30
comment How can I unit test void functions?
simple and beautiful. if you added the negative testcase where the elephant doesn't make noises on monday, i'd upvote - and start using Mockito immediately :)
Jun
30
answered Basic survey app
Jun
30
answered Separate business logic from Data Access Logic in the repository
Jun
30
awarded Supporter
Jun
30
revised Joining product attributes table with the product table to display product
you're -> your :)
Jun
16
comment Azure web job stopped/aborted
@atika check out this thread which helped me to solve the problem of automatically aborting long-running webjobs: stackoverflow.com/questions/27939766/…
May
28
awarded Good Answer
May
26
awarded Revival
Mar
27
awarded Notable Question
Mar
5
answered WebAPI GET long parameter
Mar
3
awarded Popular Question
1 2 3 4 5