Hi!
How to change collapse and collapse_collapsed images addresses.
I want to change format of them in my forum (from gif to png)
Thanks
*
Solved. Thanks
Will you mind sharing the solution with us?
It is done by editing the js file I think - the pop_up.js. At the very least you change them in the forumbit templates.
There is a place where these images are linked, ie. index_boardstats.
That reflects on the Board Statistics thead bar only, not in categories.
Rest places I've found are for UCP and ModCP only
It is also in the categories. You can see it - when you click on the gif to collapse they collapse. It is in this template:
forumbit_depth1_cat
(2012-08-02, 01:30 PM)Leefish Wrote: [ -> ]It is done by editing the js file I think - the pop_up.js. At the very least you change them in the forumbit templates.
I think change it ,is difficult!
I use same gif files
If anyone find, plz share it!
On that template it is defined with a var {$expcolimage}
I need to change the extension to .png which I couldn't find for categories.
Yea, lines
647
element.src = element.src.replace("collapse_collapsed.gif", "collapse.gif");
655
element.src = element.src.replace("collapse.gif", "collapse_collapsed.gif")
in the general.js. I knew I had changed it in a js. I was thinking of the on/off/locks, for the template edit. Sorry.
Edited
I think if you want change it for a theme only. it is the best way!
export you theme and replace all gif from collapse images to png and then save changes, then upload your new xml file with changes.
Have anyone better instruction ?
Does the collapse still work? By just changing the image address?