News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Category headers show when logged in; don't when logged out

Started by Errapolis, August 26, 2011, 11:49:53 AM

Previous topic - Next topic

Errapolis

Hi,

I was testing my new theme - based on Curve - out and I've noticed the category headers are in place when logged into the forum, but there aren't any when logged out.

Here is a screenshot to show what I mean:



I had been altering the code for the category headers earlier in the css but only to change the positioning of the background images.

When I use firebug to inspect the element there isn't even text in the code - in the h3 tags where it should be, there's nothing.

There is headings on the info centre and on the simple portal boxes though.

Can anyone shed some light on this?  Would be greatly appreciated.

Errapolis


Errapolis

Marking this as solved.  Just to let anyone know in case it happens to them, I was missing a line from boardindex.template.php - I must have deleted it at some point.

Here it is in case it helps anyone else:

echo '
<a class="unreadlink" href="', $scripturl, '?action=unread;c=', $category['id'], '">', $txt['view_unread_category'], '</a>';

Advertisement: