Site Studio includes numerous sample fragments that you can begin using right away without knowing the code that was used to create them. You can use the sample fragments as they are, edit their source code, or create fragments based on existing ones. Starting off with the sample fragments is a great way to learn the structure and the practical use of a fragment.
Many of the sample fragments include parameter that you can use to customize each fragment when you add it to your page template.
The sample fragments are grouped into four categories in the Toolbox. A description of each fragment, along with its available parameters, follows:
These are the navigation-related fragments:
Adds navigational links that represent a hierarchical path, also called a breadcrumb. Breadcrumbs are frequently placed at the top or the bottom of a web page, and they help users orient themselves on a web site.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssClassName: Specifies a CSS class name.
ssSeparator: Text used to separate the links. The default is ">".
Adds a navigation menu that emulates a hierarchical menu bar, similar to that of a Windows-based application. (This fragment uses DHTML.)
ssShowHome: Boolean flag that specifies whether to display a link to the home page. The default is "true."
Adds a web site login button and a login script that illustrates how you can take users from a public site to a secure site based on their login credentials.
ssButtonText: The text for the "login" button. The default is "Login."
ssFocusColor: Changes the color of the text when the link is selected.
Adds an image that serves as a hyperlink to the home page of the web site.
ssLogo: Specifies the URL of the graphic to use in the content server. If this setting is left blank, a placeholder image called "logo.gif" from the fragment assets directory is used.
ssWidth: The width of the image (in pixels). If left blank, no width attribute is used.
ssHeight: The height of the image (in pixels). If left blank, no height attribute is used.
Adds a top navigation bar that can be placed anywhere on the page. This fragment can display a customized range of levels.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
ssSeparator: Text used to separate the parts of the bar. Default is "|".
ssShowHome: Boolean flag that specifies whether to display a link to the home page as part of the top level navigation. The default is "true." (The home page is actually located in the root of the web site, essentially above the "top" level, but it is perceived as a sibling.)
ssStartLevel: The display level to start displaying the menu.
ssNumLevels: The number of (section) levels to display.
The Nav Plain Horizontal fragment offers a simpler version of this menu.
Adds a side navigation bar that can go anywhere on the page template, but is generally placed on the left side where it indents from left to right. This fragment can display a customized range of levels (unlike the Nav Plain Vertical fragment, which opens only the second-level). It opens at the current focus level, so if your site does not have the sub-level sections that you specify in this fragment, then nothing opens.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
ssShowHome: Boolean flag that specifies whether to display a link to the home page as part of the top-level navigation. The default is "false."
ssStartLevel: The display level to start displaying the menu.
ssNumLevels: The number of (section) levels to display.
The Nav Plain Vertical fragment offers a simpler version of this menu.
Adds a top navigation bar that can be placed anywhere on the page. This fragment opens only the top level of your site navigation; that is, the sections in the root of the site.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
ssSeparator: Text used to separate the parts of the bar. Default is "|".
ssShowHome: Boolean flag that specifies whether to display a link to the home page. The default is "true." (The home page is actually located in the root of the web site, above the "top" level, but it may be perceived as a sibling here.)
The Nav Multi Horizontal fragment offers a more complex version of this menu.
Adds a side navigation bar that can go anywhere on the page template, but is generally placed on the left side where it indents from left to right. This fragment opens only the second level of the site navigation, so if your site has no second-level sections, nothing opens. The site hierarchy opens in its expanded state.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
The Nav Multi Vertical fragment offers a more complex version of this menu.
Adds a tabular style navigation bar that opens up to two levels of navigation. The tabs use individual images with rendered text (DHTML is not used in this fragment). You can choose a different theme, using different images, if you like.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
ssShowHome: Boolean flag that specifies whether to display a link to the home page. The default is "true."
ssShowNext: Boolean flag that specifies whether to display the second level of the navigation. The default is "false." If enabled, the second level of navigation opens below the tabs as text links, much like the Nav Plain Horizontal fragment.
ssTheme: Specifies the name of the theme. Specifically, it references a theme directory in the assets of this fragment.
Adds a top-level navigation that can be split onto two lines, where the top line is given greater emphasis.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
ssShowHome: Boolean flag that specifies whether to display a link to the home page. The default is "false."
ssLineWrap: Specifies to break the display after the top-level heading. This is an integer value that defaults to 4. The Home link (if used) is not factored into this equation.
Adds a search box to the page template, using an HTML form to submit the search keywords. The search box must link to another page that executes the search and display the results.
ssResultsPage: Specifies the page template that opens the search results (see the Search Result Plain fragment).
ssButtonText: The text for the "search" button, defaults to "Search."
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
This fragment is intended for use with the Search Result Plain fragment or a similar, custom-built page that performs the search and display the results.
Adds a search results area to the page template. This fragment is designed for use with the Search Box Plain fragment. It takes a URL parameter "ssUserText" supplied by the search box. It combines that value with a restricting clause supplied as a parameter to this fragment. It executes the search and opens a batch of results as a paged list (instead of the more… button used in the Search Result Plain fragment) if needed.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssClassName: Specifies a CSS class name.
ssQueryText: This is used as a query restriction clause. It is combined with the ssUserText value received from the search box. If both components of the query are specified, the final query becomes: "(ssQueryText) AND (ssUserText)".
If combined also with ssLimitScope, the query becomes:
"(ssQueryText) AND (ssUserText) AND (ssLimitScope)"
If any component is blank/false, it is excluded from assembly.
ssLimitScope: Limits the scope of a search to within a web site.
ssSortField: The name of the metadata field to sort the results. The default is "dInDate".
ssSortOrder: The order to sort the results. Default is "desc".
ssResultCount: The number of results to show per page. The default is 25.
ssDisplayField: The name of the metadata field to be used to form the "label" of the link in the result.
ssTargetNodeID: Forces the target of a link so the contents display at a particular node, in the replaceable region of a secondary page. This is typically used for sharing content, where you include the same content item in multiple web sites.
This fragment should be added to a section in your site hierarchy that is not included in your site navigation. It creates a placeholder page for the search results.
Adds a search results area to the page template. This fragment is designed for use with the Search Box Plain fragment. It takes a url parameter ssUserText supplied by the search box. It combines that value with a restricting clause supplied as a parameter to this fragment. It executes the search and opens a batch of results with a more… button if needed.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssClassName: Specifies a CSS class name.
ssQueryText: This is used as a query restriction clause. It is combined with the ssUserText value received from the search box. If both components of the query are specified, the final query becomes: "(ssQueryText) AND (ssUserText)".
If combined also with ssLimitScope, the query becomes:
"(ssQueryText) AND (ssUserText) AND (ssLimitScope)"
If any component is blank/false, it is excluded from assembly.
ssLimitScope: Limits the scope of a search to within a web site.
ssSortField: The name of the metadata field to sort the results. The default is "dInDate".
ssSortOrder: The order to sort the results. Default is "desc".
ssResultCount: The number of results to show per page. The default is 25.
ssDisplayField: The name of the metadata field to be used to form the "label" of the link in the result.
ssTargetNodeID: Forces the target of a link so the contents display at a particular node, in the replaceable region of a secondary page. This is typically used for sharing content, where you include the same content item in multiple web sites.
This fragment should be added to a section in your site hierarchy that is not included in your site navigation. It creates a placeholder page for the search results.
Adds a site map that shows every section on the web site and opens it in a hierarchical fashion. The hierarchy is shown in its expanded state. This type of navigation can be especially useful as a navigation aid for visitors looking for information in a hurry.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
ssShowHome: Boolean flag that specifies whether to display a link to the home page. The default is "false."
ssShowFocus: Boolean flag that specifies whether to highlight the focus point, or current location in the site hierarchy. The default is "false."
Adds an expandable "tree view" of the complete site hierarchy. The tree view auto-expands to show the current location in the site hierarchy. You can then browse to other sections from there. (This fragment uses DHTML.)
ssTheme: Specifies the name of the theme. Specifically, it references a theme directory in the assets of the fragment. The default is "explorer1."
ssShowHome: Boolean flag that specifies whether to display a link to the home page. The default is "true."
The icons in the hierarchy use images stored in the assets of this fragment. You can choose a different theme, using different images, if you like.
Adds a navigation menu that emulates a hierarchical menu bar that opens the complete site hierarchy. (This fragment uses DHTML.)
ssShowHome: Boolean flag that specifies whether to display a link to the home page. The default is "true."
Adds navigational links that represent a hierarchical path, also called a breadcrumb. Breadcrumbs are frequently placed at the top or the bottom of a web page, and they help users orient themselves on a web site.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssClassName: Specifies a CSS class name.
ssSeparator: Text used to separate the links. The default is ">".
This fragment is designed for ASP pages.
Adds navigational links that represent a hierarchical path. This fragment is very similar to the ASP Bread Crumb Plain fragment: the difference being this one uses server-side script.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssClassName: Specifies a CSS class name.
ssSeparator: Text used to separate the links. The default is ">".
This fragment is designed for ASP pages.
Adds a navigation menu that emulates a hierarchical menu bar, similar to that of a Windows-based application. (This fragment uses DHTML.)
ssShowHome: Boolean flag that specifies whether to display a link to the home page. The default is "true."
This fragment is designed for ASP pages.
Adds a top navigation bar that can be placed anywhere on the page. This fragment can display a customized range of levels.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
ssSeparator: Text used to separate the parts of the bar. Default is "|".
ssShowHome: Boolean flag that specifies whether to display a link to the home page as part of the top level navigation. The default is "true." (The home page is actually located in the root of the web site, essentially above the "top" level, but it is perceived as a sibling.)
ssStartLevel: The display level to start displaying the menu.
ssNumLevels: The number of (section) levels to display.
The ASP Nav Plain Horizontal fragment offers a simpler version of this menu.
This fragment is designed for ASP pages.
Adds a side navigation bar that can go anywhere on the page template, but is generally placed on the left side where it indents from left to right. This fragment can display a customized range of levels (unlike the Nav Plain Vertical fragment, which opens only the second-level). It opens at the current focus level, so if your site does not have the sub-level sections that you specify in this fragment, then nothing opens.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
ssShowHome: Boolean flag that specifies whether to display a link to the home page as part of the top-level navigation. The default is "false."
ssStartLevel: The display level to start displaying the menu.
ssNumLevels: The number of (section) levels to display.
This fragment is designed for ASP pages.
Adds a search box to the page template, using an HTML form to submit the search keywords. The search box must link to another page that executes the search and display the results.
ssResultsPage: Specifies the page template that opens the search results (see the ASP Search Result Plain fragment).
ssButtonText: The text for the "search" button, defaults to "Search."
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
This fragment is intended for use with the ASP Search Result Plain fragment or a similar, custom-built page that performs the search and display the results.
This fragment is designed for ASP pages.
Adds a search box to the page template. The search box must link to another page that executes the search and display the results.This fragment is very similar to the ASP Search Box Plain fragment: the difference being this one uses server-side script.
ssResultsPage: Specifies the page template that opens the search results (see the Search Result Plain fragment).
ssButtonText: The text for the "search" button, defaults to "Search."
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
This fragment is intended for use with the ASP Search Result Plain fragment or a similar, custom-built page that performs the search and display the results.
This fragment is designed for ASP pages.
Adds a search results area to the page template. This fragment is designed for use with the ASP Search Box Plain fragment. It takes a url parameter ssUserText supplied by the search box. It combines that value with a restricting clause supplied as a parameter to this fragment. It executes the search and opens a batch of results with a more… button if needed.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssClassName: Specifies a CSS class name.
ssQueryText: This is used as a query restriction clause. It is combined with the ssUserText value received from the search box. If both components of the query are specified, the final query becomes: "(ssQueryText) AND (ssUserText)".
If combined also with ssLimitScope, the query becomes:
"(ssQueryText) AND (ssUserText) AND (ssLimitScope)"
If any component is blank/false, it is excluded from assembly.
ssLimitScope: Limits the scope of a search to within a web site.
ssSortField: The name of the metadata field to sort the results. The default is "dInDate".
ssSortOrder: The order to sort the results. Default is "desc".
ssResultCount: The number of results to show per page. The default is 25.
ssDisplayField: The name of the metadata field to be used to form the "label" of the link in the result.
ssTargetNodeID: Forces the target of a link so the contents display at a particular node, in the replaceable region of a secondary page. This is typically used for sharing content, where you include the same content item in multiple web sites.
This fragment should be added to a section in your site hierarchy that is not included in your site navigation. It creates a placeholder page for the search results.
This fragment is designed for ASP pages.
Adds a site map that shows every section on the web site and opens it in a hierarchical fashion. The hierarchy is shown in its expanded state. This type of navigation can be especially useful as a navigation aid for visitors looking for information in a hurry.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
ssShowHome: Boolean flag that specifies whether to display a link to the home page. The default is "false."
ssShowFocus: Boolean flag that specifies whether to highlight the focus point, or current location in the site hierarchy. The default is "false."
This fragment is designed for ASP pages.
A sample navigation that shows how to access custom section properties using client-side script. This sample provides only top-level links for the hierarchy, and does not link to child sections. Each link can be customized.
This adds customizable navigation options so you can tailor the site navigation display. For example, you can display different colors for each section, replace the text that displays, or replace text with an image.
This assumes the existence of the following four custom section properties:
Name: cspNavInclude
Type: boolean
Description: This shows an example of how to override the default "Include Section in Navigation" behavior. True or false value, to decide if this section should be shown in navigation.
Name: cspNavLabel
Type: Text
Description: An optional label to override the default behavior of displaying the section name in the navigation presentation.
Name: cspNavImage
Type: managedurl
Description: An optional url of an image file to be used in the navigation, instead of the text label.
Name: cspNavColor
Type: Color
Description: An optional override to specify the lead color of the left-hand table cell in the navigation fragment for each section.
Note:
When using CSP (custom section property) fragments, you must define the properties, and then set the values for each custom section property in every section that contains the fragment.A sample navigation that determines how to access custom section properties using server-side script. This sample provides only top-level links for the hierarchy, and does not link to child sections. Each link can be customized.
This adds customizable navigation options so you can tailor the site navigation display. For example, you can display different colors for each section, replace the text that displays, or replace text with an image.
Same as CSP Sample Navigation (client). For more information, see Section C.1.26, "CSP Sample Navigation (client)."
Note:
When using CSP (custom section property) fragments, you must define the properties, and then set the values for each custom section property in every section that contains the fragment.Adds an image that serves as a hyperlink to the home page of the web site.
ssLogo: Specifies the URL of the graphic to use in the content server. If this setting is left blank, a placeholder image called "logo.gif" from the fragment assets directory is used.
ssWidth: The width of the image (in pixels). If left blank, no width attribute is used.
ssHeight: The height of the image (in pixels). If left blank, no height attribute is used.
This fragment is designed for JSP page templates.
Adds a top navigation bar that can be placed anywhere on the page. This fragment opens only the top level of your site navigation; that is, the sections in the root of the site.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
ssSeparator: Text used to separate the parts of the bar. Default is "|".
ssShowHome: Boolean flag that specifies whether to display a link to the home page. The default is "true." (The home page is actually located in the root of the web site, above the "top" level, but it may be perceived as a sibling here.)
This fragment is designed for JSP page templates.
Adds a side navigation bar that can go anywhere on the page template, but is generally placed on the left side where it indents from left to right. This fragment opens only the second-level of the site navigation, so if your site has no second-level sections then nothing opens. The site hierarchy opens in its expanded state.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
This fragment is designed for JSP page templates.
Adds a search box to the page template. The search box must link to another page that executes the search and opens the results.
ssResultsPage: Specifies the page template that opens the search results (see the Search Result Plain fragment).
ssButtonText: The text for the "search" button, defaults to "Search."
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
This fragment is intended for use with the JSP Search Result Plain fragment or a similar, custom-built page that performs the search and opens the results.
This fragment is designed for JSP page templates.
Adds a search results area to the page template. This fragment is designed for use with the Search Box Plain fragment. It takes a url parameter ssUserText supplied by the search box. It combines that value with a restricting clause supplied as a parameter to this fragment. It executes the search and opens a batch of results as a paged list (instead of the more… button used in the Search Result Plain fragment) if needed.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssClassName: Specifies a CSS class name.
ssQueryText: This is used as a query restriction clause. It is combined with the ssUserText value received from the search box. If both components of the query are specified, the final query becomes:
"(ssQueryText) AND (ssUserText)"
If combined also with ssLimitScope, the query becomes:
"(ssQueryText) AND (ssUserText) AND (ssLimitScope)"
If any component is blank/false, it is excluded from assembly.
ssLimitScope: Limits the scope of a search to within a web site.
ssSortField: The name of the metadata field to sort the results. The default is "dInDate".
ssSortOrder: The order to sort the results. Default is "desc".
ssResultCount: The number of results to show per page. The default is 25.
ssDisplayField: The name of the metadata field to be used to form the "label" of the link in the result.
ssTargetNodeID: Forces the target of a link so the contents display at a particular node, in the replaceable region of a secondary page. This is typically used for sharing content, where you include the same content item in multiple web sites.
This fragment should be added to a section in your site hierarchy that is not included in your site navigation. It creates a placeholder page for the search results.
This fragment is designed for JSP page templates.
Adds a site map that shows every section on the web site and opens it in a hierarchical fashion. The hierarchy is shown in its expanded state. This type of navigation can be especially useful as a navigation aid for visitors looking for information in a hurry.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
ssShowHome: Boolean flag that specifies whether to display a link to the home page. The default is "false."
ssShowFocus: Boolean flag that specifies whether to highlight the focus point, or current location in the site hierarchy. The default is "false."
This fragment is designed for JSP page templates.
Adds navigational links that represent a hierarchical path, also called a breadcrumb. Breadcrumbs are frequently placed at the top or the bottom of a web page, and they help users orient themselves on a web site. This fragment is very similar to the Breadcrumb Plain fragment: the difference being this one uses Idoc Script and relies heavily on service calls in the content server.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssClassName: Specifies a CSS class name.
ssSeparator: Text used to separate the links. The default is ">".
Adds an image that serves as a hyperlink to the home page of the web site. This fragment is very similar to the Nav Home Logo fragment: the difference being this one uses Idoc Script and relies heavily on service calls in the content server.
ssLogo: Specifies the URL of the graphic to use in the content server. If this setting is left blank, a placeholder image called "logo.gif" from the fragment assets directory is used.
ssWidth: The width of the image (in pixels). If left blank, no width attribute is used.
ssHeight: The height of the image (in pixels). If left blank, no height attribute is used.
Adds a search box to the page template, using an HTML form to submit the search keywords. The search box must link to another page that executes the search and opens the results. This fragment is very similar to the Search Box Plain fragment: the difference being this one uses Idoc Script and relies heavily on service calls in the content server.
ssResultsPage: Specifies the page template that opens the search results (see the Search Result Plain fragment).
ssButtonText: The text for the "search" button, defaults to "Search."
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
This fragment is intended for use with the IDOC Search Result Plain fragment or a similar, custom-built page that performs the search and opens the results.
Adds navigational links that represent a hierarchical path. This fragment is very similar to the Breadcrumb Plain fragment: the difference being this one uses Idoc Script and uses values from a result set. Compare IDOC Breadcrumb Plain.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssClassName: Specifies a CSS class name.
ssSeparator: Text used to separate the links. The default is ">".
Adds a top navigation bar that can be placed anywhere on the page. This fragment is very similar to the Nav Multi Horizontal fragment: the difference being this one uses Idoc Script and uses values from a result set. Compare IDOC Nav Multi Horizontal.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
ssSeparator: Text used to separate the parts of the bar. Default is "|".
ssShowHome: Boolean flag that specifies whether to display a link to the home page as part of the top level navigation. The default is "true." (The home page is actually located in the root of the web site, essentially above the "top" level, but it is perceived as a sibling.)
ssStartLevel: The display level to start displaying the menu.
ssNumLevels: The number of (section) levels to display.
The RSET Nav Plain Horizontal fragment offers a simpler version of this menu.
Adds a top navigation bar that can be placed anywhere on the page. This fragment is very similar to the Nav Plain Horizontal fragment: the difference being this one uses Idoc Script and uses values from a result set. Compare IDOC Nav Plain Horizontal.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
ssSeparator: Text used to separate the parts of the bar. Default is "|".
ssShowHome: Boolean flag that specifies whether to display a link to the home page. The default is "true." (The home page is actually located in the root of the web site, above the "top" level, but it may be perceived as a sibling here.)
The RSET Nav Multi Horizontal fragment offers a more complex version of this menu.
Adds a site map that shows every section on the web site and opens it in a hierarchical fashion. The hierarchy is shown in its expanded state. This fragment is very similar to the Site Map Plain fragment: the difference being this one uses Idoc Script and uses values from a result set. Compare IDOC Site Map Plain.
There are some IDOC fragments from Site Studio releases before 10gR4 that have some functions that could be useful. However, it is important to note that these fragments do not scale for large applications, and as such are not recommended for use.
These IDOC fragments are installed with Site Studio, but are not checked in:
Adds a top navigation bar that can be placed anywhere on the page. This fragment can display a customized range of levels. This fragment is very similar to the Nav Multi Horizontal fragment: the difference being this one uses Idoc Script and relies heavily on service calls in the content server.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
ssSeparator: Text used to separate the parts of the bar. Default is "|".
ssShowHome: Boolean flag that specifies whether to display a link to the home page as part of the top level navigation. The default is "true." (The home page is actually located in the root of the web site, essentially above the "top" level, but it is perceived as a sibling.)
ssStartLevel: The display level to start displaying the menu.
ssNumLevels: The number of (section) levels to display.
The IDOC Nav Plain Horizontal fragment offers a simpler version of this menu.
Adds a top navigation bar that can be placed anywhere on the page. This fragment opens only the top level of your site navigation; that is, the sections in the root of the site. This fragment is very similar to the Nav Plain Horizontal fragment: the difference being this one uses Idoc Script and relies heavily on service calls in the content server.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
ssSeparator: Text used to separate the parts of the bar. Default is "|".
ssShowHome: Boolean flag that specifies whether to display a link to the home page. The default is "true." (The home page is actually located in the root of the web site, above the "top" level, but it may be perceived as a sibling here.)
The IDOC Nav Multi Horizontal fragment offers a more complex version of this menu.
Adds a tabular style navigation bar that opens up to two levels of navigation. The tabs use individual images with rendered text (DHTML is not used in this fragment). You can choose a different theme, using different images, if you like. This fragment is very similar to the Nav Tabs Top fragment: the difference being this one uses Idoc Script and relies heavily on service calls in the content server.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssFocusColor: Changes the color of the text when the link is selected.
ssClassName: Specifies a CSS class name.
ssShowHome: Boolean flag that specifies whether to display a link to the home page. The default is "true."
ssShowNext: Boolean flag that specifies whether to display the second level of the navigation. The default is "false." If enabled, the second level of navigation opens below the tabs as text links, much like the Nav Plain Horizontal fragment.
ssTheme: Specifies the name of the theme. Specifically, it references a theme directory in the assets of this fragment.
Adds a site map that shows every section on the web site and opens it in a hierarchical fashion. The hierarchy is shown in its expanded state. This fragment is very similar to the Site Map Plain fragment: the difference being this one uses Idoc Script and relies heavily on service calls in the content server.
ssClassName: Specifies a CSS class name.
These are the dynamic list fragments:
Adds a dynamic list in a contribution region on the page template. A dynamic list performs a search in the content server and opens everything matching particular criteria. Contributors can add to the list by checking in new content items with metadata matching the search criteria.
Many of the parameters in this fragment are the same as those found in the Dynamic List Plain fragment (see Section C.2.3, "Dynamic List Plain").
Similar to Dynamic List Plain, but offers a "results page list" like:
[prev] 1 | 2 | 3 | 4 | 5 [next]
The above example shows what the user would see on the second page of the results.
The same as Dynamic List Plain, except for the following differences:
ssWantMore: Boolean flag that specifies whether to include a "results page list" when necessary. The default is "true." (Set this false if you want to limit one batch of results.)
ssTargetNodeID: Forces the target of a link so the contents display at a particular node, in the replaceable region of a secondary page. This is typically used for sharing content, where you include the same content item in multiple web sites.
Adds a dynamic list in a contribution region on the page template. A dynamic list performs a search in the content server and opens everything matching particular criteria. Contributors can add to the list by checking in new content items with metadata matching the search criteria.
This dynamic list sample divides the search results page into several sections, presenting each of them in a separated <div> tag and allowing parameters to specify plain text (or elaborate HTML) to display in each section.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssClassName: Specifies a CSS class name.
ssQueryText: Specifies the query that is performed in the content server.
ssLimitScope: Limits the scope of a search to within a web site.
ssSortField: The name of the metadata field to sort the results. The default is "dInDate".
ssSortOrder: The order to sort the results. The default is "desc".
ssResultCount: The number of results to show per page. The default is 25.
ssCaptionText: Caption text to appear in the head of the results display. The default is "List Results".
ssReportText: Report text that opens below the caption and summarizes the results. The default is the following, where "TotalRows" is an Idoc variable standard for executing a search, and the "ssFirstHit" and "ssLastHit" variables are calculated in the fragment code to make the display easier:
Total: <$TotalRows$> Items: <$ssFirstHit$> - <$ssLastHit$>
ssDisplayStart: Text to display at the start of the core list. The default is "".
ssRowStart: Text to display at the start of each row. The default is "".
ssRowLink: Text to display as the label of the "link" in each row. The default is "<$dDocTitle$>".
ssRowEnd: Text to display at the end of each row. The default is "".
ssDisplayEnd: Text to display at the end of the core list. The default is "".
ssWantMore: Boolean flag that specifies whether to include a "more..." button when necessary. The default is "true." (To limit the search to one batch of results, set this to "false.")
ssMoreText: Text to display as the label of the "more…" link when necessary. The default is "more…"
ssNoResults: Text to display when the search produces no results. The default is "No items match your search criteria".
ssTargetNodeID: Forces the target of a link so the contents display at a particular node, in the replaceable region of a secondary page. This is typically used for sharing content, where you include the same content item in multiple web sites.
Similar to Dynamic List Plain, but offers a "results page list" like:
[prev] 1 | 2 | 3 | 4 | 5 [next]
The above example shows what the user would see on the second page of the results.
The same as for the Dynamic List Plain fragment (see Section C.2.3, "Dynamic List Plain"), except for the following differences:
ssWantMore: Boolean flag that specifies whether to include a "results page list" when necessary. The default is "true." (Set this false if you want to limit one batch of results.)
Similar to Dynamic List Simple, but used for ASP.
ssTargetNodeID: Forces the target of a link so the contents display at a particular node, in the replaceable region of a secondary page. This is typically used for sharing content, where you include the same content item in multiple web sites.
A sample dynamic list fragment used with custom section properties. Adds a dynamic list that gives you the ability to use a different query in each section, instead of using one query in all of the sections that use the page.
ssQueryText: Specifies the query that is performed in the content server.
ssSortField: The name of the metadata field to sort the results. The default is "dInDate".
ssSortOrder: The order to sort the results. The default is "desc".
ssResultCount: The number of results to show per page. The default is 25.
ssLimitScope: Limits the scope of a search to within a web site.
This sample assumes the existence of the following custom section property:
Name: cspQueryText
Type: managedquery
Description: An optional query text string which is appended to the regular query text parameter, if any, so each section can define a unique query text.
Note:
When using CSP (custom section property) fragments, you must define the properties, and then set the values for each custom section property in every section that contains the fragment.Adds a dynamic list in a contribution region on the page template. A dynamic list performs a search in the content server and opens everything matching particular criteria. Contributors can add to the list by checking in new content items with metadata matching the search criteria.
This dynamic list sample divides the search results page into several sections, presenting each of them in a separated <div> tag and allowing parameters to specify plain text (or elaborate HTML) to display in each section.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssClassName: Specifies a CSS class name.
ssQueryText: Specifies the query that is performed in the content server.
ssLimitScope: Limits the scope of a search to within a web site.
ssSortField: The name of the metadata field to sort the results. The default is "dInDate".
ssSortOrder: The order to sort the results. The default is "desc".
ssResultCount: The number of results to show per page. The default is 25.
ssDisplayField: The name of the metadata field to be used to form the "label" of the link in the result.
ssTargetNodeID: Forces the target of a link so the contents display at a particular node, in the replaceable region of a secondary page. This is typically used for sharing content, where you include the same content item in multiple web sites.
This fragment is designed for JSP page templates.
These are the static list fragments:
Adds a static list with four columns in a contribution region on the page template. A static list comprises a fixed number of columns, each containing text or graphics, which can be edited in Contributor.
ssTextColor: Changes the color of the text.
Adds a static list in a contribution region on the page template. A static list comprises a fixed number of columns, each containing text or graphics, which can be edited in Contributor.
ssTextColor: Changes the color of the text.
ssHoverColor: Changes the color of the mouseover text.
ssClassName: Specifies a CSS class name.
Column1_Name (1-6): Specifies the name of the column. This should be concise and should not contain spaces or special characters.
Column1_Label (1-6): Specifies the label of the column. This should be concise and should not contain spaces or special characters.
ssCaptionText: Opens the caption for the page.
ssDisplayStart: Specifies the start of the display loop.
ssDisplayRow: Opens a single row.
Adds a static list with four columns in a contribution region on the page template. A static list comprises a fixed number of columns, each containing text or graphics, which can be edited in Contributor.
ssTextColor: Changes the color of the text.
These fragments provide various additional functionality or examples:
Inserts a copyright into the page template, similar to the Logo Example fragment.
No parameters.
Adds a dynamically converted native document to your page template using Dynamic Converter. When you select a native document, you can specify a GUI Template or a Layout Template for the conversion. If you do not specify either, a special conversion is used with an empty conversion template and layout template.
ssDocName: The dDocName of the document to be converted.
ssTemplate: The dDocName of the Dynamic Converter GUI Template.
ssLayout: The dDocName of the Dynamic Converter Layout Template.
You can also add native documents to your site by assigning one to a region, creating links to them, and allowing contributors to add and edit them.
Similar to the Dynamic Conversion fragment (see Section C.4.2, "Dynamic Conversion"), but adds an IFrame allowing you to scroll through the document.
ssDocument: The dDocName of the document to be converted.
ssTemplate: The dDocName of the Dynamic Converter GUI Template.
ssLayout: The dDocName of the Dynamic Converter Layout Template.
ssHeight: The height of the IFrame in pixels or percent.
ssWidth: The width of the IFrame in pixels or percent.
ssBorder: Select '1' for border or '0' for no border.
ssScrolling: Scroll bars can be set to 'yes', 'no', or 'auto' (when required).
You can also add native documents to your site by assigning one to a region, creating links to them, and allowing contributors to add and edit them.
Adds the ability to display content server error messages (Idoc message variables) in a section of your web site.
No parameters.
This fragment can be used when you select a web site section to display content server errors (see Section 12.1.9, "Designating a Section as an Error Handler").
Adds a Flash presentation to your page template.
ssAnimation: Use to locate the Flash presentation in the content server.
Adds a logo to your page template as a referenced object to illustrate how you can manage content separate from the page template.
No parameters.
Adds a randomly converted native document to your page template; especially useful for web banners. The conversion requires Dynamic Converter. When you select a native document, you can specify a GUI Template or a Layout Template for the conversion. If you do not specify either, a special conversion takes place using a blank conversion template and an empty layout template.
ssQueryText: Specifies the complete query clause.
ssLimitScope: Limits the scope of a search to within a web site.
ssTemplate: The dDocName of the Dynamic Converter GUI Template.
ssLayout: The dDocName of the Dynamic Converter Layout Template.
Adds the ability to display content server error messages (message variables) in a section of your web site.
No parameters.
This fragment can be used when you select a web site section to display web site errors (see Section 12.1.9, "Designating a Section as an Error Handler").
Adds the ability to change the <title> tag that each section opens on a web site, for each section that uses that page template.
This assumes the existence of the following custom section property:
Name: cspPageTitle
Type: Text
Description: Use this as the page title when viewing this section instead of the value of the <title> tag in the layout.
Note:
When using CSP (custom section property) fragments, you must define the properties, and then set the values for each custom section property in every section that contains the fragment.Fragment that demonstrates integration between Content Tracker and Site Studio.
contributorOnly: Boolean flag that specifies whether the hit count should be shown all the time or only in contribution mode. The default is "false" (show hit count all the time).
Note:
This feature works best on HCSP/Idoc web sites using SQL Server.Allows users to manage the site hierarchy using a web-based application called Site Studio Manager. For more information, see Chapter 16, "Setting Up Manager," and the Oracle WebCenter Content Administrator and Manager's Guide for Site Studio.