I am having issues trying to display a modified version of the FORUMDISPLAY style in my custom displayresources style. I then defined the variable named $displayresources. What I am trying to achieve is a custom Forumdisplay for a particular forumid for a particular forum that matches the condition if forumids equaled x.
I have defined the custom template in a variable as below using the
Global_Start hook:
Code:
eval('$displayresources = "' . fetch_template('displayresources') . '";');
I proceeded using the condition:
PHP Code:
<if condition="$forumid == 35">
$GLOBALS[displayresources]
<else />
**** Default FORUMDISPLAY Coding ****
</if>
$footer
etc....
*Check the displayresources.txt attachment for the "displayresources" custom template.
*Check the FORUMDISPLAY.txt attachment for the FORUMDISPLAY modification.
So to sum things up, I basically took the forum content from forumdisplay and pasted it in my displayresources template, but it doesnt show for some reason.
For further display, you can see the custom forum display not properly showing in this
link.
Make sure the skin is set to WC3 Night Elf.
Someone please help me.