Code: Select all
Display of subforums:
You changed it in ACP and it keeps sticking at "default"?autinhyeu wrote:I had try change value from "Default" to "Each in new row", but it don't changed . It's mean: options always stick at Default value...
OkieGalaxy21 wrote:For the subsilver2 style there are different instructions included. Check the contrib directory included in the package.
Also, 2 column layout only works for prosilver. That means, subsilver2 has only 2 options: default and new line.
Yes, that right!!!Galaxy21 wrote:You changed it in ACP and it keeps sticking at "default"?
SureGalaxy21 wrote:Did you run the SQL?
Does this mean, you forgot that?autinhyeu wrote:SureGalaxy21 wrote:Did you run the SQL?
Code: Select all
<input type=\"text\" name=\"config[$key]\" id=\"$key\" value=\"$value\" maxlength=\"30\" />";
}
Code: Select all
/**
* Subforum Display Options
*/
function subforum_display_options($value, $key = '')
{
$radio_ary = array(SUBFORUM_DISPLAY_DEFAULT => 'DEFAULT', SUBFORUM_DISPLAY_CLOUMN => 'COLUMN', SUBFORUM_DISPLAY_NEWROW => 'NEWROW');
return h_radio('config[subalbum_display]', $radio_ary, $value, $key);
}
instead:return h_radio('config[subforum_display]', $radio_ary, $value, $key);
Best regards!!!return h_radio('config[subalbum_display]', $radio_ary, $value, $key);
Code: Select all
<p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong>
<!-- IF forumrow.S_SUBFORUM_DISPLAY === '2' --><br />
<!-- BEGIN subforum -->
<a href="{forumrow.subforum.U_SUBFORUM}" class="subforum <!-- IF forumrow.subforum.S_UNREAD is odd -->unread<!-- ELSE -->read<!-- ENDIF -->">{forumrow.subforum.SUBFORUM_NAME}</a><br />
<!-- END subforum --></p>
<!-- ELSE -->
{forumrow.SUBFORUMS}</p>
<!-- ENDIF -->
Code: Select all
<p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong>
<!-- IF forumrow.S_SUBFORUM_DISPLAY === '1' --></p>
<table width="100%" cellpadding="0" cellspacing="0">
<!-- BEGIN subforum -->
<!-- IF forumrow.subforum.S_ROW_COUNT is odd --><td width="50%"><!-- ELSE --><tr valign="top"><td width="50%"><!-- ENDIF --><a href="{forumrow.subforum.U_SUBFORUM}" class="subforum <!-- IF forumrow.subforum.S_UNREAD is odd -->unread<!-- ELSE -->read<!-- ENDIF -->">{forumrow.subforum.SUBFORUM_NAME}</a><!-- IF forumrow.subforum.S_ROW_COUNT is odd --></td></tr><!-- ELSE --></td><!-- ENDIF -->
<!-- END subforum -->
<!-- IF forumrow.subforum.S_ROW_COUNT is even --><td> </td></tr><!-- ENDIF -->
</table>
<!-- ELSEIF forumrow.S_SUBFORUM_DISPLAY === '2' --><br />
<!-- BEGIN subforum -->
• <a href="{forumrow.subforum.U_SUBFORUM}" class="subforum <!-- IF forumrow.subforum.S_UNREAD is odd -->unread<!-- ELSE -->read<!-- ENDIF -->">{forumrow.subforum.SUBFORUM_NAME}</a><br />
<!-- END subforum --></p>
<!-- ELSE -->
{forumrow.SUBFORUMS}</p>
<!-- ENDIF -->