Page 2 of 2
Re: [UPDATED][MOD] Collapse/Expandable Modules
Posted: Sun Nov 28, 2010 11:25 am
by konservasi
Hai, I have install the mod
this is my website
http://galerigis.com
I am using opencart v 1.4.9.1
I have take a look the img file..it look likes this
need assistant
thanks before
Re: [UPDATED][MOD] Collapse/Expandable Modules
Posted: Sun Nov 28, 2010 11:49 am
by dvio
konservasi wrote:Hai, I have install the mod
this is my website
http://galerigis.com
I am using opencart v 1.4.9.1
I have take a look the img file..it look likes this
need assistant
thanks before
The first time I visited your site, the image looks weird indeed, it perhaps a result of corrupted upload. I have visisted your site using Opera, FF, and Chrome just now. Your site is fine on those 3 browsers. Maybe you should try clearing your cache file after re-uploading the header image.
Thx,
dvio
Re: [UPDATED][MOD] Collapse/Expandable Modules
Posted: Sun Nov 28, 2010 12:46 pm
by konservasi
dvio wrote:konservasi wrote:Hai, I have install the mod
this is my website
http://galerigis.com
I am using opencart v 1.4.9.1
I have take a look the img file..it look likes this
need assistant
thanks before
The first time I visited your site, the image looks weird indeed, it perhaps a result of corrupted upload. I have visisted your site using Opera, FF, and Chrome just now. Your site is fine on those 3 browsers. Maybe you should try clearing your cache file after re-uploading the header image.
Thx,
dvio
thanks for your help..right now, I can see the panel..it looks great, but my problem now is the information module looks is diffterent than before I have install this mod
the problem seems like this
wandotshop wrote:Dear dvio...
i love ur module.. but i see some diffrent on the default page with after modi with your module...
could u see under categories or information..there are diffrent between before modify and after modify...could u make it as same as before...if u see that...before is default icon side the sub2 item...but for new is like a dot icon... can u get the default? TQ
Re: [UPDATED][MOD] Collapse/Expandable Modules
Posted: Sun Nov 28, 2010 1:49 pm
by dvio
wandotshop wrote:Dear dvio...
i love ur module.. but i see some diffrent on the default page with after modi with your module...
could u see under categories or information..there are diffrent between before modify and after modify...could u make it as same as before...if u see that...before is default icon side the sub2 item...but for new is like a dot icon... can u get the default? TQ
I have updated the mod. The bug was there because I didn't notice that there's a div id already assigned on the modules middle div. Please download updated mod in first post. or you can do it manually:
1. open toggle_module.js
2. replace
Code: Select all
$(".box .middle").each(function() {
$(this).attr("id", moduleid);
moduleid++;
$(this).toggle($.cookie('show-' + this.id) != 'collapsed');
$(this).parent().toggleClass("hide",$.cookie('show-' + this.id) == 'collapsed');
});
with
Code: Select all
$(".box .middle").each(function() {
$(this).parent().attr("id", moduleid);
$(this).toggle($.cookie('show-' + moduleid) != 'collapsed');
$(this).parent().toggleClass("hide",$.cookie('show-' + moduleid) == 'collapsed');
moduleid++;
});
3. open header.tpl
4. remove
Code: Select all
<script type="text/javascript" src="catalog/view/javascript/jquery/toggle_module.js"></script>
5. open footer.tpl
6. insert before </body>
Code: Select all
<script type="text/javascript" src="catalog/view/javascript/jquery/toggle_module.js"></script>
This update also fixing a bug where a slider module breaks down when the page loaded while the module on collapsed state.
dvio,
Re: [UPDATED][MOD] Collapse/Expandable Modules
Posted: Sun Nov 28, 2010 1:51 pm
by dvio
konservasi wrote:
thanks for your help..right now, I can see the panel..it looks great, but my problem now is the information module looks is diffterent than before I have install this mod
Do the same fix as above post, or as in the PM
Good luck,
dvio
Re: [UPDATED][MOD] Collapse/Expandable Modules
Posted: Sun Nov 28, 2010 8:03 pm
by wandotshop
Dear Dvio...
GOOD JOB Everrrrrrrrrrrrrrrrrrrrrrrrrrr!!!!

....
My Problem DONE!!!!....

Really love your MOdule... so much help...
TQ For your Job bro...

hopefully u got others excellent module to share with Us... anyway again Thanks so much
Others Request:
i am looking for Advance Login customer at side...after customer login..the detail customer will be appear at right or left side... plz share with me if u got that....TQ so much coz help me to solve the problem and share with me the excellent job ever

Re: [UPDATED][MOD] Collapse/Expandable Modules
Posted: Thu Dec 02, 2010 2:19 am
by wandotshop
Dear Dvio..
i just defined new problem related to your module... plz help... really love ur module so much..
the problem occur when i got to product..then add to cart...got weird...the image ghost go wrong way...and the shopping cart no update as per default... i enable your module..then everything going fine... could u plz check it...i really2 need your module so much

Re: [UPDATED][MOD] Collapse/Expandable Modules
Posted: Thu Dec 02, 2010 3:31 pm
by dvio
wandotshop wrote:Dear Dvio..
i just defined new problem related to your module... plz help... really love ur module so much..
the problem occur when i got to product..then add to cart...got weird...the image ghost go wrong way...and the shopping cart no update as per default... i enable your module..then everything going fine... could u plz check it...i really2 need your module so much

I'm really sorry, another thing I missed
FIXED ... please get the updated mod on the first post

