Jump to content

Question

Posted

Salut,

Am si eu urmatoarea problema: Am incercat sa fac ca forumurile si sub-forumurile sa fie afisate cu un + din acela gri in fata cand nu sunt postari noi si + verde cand exista o postare noua ( iar textul sa fie mai ingrosat), rezultatul a fost acesta:

- Asa se vad de pe pagina principala:

VoXSdih.png

- Asa se vad intr-o categorie numita "Serverele comunitatii":

d5D9d2s.png

Eu vreau sa fac sa fie si pe pagina principala si in categorii un singur + , gri la post-uri citite si verde la necitite, daca puteti sa ma ajutati.

Asta am incercat sa fac in forumRow:

			{{if $forum->hasChildren()}}
				<ul class="ipsDataItem_subList ipsList_inline {{if $forum->description}}withBorder{{endif}}">
					{{foreach $forum->children() as $subforum}}
                <li class="{{if \IPS\forums\Topic::containerUnread( $subforum )}}ipsDataItem_unread{{endif}}">
							<a href="{$subforum->url()}">{{if \IPS\forums\Topic::containerUnread( $subforum )}}<span class='ipsItemStatus ipsItemStatus_tiny {{if !\IPS\forums\Topic::containerUnread( $subforum ) && !$subforum->redirect_on}}ipsItemStatus_read{{endif}}'>{{foreach explode(',',\IPS\Theme::i()->settings['veilon_subforum_icon']) as $key => $icon}}
                              <img src="http://i.imgur.com/QE0dwAc.png" />
							{{endforeach}}</span>{{endif}}{{foreach explode(',',\IPS\Theme::i()->settings['veilon_subforum_icon']) as $key => $icon}}
                     <img src="http://i.imgur.com/ZUqoLRu.png" />
                              {{endforeach}}{$subforum->_title}</a>
                 </li>
					{{endforeach}}
				</ul>
			{{endif}}

 

1 answer to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.