Solved: 6 Years, 2 Months, 3 Weeks ago Category defauly setting help
#8
Solved: 6 Years, 2 Months, 3 Weeks ago
Promise is a promise.
When you replace lines 417 - 429 of inc/functions_forumlist.php by:


if ($forum['fid'] == 4)
	if(isset($collapsed[$collapsed_name]) && $collapsed[$collapsed_name] != "display: show;")
	{
		$expcolimage = "collapse.png";
		$expthead = "";
		$expaltext = "[-]";
	}
	else
	{
		$expcolimage = "collapse_collapsed.png";
		$expdisplay = "display: none;";
		$expthead = " thead_collapsed";
		$expaltext = "[+]";
	}
else
{
	if(isset($collapsed[$collapsed_name]) && $collapsed[$collapsed_name] == "display: show;")
	{
		$expcolimage = "collapse_collapsed.png";
		$expdisplay = "display: none;";
		$expthead = " thead_collapsed";
		$expaltext = "[+]";
	}
	else
	{
		$expcolimage = "collapse.png";
		$expthead = "";
		$expaltext = "[-]";
	}
}


then you achieve what you want.
I am still not happy with this solution, but I could not find something better. I also looked at the javascript involved with collapsing and expanding, but could not find the solution either.
Regards, Ad Bakker (NL)
Reply


Messages In This Thread
Category defauly setting help - by chris.t - 2015-07-24, 12:35 AM
RE: Category defauly setting help - by Ad Bakker - 2015-07-24, 08:23 AM
RE: Category defauly setting help - by chris.t - 2015-07-24, 12:41 PM
RE: Category defauly setting help - by Ad Bakker - 2015-07-24, 02:26 PM
RE: Category defauly setting help - by chris.t - 2015-07-24, 09:34 PM
RE: Category defauly setting help - by Ad Bakker - 2015-07-24, 09:38 PM
RE: Category defauly setting help - by chris.t - 2015-07-25, 12:17 AM
RE: Category defauly setting help - by Ad Bakker - 2015-07-25, 07:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)