PDA

View Full Version : Small class not given pageclass suffix (bug)


idigital
October 24th, 2004, 23:47
Well, didn't know where to post this, there's no 4.5.1 forum anymore and doesn't seem to be any bug forum either.

Anyway, was hacking away today and noticed that the small class is not given a pageclass_sfx, anywhere on the site.

Dunno if this has been fixed in 4.5.2 CVS or what, but if you do a search in com_content.html.php it's easy enough to fix.

Search for "small" and in every instance where you see this:

<span class="small">

Just replace it with this:

<span class="small<?php echo $params->get( 'pageclass_sfx' ); ?>">

There ya go.

Cheers,

Damian

stingrey
October 25th, 2004, 04:33
Fixed in CVS.

In future please post in the bug tracker as it is not garuanteed that we will always see such posts on the forum.

idigital
October 25th, 2004, 05:58
Well, I thought the community might like to be able to fix it if need be.

At a glance, there may have been other classes that also lack the pageclass_sfx, I'm not sure. Maybe when I'm done with this site launch in a week I'll have another look at it, unless I run into one in the process of this design.

Cheers,

Damian

stingrey
October 25th, 2004, 06:08
Well, I thought the community might like to be able to fix it if need be.
Understood and appreciated, in such a case could you post the topic and submit the bug.

Its far easier to know what bugs are outstanding if the bug tracker is used and when we update changelog we can reference fixes to reports.