MyBB Community Forums
Changing collapse.gif & collapse_collapsed.gif - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: Changing collapse.gif & collapse_collapsed.gif (/thread-135886.html)



Changing collapse.gif & collapse_collapsed.gif - Tropy - 2013-03-10

How would I change the collapse.gif & the collapse_collapsed.gif directory.
It's at Example.com/images/collapse.gif and I want to change it to Example.com/images/MyTheme/collapse.gif. Would anyone help me with this? I'd give me great joy. Heart


RE: Changing collapse.gif & collapse_collapsed.gif - effone - 2013-03-10

It should point to your theme's directory by default. I guess you are using some theme with hardcoded path, which is not using the var {$theme['imgdir']}

Generally you can find it under template forumbit_depth1_cat:

<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}"

You may have to change the path to some more places like UCP, Boardstats, Quick Reply etc.


RE: Changing collapse.gif & collapse_collapsed.gif - AthletikCo - 2014-03-06

(2013-03-10, 04:52 AM)effone Wrote: It should point to your theme's directory by default. I guess you are using some theme with hardcoded path, which is not using the var {$theme['imgdir']}

Generally you can find it under template forumbit_depth1_cat:

<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}"

You may have to change the path to some more places like UCP, Boardstats, Quick Reply etc.

So how do we change both the collapse and collapse_collapsed? The expcolimage only changes one of them.


RE: Changing collapse.gif & collapse_collapsed.gif - effone - 2014-03-06

The answer was about changing the directory, not filename.

Don't try to change {$expcolimage}, that is dynamic, you have to change in many places including javascript. Still will have a chance to fail.