Hey,
I am currently trying to do the following things to the portal:
-Make it so stickies aren't included in the announcements
-Make Avatars smaller in announcements
-Remove the nav from the top of the page.
Does anybody know how to do any of these things? Any help is appreciated.
(2012-06-05, 02:00 PM)BamBam Wrote: [ -> ]-Make it so stickies aren't included in the announcements
-Make Avatars smaller in announcements
-Remove the nav from the top of the page.
For not including sticky threads on portal open portal.php and in line
462 find
WHERE t.fid IN (".$announcementsfids.") AND t.visible='1' AND t.closed NOT LIKE 'moved|%' AND t.firstpost=p.pid
and replace it with
WHERE t.fid IN (".$announcementsfids.") AND t.sticky='0' AND t.visible='1' AND t.closed NOT LIKE 'moved|%' AND t.firstpost=p.pid
Sticky threads won't show on portal page (as announcements).
For avatar on portal go to portal templates ( ACP -> Templates and styles -> templates -> <your theme template set>) and open portal_announcement and find
{$avatar}
and wrap it in span tag with class portal_avatar
<span class="portal_avatar">{$avatar}</span>
In global.css of your theme add
.portal_avatar img {
height:40px;
width.40px;
}
(replace 40px with your values in px).
For nav i assume that you are talking about breadcrumb navigation (?).
Open portal template and in head tag paste
<style type="text/css">
.navigation { display:none; }
</style>