How To Tile Review Records
|
|
« Review Foundry User Manual
|
Tutorial Table Of Contents
|
Obtain Review Foundry »
TILING CONFIGURATION VARIABLESThere are more configuration variables that deal with tiling than one might at first suspect. This is due to the fact that there are 3 main branches to format in the public pages, and there are several different components in each that might be tiled (latest reviews, featured items, and so on). I find that even I cannot remember which configuration variables do what half the time. That being the case, the creation of this tutorial became pretty much a necessity for those hoping to make use of the tiling options. If you decide to change any of the values associated with the configuration variables discussed on this page, you must also re-publish the CSS style sheets for Review Foundry, once you have saved the new configuration valies. The re-publishing of the style sheets is performed each time you save variables from the Configure > Skin Style / Colors control panel. Latest Reviews
To enable the appearance of latest reviews as a vertically-formatted side panel, just use a non-zero length for the list. To enable tiled latest reviews, use the following configuration: The second variable in the box above (with the _top suffix) specifies tiling on the topmost page of a category, team, or yellowpage branch. The next variable specifies tiling on lower pages (those with a specified category, team, or yellowpage). Note that in order to have tiled latest reviews you MUST select the compact format for presenting latest reviews (the detailed is a wide format that is not appropriate for tiling). When these configuration settings are selected, tiled latest reviews are available for all 3 branches. The last variable shown here controls the number of rows of latest review tiles.Next, we consider the available options to change the appearance of the tiles. These configuration variables affect all 3 branches and apply whether we are talking about latest reviews, featured things (items, members, or suppliers), or latest things: We can see here that the rounded corners option has been selected. In this case a small image is placed at each of the 4 corners of the tile. There are 2 alternative sets of images that might be used here, and the set that is selected depends solely on the value of the variable browse_tiled_border_width. If the border width is the thicker value of 2, the set of corner images with the thicker curved border is used. Otherwise the images with the thin curved border will be used. You will find more information about these corner images later in this tutorial. Because the number of tiles that are to be used in a row might need to differ, depending on whether the row appears on the top-most category, team, or yellowpages (as opposed to the pages these link to), there are 2 variables here that control the number of tiles per row for tiled latest reviews (likewise for tiled latest items, and so on). As of 2.04 it is also possible to place latest reviews on a per category/team/yellowpage basis. Currently these are the options, one for each of the 3 branches (in this case the tiled format must have also been selected for latest reviews). These variables are found, respectively, in the Category Item Layout Settings, Team Member Layout Settings, and Yellowpage Supplier Layout Settings sections: Another pair of important variables controlling the appearance of tiles are these 2: These 2 variables, controlling the physical size of tiles, and the spacing between them, should be carefully set. Likely you will need to experiment a little to get the optimal values. Too wide and a row of tiles will stretch beyond the expected boundaries of the page and upset the formatting of the entire page. Too small, and you will be left with excess white space on either side of your tiled rows. These 2 variables are generic and apply to ALL tiled records, regardless of the type of record, or where it appears on the public pages.
Scope
Of course, you wouldn't be reading this section if you didn't want to enable tiling for latest things, so here's the setup you are looking for: The second variable in the box above (with the _top suffix) specifies tiling on the topmost page of a category, team, or yellowpage branch. The next variable specifies tiling on lower pages (those with a specified category, team, or yellowpage). As of 2.04 it is also possible to place latest things on a per category/team/yellowpage basis. Currently these are the options, one for each of the 3 branches (in this case the tiled format must have also been selected for latest things). These variables are found, respectively, in the Category Item Layout Settings, Team Member Layout Settings, and Yellowpage Supplier Layout Settings sections:
Scope
Latest Members Joined
And here is the configuration to add latest members joined in the tiled format:
Scope
To enable tiling for featured things: The second variable in the box above (with the _top suffix) specifies tiling on the topmost page of a category, team, or yellowpage branch. The next variable specifies tiling on lower pages (those with a specified category, team, or yellowpage). As of 2.04 it is also possible to place featured things on a per category/team/yellowpage basis. Currently these are the options, one for each of the 3 branches (in this case the tiled format must have also been selected for featured things). These variables are found, respectively, in the Category Item Layout Settings, Team Member Layout Settings, and Yellowpage Supplier Layout Settings sections:
Scope
Top Rated ThingsOne popular request I have received is the option to display the top rated items, members, or suppliers from a given category, team, or yellowpage. These records are analogous to the featured things of the previous section in that they are formatted the same way, but instead of being ordered by the stickiness column, the records are ordered by the average rating, as determined by averaging the rating attributes for a given category, team, or yellowpage. Don't expect to see top rated things displayed on the topmost page of a given item, member, or yellowpage branch, where there is no specified category, team, or yellowpage. You'll have to visit a particular category, team, or yellowpage in order to see top rated things on display. Configuration variables for these top rated things are entirely analogous to the variables for i>featured things. If you do NOT want top rated items, members, or suppliers, to appear at all, use the following configuration values to disable these in all 3 branches: To enable tiling for top rated things: As mentioned before, and as of 2.04, top rated things appear exclusively on a per category/team/yellowpage basis. As for featured things, you are free to switch off top rated things. Currently these are the options, one for each of the 3 branches (in this case the tiled format must have also been selected for top rated things). These variables are found, respectively, in the Category Item Layout Settings, Team Member Layout Settings, and Yellowpage Supplier Layout Settings sections:
Scope
Things In ContainersIt is easy to imagine that there might be subject types for which it is preferrable to present the category, team, or yellowpage listings in tiled format rather than the standard vertical listing. For example, the team pages, when tiled present something of a facebook type presentation. The default setup is to present avatars here, but it is an easy adjustment to show member images instead. Likewise, any subject that revolves around an image may be suitable to the tiled format, where the thumbnailed image gives life to the tiles and utilizes the real estate of the page in a rather efficient manner. Here's an example where we look at Escher's work in the area of regular division of the plane, known as tessellation:
The configuration variables that control the tiling in each of the 3 container types--category, team, and yellowpage--are exactly analogous to one another and differ only in the container type and thing type that appears in the variable names. Therefore the options which control tiling in categories only will be spelled out in detail here. The configuration variables discussed here for categories are found in the Category Item Layout Settings section of the Configure > Build / Browse control panel. To disable tiling altogether in categories, use the following configuration: To switch it on, use something like the following, which selects tiling with 6 rows of tiles per page, 3 records to a row: Overriding The Default Tiles Per Row
Things Ordered AlphabeticallyIn the case of members, or suppliers, as opposed to items for which it is not available, an alphabetic listing is also possible. In this case, where members or suppliers are grouped by the first character of the name by which they are known, there is a specific configuration variable that specifies the number of alphabetically ordered records per row. These 2 extra variables (one for each of the 2 branches) are necessary because, for example, there may be more room to position records which are not part of any geographically based team or yellowpage (which might have to squeeze onto the page, to the right of the records, a Google Map which slides up and down the page). You might, therefore, wish to display more records per row on an alphabetically ordered page. The variables controlling the number of tiles per row for members and for suppliers are shown below: Things In Search ResultsJust as you can tiled records in categories, teams, and yellowpages, you can also elect to tile the records of an item, member, or supplier search. Separate variables control tiling for each of the 3 search types. Here are the configuration variables that pertain to tiling records obtained from an Item search: Note that to find these variables you need to pull up the Configure > Search control panel. The formatted records look almost identical to the corresponding tiled records seen when browsing categories, teams, or yellowpages. Next Section: TILING IN SSI CALLS Copyright © 2004 Random Mouse Software. All Rights Reserved. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||