Changes between Initial Version and Version 1 of Varbreadcrumbs


Ignore:
Timestamp:
Jun 1, 2007 3:58:26 PM (17 years ago)
Author:
olha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Varbreadcrumbs

    v1 v1  
     1= Varbreadcrumbs = 
     2 
     31. Varbreadcrumbs - is a Plone add-on product that allows to customize breadcrumbs to your needs. This product replaces the standard way of breadcrumbs generation by the different one if needed. 
     4 
     5Such kind of breadcrumbing is used in those situation when site structure (the way we can get to a page) is different from the structure by folders. It sometimes may also be preferable for SEO purposes. 
     6  
     7On sites, where varbreadcrumbs is installed, breadcrumbs are generated in the same way as it is done by default in Plone (folders, subfolders indicated), with one exception: objects, which possess breadcrumbs property, insert objects, that are indicated in their property before their own title in a breadcrumbs path. Such a customized breadcrumbing works only with those objects, where breadcrumbs property is written.  On pages where it is not specified, breadcrumbs will be generated in a usual way. 
     8 
     9Imagine we have a folder '''incorporate''', which includes pages: 
     10 
     11* '''Incorporate''' (http://www.companiesinc.com/incorporate/index.asp) - a default page for this folder; 
     12     
     13 
     14* '''Where to Incorporate''' (http://www.companiesinc.com/incorporate/whereto.asp); 
     15     
     16 
     17* '''Incorporate in Any State''' (http://www.companiesinc.com/incorporate/states.asp); 
     18     
     19 
     20* '''Incorporate in Nebraska''' (http://www.companiesinc.com/incorporate/nebraska.asp). 
     21 
     22The peculiarity of this folder is that its content is organized in such a way that you can visit '''Incorporate in Any State''' (states.asp) page only after you visit '''Where to Incorporate''' page (whereto.asp), link from which leads to '''states.asp'''. Similarly with '''nebraska.asp''': you can visit '''Incorporate in Nebraska''' page only after visiting '''Incorporate in Any State''' page, which require initial visit to '''Where to Incorporate''' page. Another ways of visiting either states.asp or nebraska.asp are impossible, as those page titles are not present in navigation tree. The only way to visit them is through other pages. 
     23 
     24Thus, not to get lost on site, breadcrumbs can be really helpful, providing you a clear picture of the way you get to a page. 
     25 
     26Thus, when we are on '''incorporate''' default page, the breadbrumbs look:  '''''Home -> incorporate''''' 
     27 
     28When on '''Where to Incorporate''': '''''Home -> incorporate -> Where to incorporate''''' 
     29 
     30When on '''Incorporate in Any State''' breadcrumbs should be: '''''Home -> incorporate -> Where to incorporate -> Incorporate in Any State''''' 
     31 
     32Finally, when on '''Incorporate in Nebraska''': '''''Home -> incorporate -> Where to incorporate -> Incorporate in Any State -> Incorporate in Nebraska''''' 
     33 
     34Notice, that all three pages are in the same folder, and breadcrumbs show how we got to one page from another. 
     35 
     36How to organized breadcrumbs in a desired way? 
     37 
     38As we need a special breadcrumbing for '''states.asp''' page, we go to ZMI interface (add  /manage_main to page URL), and chose Properties tab. Add a new property: 
     39      name - breadcrumbs 
     40 
     41      type - lines 
     42 
     43Now fill the value field with '''whereto.asp''' and save the changes: 
     44breadcrumbs1 
     45 
     46 
     47 
     48Now, if we go to '''Incorporate in Any State''' (states.asp) page, the breadcrumbs will look as we needed: 
     49 
     50'''''Home -> incorporate -> Where to incorporate -> Incorporate in Any State''''' 
     51 
     52states 
     53 
     54 
     55 
     56The same way, if we need a special breadcrumbing for the page '''Incorporate in Nebraska''' (http://www.companiesinc.com/incorporate/nebraska.asp), go to ZMI interface and chose Properties tab. Add a new property with name - breadcrumbs, type - lines. 
     57 
     58Fill the value field with '''whereto.asp''' and '''states.asp''', save the changes: 
     59 
     60breadcrumbs2 
     61 
     62Thus, breadcrumbs on '''Incorporate in Nebraska''' page are the following: 
     63 
     64nebraska 
     65 
     66  
     67 
     682.  Varbreadcrumbs product allows you set silo titles for all breadcrumbs items, different from object title. To do it, go to the folder that includes items, that are to be renamed. Go to folder properties (in ZMI interface), and change the existing titles to what you need. Let's change the existing title '''Incorporate Your Business''' for '''why.asp''' page to '''Reasons To Incorporate''':    
     69silo-items 
     70 
     71Thus, '''why.asp''' page look this way: 
     72 
     73why 
     74 
     75 
     763. This product also adds default page in breadcrumbs item urls. Thus links go not to a folder, but to a default page of this folder. For example, in such a breadcrumb '''''Home -> incorporate -> Where to incorporate -> Incorporate in Any State''''' 
     77Link from '''incorporate''' will point to default page '''index.asp''' - http://www.companiesinc.com/incorporate/index.asp.