or if you want to do it manually just do this:
1. Open toggle_module.js
2. replace
Code: Select all
$(this).parent().attr("id", moduleid);
with
Code: Select all
$(this).next(".box .bottom").attr("id", moduleid);
3. replace
Code: Select all
$.cookie('show-' + $(this).parent().attr("id"), $(this).is(":hidden") ? 'collapsed' : 'expanded');
with
Code: Select all
$.cookie('show-' + $(this).next(".box .bottom").attr("id"), $(this).is(":hidden") ? 'collapsed' : 'expanded');
4. done
dvio,
Re: [UPDATED][MOD] Collapse/Expandable Modules
Posted: Wed Mar 30, 2011 1:50 am
by karlpers
someone might already have asked you this question, but Im trying anyway.
If I want to change it so that the modules are hidden as default, where do I change it?
Re: [UPDATED][MOD] Collapse/Expandable Modules
Posted: Wed Mar 30, 2011 1:40 pm
by dvio
karlpers wrote:someone might already have asked you this question, but Im trying anyway.
If I want to change it so that the modules are hidden as default, where do I change it?
1. Open catalog/view/javascript/jquery/toggle_module.js
2. Find
Code: Select all
var moduleid = 0;
$(".box .middle").each(function() {
$(this).next(".box .bottom").attr("id", moduleid);
$(this).toggle($.cookie('show-' + moduleid) != 'collapsed');
$(this).parent().toggleClass("hide",$.cookie('show-' + moduleid) == 'collapsed');
moduleid++;
});
3. Replace with
Code: Select all
$(".box .middle").hide(); $(".box").toggleClass("hide",true);
var moduleid = 0;
$(".box .middle").each(function() {
$(this).next(".box .bottom").attr("id", moduleid);
$(this).toggle($.cookie('show-' + moduleid) == 'expanded');
$(this).parent().toggleClass("hide",$.cookie('show-' + moduleid) == 'expanded');
moduleid++;
});
4. Save and update
Re: [UPDATED][MOD] Collapse/Expandable Modules
Posted: Wed Mar 30, 2011 10:48 pm
by karlpers
You made my day dvio:)
Re: [UPDATED][MOD] Collapse/Expandable Modules
Posted: Mon Apr 11, 2011 2:28 pm
by Devil231
Hi,
I want to know how can i make this extension work just for one module.
Instead make all modules collapsible i want to make just one to collapse.
Thank you!
Re: [UPDATED][MOD] Collapse/Expandable Modules
Posted: Wed Apr 13, 2011 10:32 am
by dvio
Devil231 wrote:Hi,
I want to know how can i make this extension work just for one module.
Instead make all modules collapsible i want to make just one to collapse.
Thank you!
I'm sorry for this late reply.
you can edit the js to scan and work for only one id and add an id in the specific module div. I can't help you more right now since I'm on a trip, I'll try to come back to you tomorrow.
dvio
Re: [UPDATED][MOD] Collapse/Expandable Modules
Posted: Wed Apr 13, 2011 1:08 pm
by Devil231
dvio wrote:Devil231 wrote:Hi,
I want to know how can i make this extension work just for one module.
Instead make all modules collapsible i want to make just one to collapse.
Thank you!
I'm sorry for this late reply.
you can edit the js to scan and work for only one id and add an id in the specific module div. I can't help you more right now since I'm on a trip, I'll try to come back to you tomorrow.
dvio
Ok then i`ll way till tomorrow.
Thanx!
Re: [UPDATED][MOD] Collapse/Expandable Modules
Posted: Sun Jul 17, 2011 5:07 am
by kmg_123
I have a problem with this module , in the product page (any product) this module stop working ?!! any Idea ?? what's wrong ?? but the home page it's working perfect
Re: [UPDATED][MOD] Collapse/Expandable Modules
Posted: Fri Aug 12, 2011 9:56 pm
by theone
Hi, thanks very much for this nice module, i have same question like this user, please clarify if possible.
kind regards
Devil231 wrote:Hi,
I want to know how can i make this extension work just for one module.
Instead make all modules collapsible i want to make just one to collapse.
Thank you!
Re: [UPDATED][MOD] Collapse/Expandable Modules
Posted: Sat Aug 13, 2011 3:03 pm
by dvio
@ALL ... I'm really sorry for not updating my modules quite long. I had a catastrophic accident with my PC and lost most of my data including openchart projects.
I'm still in process of retrieving my data files and finishing (rewriting) my postponed projects , and I have to admit that my openchart modules are not come first (maybe near to last)

... Really sorry for that. But I will come back when all my problems sorted out.
theone wrote:Hi, thanks very much for this nice module, i have same question like this user, please clarify if possible.
kind regards
Devil231 wrote:Hi,
I want to know how can i make this extension work just for one module.
Instead make all modules collapsible i want to make just one to collapse.
Thank you!
It is possible to make this module to work just for one module, and it's just an easy fix if I have the time and have openchart installed in my local pc which is currently not. I'll be back with the modification some times next week.
dvio
Re: [UPDATED][MOD] Collapse/Expandable Modules
Posted: Sun Aug 14, 2011 3:54 am
by theone
thanks very much for getting back. hope you will sort it soon

Re: [UPDATED][MOD] Collapse/Expandable Modules
Posted: Wed Sep 18, 2013 4:35 pm
by aliaziz
Hi - Is this module still available will it work on version 1.5.6 on a custome theme? Thanks