View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
1202 | Composr documentation | General / Uncategorised | public | 2013-04-26 18:12 | 2015-09-22 21:01 |
Reporter | Chris Graham | Assigned To | Guest | ||
Priority | normal | Severity | feature | ||
Status | resolved | Resolution | fixed | ||
Summary | 1202: Fully customising breadcrumbs | ||||
Description | This is done using the breadcrumb editor, which involves editing XML. The default file has some examples and preexisting config, so it can be played around with. | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Attached Files | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
parent of | 1204 | Resolved | Chris Graham | Transparent redirects |
|
Fully customising breadcrumbs What are breadcrumbs? ----------------------- Breadcrumbs are a kind of navigation mechanism used in websites to go to the upper levels (backwards) while navigating through the site. Composr supports breadcrumbs in the whole system. User can navigate through the website quite easily with the help of the fully functional breadcrumbs system. For example, if you go to “Add gallery” option in “Galleries”, the breadcrumbs system will look like: Home >> Content Management >> Galleries >> Add gallery (imgae_001.png) The user can easily move through different pages with the help of efficient breadcrumbs navigation system of Composr. Breadcrumbs customisation --------------------------- Composr has a fully customisable breadcrumbs navigation system. This is done using the breadcrumbs editor, which involves editing an XML file. User can edit the XML file using the Composr system by following the steps: Admin Zone >> Structure >> Breadcrumb overrides (image_002.png) User can add or edit the breadcrumbs using the built-in XML editor (shown in the image). User can customise the existing breadcrumbs for a page by adding a new entry to the XML file. For example, If you add a new gallery named “example_distorted_gallery”, there will be default breadcrumbs to the particular gallery page. We can change it by adding the following code: <substitution label="Distorted gallery" match_key="site:galleries:misc:example_distorted_gallery"> <link label="Our page">site:page_for_distorted_gallery</link> </substitution> Before customisation image: (image_003.png) After customisation image: (image_004.png) “label” attribute in the “substitution” tag represents the label of the current page in the breadcrumbs and “match_key” attribute represents the current page. “link” tag is used to specify the different levels which will come before the current page (Distorted gallery). User can give as many levels as they need. |
|
Assigned for tutorial review by Deepu |
|
Fully customising breadcrumbs What are breadcrumbs? ------------------------------------ Breadcrumbs are a kind of navigation mechanism used in websites to go to the upper levels (backwards) while navigating through the site. Composr supports breadcrumbs in the whole system. User can navigate through the website quite easily with the help of the fully functional breadcrumbs system. For example, if you go to “Add gallery” option in “Galleries”, the breadcrumbs system will look like: Home >> Content Management >> Galleries >> Add gallery (image_001.png) The user can easily move through different pages with the help of efficient breadcrumbs navigation system of Composr. Breadcrumbs customisation ------------------------------------------ Composr has a fully customisable breadcrumbs navigation system. This is done using the breadcrumbs editor, which involves editing an XML file. Users can edit the XML file using the Composr system through Admin Zone >> Structure >> Breadcrumb overrides (image_002.png) User can add or edit the breadcrumbs using the built-in XML editor in the 'Breadcrumb overrides' page. (as shown in the image). User can customise the existing breadcrumbs for a page by adding a new entry to the XML file. For example, If you add a new gallery named “example_distorted_gallery”, there will be a default breadcrumbs to the particular gallery page as shown in the image(image_003.png). We can change it by adding the following code: <substitution label="Distorted gallery" match_key="site:galleries:misc:example_distorted_gallery"> <link label="Our page">site:page_for_distorted_gallery</link> </substitution> “label” attribute in the “substitution” tag represents the label of the current page in the breadcrumbs. “match_key” attribute represents the current page. “link” tag is used to specify the different levels which will come before the current page (Distorted gallery). User can give as many levels as they need. After customising the breadcrumbs, the updated breadcrumbs for the gallery page will display as shown in the image(image_004.png). Before customisation image: (image_003.png) After customisation image: (image_004.png) |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-02-26 18:29 | Chris Graham | Category | General => General / Uncategorised |