Post by Boy_Wonder on Feb 8, 2017 21:12:27 GMT -8
forum.veskelregion.com/
Farleep is exactly the style I want for the other categories - however how I have it set up is hiding the other categories... how do I make it display all categories but split into 'groups' with a surrounder around them
Farleep is exactly the style I want for the other categories - however how I have it set up is hiding the other categories... how do I make it display all categories but split into 'groups' with a surrounder around them
{if $[category.id] == "4" || $[category.id] == "5" || $[category.id] == "6" || $[category.id] == "7" || $[category.id] == "8" || $[category.id] == "9" || $[category.id] == "10"}
<div class="category-surrounder">
<div class="category-title-surrounder"><h2>Farleep Island</h2>
</div>
<div class="category-content">
<p class="flavourtext">Welcome to Farleep Island! This is where most trainers start their journey, and it certainly is an island of two halves. Most the towns are filled with peasants, that are ridden roughshod over by the lorded elite down in Saker Keep. Each month there is the annual hunt from Saker Keep that flushes out and injures many pokemon as the elite look for new 'epic' pokemon to capture and attempt to force to their will. This poverty among the common folk however has meant that many have come to believe in a myth that some time the class may change. The low will become high, and the high will be cast down. But regardless - there is always a party on in Saker Keep, if you can get in that is. The towns have their own charms though, festivals happen four times a year to celebrate each solstice.
</p>
{foreach $[category]}
{if $[category.id] == "4" || $[category.id] == "5" || $[category.id] == "6" || $[category.id] == "7" || $[category.id] == "8" || $[category.id] == "9" || $[category.id] == "10"}
<div class="category-container">
<div class="title-area $[category.id]">$[category.display_name]</div>
<div class="board-area">
<div class="board-container">
$[category.board_list]
</div>
<div class="category-image">
{if $[category.id] == "4" }<img src="http://storage.proboards.com/6683759/images/jDf4YOWHpyHGC8nNX21D.png">
{elseif $[category.id] == "5" }<img src="http://storage.proboards.com/6683759/images/3lPUzO9ujNYTnJQ_H_qs.png">
{elseif $[category.id] == "6" }<img src="http://storage.proboards.com/6683759/images/NtikCVfAr6Bx2Asd5FEB.png">
{elseif $[category.id] == "7" }<img src="http://storage.proboards.com/6683759/images/Vnj2pN6ihsDoHeByW_yj.png">
{elseif $[category.id] == "8" }<img src="http://storage.proboards.com/6683759/images/e9MZG2EmQES22l9oKhqP.png">
{elseif $[category.id] == "9" }<img src="http://storage.proboards.com/6683759/images/e9MZG2EmQES22l9oKhqP.png">
{elseif $[category.id] == "10" }<img src="http://storage.proboards.com/6683759/images/bhCMtIDqiUBMZDE4r40Q.png">
{else}<img src="http://storage.proboards.com/6683759/images/Vnj2pN6ihsDoHeByW_yj.png">{/if}
</div>
<div style="clear: both;"></div>
</div>
</div>
{/if}
{/foreach}
</div>
</div>
{else if $[category.id] == "3"|| $[category.id] == "2" || $[category.id] == "1"}
<div class="category-surrounder">
<div class="category-title-surrounder"><h2>OOC Area</h2>
</div>
<div class="category-content">
<p class="flavourtext">Welcome to the OOC Area! This is a great place to hang out and meet new people! Have fun!
</p>
{foreach $[category]}
<div class="category-container">
<div class="title-area $[category.id]">$[category.display_name]</div>
<div class="board-area">
<div class="board-container">
$[category.board_list]
</div>
<div class="category-image">
<img src="http://storage.proboards.com/6683759/images/Vnj2pN6ihsDoHeByW_yj.png">
</div>
<div style="clear: both;"></div>
</div>
</div>
{/foreach}
</div>
</div>
{/if}