Announcement link color
-
- Posts: 108
- Joined: Sun Nov 27, 2005 12:25 am
Announcement link color
Is there a way to make the link color for announcements different that regular posts, without going through too much trouble?
alphaPORTAL
phpBB3 Integration MOD:
Create Pages in phpBB3
Portal
Many Modules including Login, Welcome, Search, Top Posters, Online Now, Menu, Offsite Links, and more
phpBB3 Integration MOD:
Create Pages in phpBB3
Portal
Many Modules including Login, Welcome, Search, Top Posters, Online Now, Menu, Offsite Links, and more
Re: Announcement link color
Should be pretty easy with IF-statements:
1 For announcements, 0 for regular topics.
Code: Select all
<!-- IF topicrow.S_TOPIC_TYPE_SWITCH eq 1 -->
-
- Posts: 108
- Joined: Sun Nov 27, 2005 12:25 am
Re: Announcement link color
I have to put <!-- IF topicrow.S_TOPIC_TYPE_SWITCH eq 1 --> before it right? But what do I put after the code I add.
EDIT
Nevermind, I figured I put <!-- ENDIF --> from looking at the other code.
Hold on, It's not working. It doesn't do anything different. Heres what I changed
Was
Is Now
EDIT
Nevermind, I figured I put <!-- ENDIF --> from looking at the other code.
Hold on, It's not working. It doesn't do anything different. Heres what I changed
Was
Code: Select all
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
Code: Select all
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle"><!-- IF topicrow.S_TOPIC_TYPE_SWITCH eq 1 --><span style="color:#c00703"><!-- ENDIF -->{topicrow.TOPIC_TITLE}<!-- IF topicrow.S_TOPIC_TYPE_SWITCH eq 1 --></span><!-- ENDIF --></a>
alphaPORTAL
phpBB3 Integration MOD:
Create Pages in phpBB3
Portal
Many Modules including Login, Welcome, Search, Top Posters, Online Now, Menu, Offsite Links, and more
phpBB3 Integration MOD:
Create Pages in phpBB3
Portal
Many Modules including Login, Welcome, Search, Top Posters, Online Now, Menu, Offsite Links, and more
Re: Announcement link color
Well.. It does work.
Code: Select all
<!-- IF topicrow.S_TOPIC_TYPE_SWITCH eq 1 -->
bla
<!-- ELSE -->
bla
<!-- ENDIF -->
Re: Announcement link color
urggh.. spambot lol
Use This:
Use This:
Code: Select all
<!-- IF topicrow.S_TOPIC_TYPE_SWITCH eq 1 -->
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle" style="color: #c00703;">{topicrow.TOPIC_TITLE}</a>
<!-- ELSE -->
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
<!-- ENDIF -->
2 things i like about you hmm.. ill have to get back to you on that one
-
- Posts: 108
- Joined: Sun Nov 27, 2005 12:25 am
Re: Announcement link color
http://www.burningthunder.net/boards/vi ... 833115fafa" target="_blank
Doesn't show as red for announcements...
I'm sure I added the code right
Doesn't show as red for announcements...
I'm sure I added the code right
alphaPORTAL
phpBB3 Integration MOD:
Create Pages in phpBB3
Portal
Many Modules including Login, Welcome, Search, Top Posters, Online Now, Menu, Offsite Links, and more
phpBB3 Integration MOD:
Create Pages in phpBB3
Portal
Many Modules including Login, Welcome, Search, Top Posters, Online Now, Menu, Offsite Links, and more