Collapse Forum Goal Mod
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
Collapse Forum Goal Mod
Hi,
I installed this great mod and I would like to add the button to collapse this tab.
How can I do this? I mean something like in this forum.
Thanks
I installed this great mod and I would like to add the button to collapse this tab.
How can I do this? I mean something like in this forum.
Thanks
Collapse Forum Goal Mod
First you need to install this mod from Christian Bullock: http://www.christianbullock.com/2011/ph ... th-cookies
Then extend it to the Forum Goal mod.
Then extend it to the Forum Goal mod.
Collapse Forum Goal Mod
Then we will make a change with the last edit.
Delete this part from forumlist_body.html:
Insert it at the bottom of index_body.html instead.
Open forumgoal_body.html
Find:
Before add:
Find:
Before add:
Find:
After add:
Find:
After add:
Thats it!
Delete this part from forumlist_body.html:
Code: Select all
<script type="text/javascript">
$(".forumlist").collapse({show: function(){
this.animate({
opacity: ‘toggle’,
height: ‘toggle’
}, 300);
},
hide : function() {
this.animate({
opacity: ‘toggle’,
height: ‘toggle’
}, 300);
}
});
</script>
Open forumgoal_body.html
Find:
Code: Select all
<div class="forabg">
Code: Select all
<div class="forumlist">
Code: Select all
<ul class="topiclist forums">
Code: Select all
<!– IF SCRIPT_NAME eq ‘index’ –><div class="trigger active"></div><!– ENDIF –>
<div class="collapsethis">
Code: Select all
</table>
</li>
</ul>
Code: Select all
</div>
Code: Select all
<span class="corners-bottom"><span></span></span></div>
</div>
Code: Select all
</div>