By the way, you should also notice some significant performance
improvements using the HEAD version---let me know how it seems.
On 11/19/2013 10:33 AM, David Karger wrote:
Here's what happened. Your page has an exhibit "lens" that describes
how individual items are to be presented. The rule for lenses is that
they apply to (ie get used with) any exhibit element that contains the
lens. In your original exhibit, the lens was inside the view panel,
so that lens applied to anything inside the view panel---in
particular, it applied to all three of your views, including the tile
view. When you switched over to exhibit 3, you put the lens inside
the map-view tag. So now, that lens only gets used with the map
view. As a result, the tile view has no lens available, so it falls
back to displaying all properties generically.
To fix this, just move the lens back outside the map view.
In general, if you just have one lens that you want to get used in
every view that you create, then the right place to put it is at the
top-level of the page, outside any exhibit elements. Then it will get
used for everything you create later.
One other point: as you finish the conversion to exhibit version 3, I
recommend converting from exhibit 2 syntax for exhibit attributes
(ex:viewclass) to exhibit 3 syntax (data-ex-view-class). The old
version isn't really kosher for html5. We have a backwards
compatibility module that deals with the old tags, but you're better
off using the new.
On 11/15/2013 7:00 PM, Deb wrote:
I am switching an older Exhibit page to Exhibit v3 (thanks!).
I like the way the Details (Tile) page is displayed and styled in my
v2.2 page, but I cannot get it to display the same way in the v3
page. I am using the same css and json (valid) files for both pages.
OLDER v2,2 page:
http://www.oregongeology.org/mlrr/oilgas-logs.htm
NEW v3 page:
http://www.oregongeology.org/mlrr/oilgas-logs-Exhibit3.htm
On the v3 page the screen in Chrome looks like it starts with the
older boxed version of v2.2 styling with just the few fields, but
that is replaced by a display that shows all the fields and no
styling. This happens in my Mozilla, Chrome, and IE browsers.
What could I be doing wrong?
Thanks for your help.
Deb
--
You received this message because you are subscribed to the Google
Groups "SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "SIMILE
Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/groups/opt_out.