[Tutorial] Give your board3 portal blocks more icons
Posted: 20. February 2010 09:54
This tutorial is based on subsilver2 edits.
These board3 portals' blocks don't contain an icon next to their titles: Recent topics (recent.html), Latest news (news_compact.html), Latest polls (polls.html) and Who is online (whois_online.html). We're going to give them the icon!
1. Navigate to your host's (where you keep your root folder) root/style/YOUR_STYLE/template and open portal/block/recent.html.
2.1 FIND:
2.2 ADD AFTER:
3. FOR EXAMPLE:
Upload your portal's images to root/styles/NAME_OF_YOUR_STYLE/theme/images/portal/.
Open those recent.html, news_compact.html, polls.html and whois_online.html and always find the following code and always add that "ADD AFTER" code after:
Works like a dream on my board: CLICK TO WATCH
You can change the pixels of your icons (width, height) at anytime (you don't have to resize your icons via Paint or something else, this feature does it for you). Just widen or lengthen (you know what I mean, make it larger) them.
Regards and thanks, Anthies
These board3 portals' blocks don't contain an icon next to their titles: Recent topics (recent.html), Latest news (news_compact.html), Latest polls (polls.html) and Who is online (whois_online.html). We're going to give them the icon!
1. Navigate to your host's (where you keep your root folder) root/style/YOUR_STYLE/template and open portal/block/recent.html.
2.1 FIND:
Code: Select all
{$C_BLOCK_H_L}
Code: Select all
<!-- IF $S_BLOCK_ICON --><img src="{T_THEME_PATH}/images/portal/NAME_OF_YOUR_ICON" width="16" height="16" alt="" /> <!-- ENDIF -->
Code: Select all
<!-- IF $S_BLOCK_ICON --><img src="{T_THEME_PATH}/images/portal/portal_recent_topics.png" width="16" height="16" alt="" /> <!-- ENDIF -->
Open those recent.html, news_compact.html, polls.html and whois_online.html and always find the following code and always add that "ADD AFTER" code after:
Code: Select all
{$C_BLOCK_H_L}
You can change the pixels of your icons (width, height) at anytime (you don't have to resize your icons via Paint or something else, this feature does it for you). Just widen or lengthen (you know what I mean, make it larger) them.
Regards and thanks, Anthies