"how to make the facet not to display the value count"

57 views
Skip to first unread message

shireesha06

unread,
Apr 16, 2009, 1:57:18 PM4/16/09
to SIMILE Widgets
Hi does any one know like how to make a list facet that should not
display the facet value count in the left side of each value in the
facet.




thanks,
Shireesha.

David Huynh

unread,
Apr 22, 2009, 1:47:28 AM4/22/09
to simile-...@googlegroups.com
shireesha06 wrote:
> Hi does any one know like how to make a list facet that should not
> display the facet value count in the left side of each value in the
> facet.
>
You can use a CSS rule to remove them:

div.exhibit-facet-value-count {
display: none;
}

David

kimeee

unread,
Nov 6, 2009, 9:58:05 AM11/6/09
to simile-...@googlegroups.com
I am trying to fix a similar problem, but instead of the facet values,
I'm trying to hide the items value from the main view.

I created a thumb view for our faculty directory but we don't want the
items value count to show.

I added these css rules to my page, but it doesn't work in IE7.

/* // to hide Items filtered from 125 originally (Reset All Filters) //
*/
               .exhibit-collectionView-
group-count { display: none; }
       .exhibit-views-unplottableMessage  { display: none; }
       .exhibit-views-header { display: none; }
       .exhibit-collectionView-header { display: none; }
               div.exhibit-toolboxWidget-popup { display: none; }
               div.exhibit-facet-value-count { display: none; }
               div.exhibit-color-legend { display: none; font-size:12px;}

It gives the 'loading' image but then shows all (cloud facet and other
facets) but the actual thumbnail view.

What is it about IE that makes this css not work?  How can I get it so
that not displaying the value count in IE at least displays the view?

Here's the link i'm referring to http://web.mit.edu/physics/test/people/faculty/index.html
(the # in question is the 119 items listed directly above the start of
the thumbnail view)

Thanks for any help.

Kimeee


On Thu, Nov 5, 2009 at 11:17 PM, David Huynh <dfh...@alum.mit.edu> wrote:
Kimeee,

Could you please email the mailing list (simile-...@googlegroups.com)? I can't find time these days to answer individual support question.

Best,

David

kimeee wrote:
I am trying to fix a similar problem, but instead of the facet values,
I'm trying to hide the items value from the main view.

I created a thumb view for our faculty directory but we don't want the
items value count to show.

I added these css rules to my page, but it doesn't work in IE7.

/* // to hide Items filtered from 125 originally (Reset All Filters) //
*/
               .exhibit-collectionView-group-count { display: none; }
       .exhibit-views-unplottableMessage  { display: none; }
       .exhibit-views-header { display: none; }
       .exhibit-collectionView-header { display: none; }
               div.exhibit-toolboxWidget-popup { display: none; }
               div.exhibit-facet-value-count { display: none; }
               div.exhibit-color-legend { display: none; font-size:12px;}

It gives the 'loading' image but then shows all (cloud facet and other
facets) but the actual thumbnail view.

What is it about IE that makes this css not work?  How can I get it so
that not displaying the value count in IE at least displays the view?

Here's the link i'm referring to http://web.mit.edu/physics/test/people/faculty/index.html
(the # in question is the 119 items listed directly above the start of
the thumbnail view)

Thanks for any help.

Kimeee


On Apr 22, 12:47 am, David Huynh <dfhu...@alum.mit.edu> wrote:
 
shireesha06 wrote:
   
Hi does any one know like how to make a list facet that should not
display the facet valuecountin the left side of each value in the
facet.
     
You can use a CSS rule to remove them:

   div.exhibit-facet-value-count{
      display: none;
   }

David
   




--

kimeee.

David Karger

unread,
Nov 6, 2009, 10:14:12 AM11/6/09
to simile-...@googlegroups.com
Kimeee, no need to play with css for this. Just modify your
<div ex:role="view" ex:viewclass="Thumbnail">
and add
<div ex:role="view" ex:viewclass="Thumbnail" ex:showSummary="false">

to make the item counts go away.

kimeee wrote:
> I am trying to fix a similar problem, but instead of the facet values,
> I'm trying to hide the items value from the main view.
>
> I created a thumb view for our faculty directory but we don't want the
> items value count to show.
>
> I added these css rules to my page, but it doesn't work in IE7.
>
> /* // to hide Items filtered from 125 originally (Reset All Filters) //
> */
> .exhibit-collectionView-
>
> group-count { display: none; }
> .exhibit-views-unplottableMessage { display: none; }
> .exhibit-views-header { display: none; }
> .exhibit-collectionView-header { display: none; }
> div.exhibit-toolboxWidget-popup { display: none; }
> div.exhibit-facet-value-count { display: none; }
> div.exhibit-color-legend { display: none;
> font-size:12px;}
>
> It gives the 'loading' image but then shows all (cloud facet and other
> facets) but the actual thumbnail view.
>
> What is it about IE that makes this css not work? How can I get it so
> that not displaying the value count in IE at least displays the view?
>
> Here's the link i'm referring to
> http://web.mit.edu/physics/test/people/faculty/index.html
> (the # in question is the 119 items listed directly above the start of
> the thumbnail view)
>
> Thanks for any help.
>
> Kimeee
>
>
>
> On Thu, Nov 5, 2009 at 11:17 PM, David Huynh <dfh...@alum.mit.edu
> <mailto:dfh...@alum.mit.edu>> wrote:
>
> Kimeee,
>
> Could you please email the mailing list
> (simile-...@googlegroups.com
> <mailto:simile-...@googlegroups.com>)? I can't find time these

kimeee

unread,
Nov 6, 2009, 4:34:18 PM11/6/09
to SIMILE Widgets
Sorry, think I replied just to David and not to group.

The fix above works for IE but not for Firefox. The line "sorted by:
labels; then by... • grouped as sorted grouped as sorted" still
displays.

Why is that? And is there a way to not show this in Firefox without
taking out the whole header?

I tried using div .exhibit-collectionView-header-sortControls
{display:none;} but that doesn't work.

Thanks again for any assistance.

Kimeee

David Huynh

unread,
Nov 6, 2009, 4:41:35 PM11/6/09
to simile-...@googlegroups.com
I'm not seeing that header in Firefox 3.5, so it does work. Maybe your
Firefox is showing an old cached version? Try shift-reload.

David

kimeee

unread,
Nov 9, 2009, 11:39:33 AM11/9/09
to SIMILE Widgets
David

I'm using FF 3.5.5 and the summary still appears, but IE still doesn't
show.

I think it was because in the css i had div.exhibit-collectionView-
header {visibility:collapse;} so it didn't show at all in IE but it
showed as a blank spot in FF.

With the above css it didn't show in FF but the blank spot was
annoying and if I used {display:none} instead it would work in FF but
not in IE.

Any more advice?

ps: here is the link to the page I'm working on:
http://web.mit.edu/physics/test/people/faculty/index.html
Reply all
Reply to author
Forward
0 new messages