Ok so when I try to add in a birthday table for the info center it shows up like this: http://i185.photobucket.com/albums/x20/magedesigns/misc/bday -ic.jpg
This is the code:Code:
- {if:birthdays}
- <table align="center" cellpadding="4" cellspacing="1" class="border" width="100%">
- <tr>
- <td class="title2" colspan="2">
- <font size="2">
- <img src="http://www.idirectory.x10.mx/images/favicon.gif"> <strong>Birthdays</strong>
- </font>
- </td>
- </tr>
- <tr>
- <td width="24px" class="window1">
- <img src="http://www.idirectory.x10.mx/images/forum/birthday.gif" align="middle">
- </td>
- <td class="window2">
- <font size="1">
- There are a total of {birthday_total} Birthdays<br />
- {foreach:birthdays}{member}{if:hidden} (Hidden){/if}{ifnot:foreach_last}, {/if}{/foreach}
- </font>
- </td>
- </tr>
- </table>
- <br />
- {/if}
But I do not see any errors. I'm not sure if this is a coding error, or a bug. But a bug is what came to mind.![]()
I think the {foreach:birthdays}{member}{if:hidden} (Hidden){/if}{ifnot:foreach_last}, {/if}{/foreach} is broken to be honest.![]()
I've never been able to put b-days and events in my info center because of something similar
I tried the code you provided on my test forum and got no issues. Which suggests the problems lies somewhere else in your info center template. Possibly this is embedded within another {if} or {foreach} statement which is causing the issue?
Can you provide the entire template or put it onto a test board I can look at?![]()
Oddly enough. . . it sorted it's self out. o.o
I took a picture, so I know I'm not crazy!![]()
http://dmtesting.vforums.co.uk/
I always add codes onto my testing forum, to make sure they work, and see what they do, before I officially add them to the main forum, I am adding it too.![]()