![]() |
![]() |
![]() |
|
![]() |
|||
![]() |
|||
![]() |
GoLive 6 Dynamic Content Samples | ||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||
Main View | Administration View | How it Works | ||||||
![]() |
||||||||
![]() |
|
A. Dynamic table of catalog sections. B. Link to display the products in a section. C. Link to redisplay the products in the current section. D. Product name and image. E. Product description. F. Product price. Content SourcesThe Catalog Item page closely resembles the Browse page. It uses the same two content sources, with the exception that the Products content source leaves off the Match Pattern. The user arrives at this page by clicking on a product thumbnail, so Show Details of Current Record automatically picks out the correct product. The Products content source uses custom SQL to compute the URL of the image to display:
This defines a computed field, LargeImage, that is constructed by concatenating the string "images/large/" with the contents of the ImageName field. Important note: there must not be any space between CONCAT and the ( character. TabsThe link to the Administration View uses Show Details of Current Record so that the user can click on it to edit the current product. A.The table of contents is the same as on the Browse page. B.The template row for the table of contents is the same as on the Browse page. See the Browse page for more details. C.Clicking on the section name redisplays the product thumbnails in the current section. The link works the same as the ones in the table of contents, except that the SectionName parameter is taken from the current product. See the description of the table of contents on the Browse page for more details. D.The product name and image are simple text and image bindings. Notice that there is no problem displaying the product name more than once. E.The product description is a simple text binding. Product descriptions can include arbitrary markup, so content authors can use HTML and CSS to format them. F.The product price uses the Format Currency text filter to display the price in whole dollars. |