Die TYPO3 Mailingliste - nicht fragen: lesen!
This is a discussion on [TYPO3] Repeat Breadcrumb menu twice within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi! I want to have 2 breadcrumbs on my page - one on the top and other at the bottom (i ...
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hi!
I want to have 2 breadcrumbs on my page - one on the top and other at the bottom (i think it helps in navigation). How can i do it the best? -- with respect, MaaBoo _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#2
|
|||
|
|||
|
Hi MaaBoo,
First you build the breadcrumb's HMENU (or *SHAMELESS PLUG* you could try tue_breadcrumb) like so: lib.breadcrumb = HMENU lib.breadcrumb { .... } Then on your page you can either replace a subpart marker with lib.breadcrumb, or include it as a TS object like so: page.10 =< lib.breadcrumb page.20 =< whatever.your.content.is page.30 =< lib.breadcrumb ...this'll give you two identical breadcrumbs. Good luck! Bas -----Original Message----- From: typo3-english-bounces (AT) lists (DOT) netfielders.de [mailto:typo3-english-bounces (AT) lists (DOT) netfielders.de] On Behalf Of maaboo Sent: Thursday, August 21, 2008 4:02 PM To: TYPO3-english (AT) lists (DOT) netfielders.de Subject: [TYPO3] Repeat Breadcrumb menu twice Hi! I want to have 2 breadcrumbs on my page - one on the top and other at the bottom (i think it helps in navigation). How can i do it the best? -- with respect, MaaBoo _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#3
|
|||
|
|||
|
First create the breadcrumb:
// Bread-crumb lib.breadcrumb=COA lib.breadcrumb { 10 = HMENU 10 { special = rootline special.range = 0 includeNotInMenu = 1 // excludeUidList = 2, 3, 55 // If you want exclude certain pages 1 = TMENU 1 { noBlur = 1 wrap = <p id="bread">|</p> NO.linkWrap = | / |*||*| | NO.stdWrap.field = title NO.ATagTitle.field = title CUR = 1 CUR.allWrap = <span id="current">|</span> CUR.doNotLinkIt = 1 } } } Second, insert it in the elements you want: workOnSubpart = BODY subparts.breadcrumb_top = COA subparts.breadcrumb_top.10 < lib.breadcrumb subparts.breadcrumb_bottom = COA subparts.breadcrumb_bottom.10 < lib.breadcrumb I hope that helps. ![]() On Thu, 21 Aug 2008 18:02:16 +0400, maaboo <maaboo (AT) gmail (DOT) com> wrote: > Hi! > > I want to have 2 breadcrumbs on my page - one on the top and other at the > bottom (i think it helps in navigation). How can i do it the best? > > -- > with respect, MaaBoo > _______________________________________________ > TYPO3-english mailing list > TYPO3-english (AT) lists (DOT) netfielders.de > http://lists.netfielders.de/cgi-bin/.../typo3-english _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#4
|
|||
|
|||
|
As all say, generate once and map it twice.
Are you using templavoilà ? Daniel maaboo wrote: > Hi! > > I want to have 2 breadcrumbs on my page - one on the top and other at the > bottom (i think it helps in navigation). How can i do it the best? > _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#5
|
|||
|
|||
|
2008/8/21 Wiel, J.A.M van de <j.a.m.v.d.wiel (AT) tue (DOT) nl>
> Hi MaaBoo, > First you build the breadcrumb's HMENU (or *SHAMELESS PLUG* you could > try tue_breadcrumb) like so: > > lib.breadcrumb = HMENU > lib.breadcrumb { > ... > } > > Then on your page you can either replace a subpart marker with > lib.breadcrumb, or include it as a TS object like so: > > page.10 =< lib.breadcrumb > page.20 =< whatever.your.content.is > page.30 =< lib.breadcrumb > > ..this'll give you two identical breadcrumbs. > > Good luck! > Bas > > -----Original Message----- > [mailto:typo3-english-bounces (AT) lists (DOT) netfielders.de] On Behalf Of maaboo > Sent: Thursday, August 21, 2008 4:02 PM > To: TYPO3-english (AT) lists (DOT) netfielders.de > Subject: [TYPO3] Repeat Breadcrumb menu twice > > Hi! > > I want to have 2 breadcrumbs on my page - one on the top and other at > the > bottom (i think it helps in navigation). How can i do it the best? > -- > with respect, MaaBoo > I have only two questions. 1. What kind of <div> with bread-menu must i use - id or class? 2. I don't understand how to insert it in needed div (or after it)? -- with respect, MaaBoo _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#6
|
|||
|
|||
|
2008/8/21 Daniel Huf <puffi666 (AT) gmail (DOT) com>
> As all say, generate once and map it twice. > > Are you using templavoilà ? > > Daniel > > maaboo wrote: > > Hi! > > > > I want to have 2 breadcrumbs on my page - one on the top and other at the > > bottom (i think it helps in navigation). How can i do it the best? > Yes, sure, or course. What next?...-- with respect, MaaBoo ICQ UIN: 22694713 Cell. Phone: +7 926 1458252 _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#7
|
|||
|
|||
|
Hi!
stefan (AT) aichholzer (DOT) name wrote: > subparts.breadcrumb_top = COA > subparts.breadcrumb_top.10 < lib.breadcrumb > > > subparts.breadcrumb_bottom = COA > subparts.breadcrumb_bottom.10 < lib.breadcrumb Small note: there is no need for COA with only one element. It only slows down rendering. -- Dmitry Dulepov TYPO3 Core team My TYPO3 book: http://www.packtpub.com/typo3-extens...velopment/book In the blog: http://typo3bloke.net/pages/book-rev...garr-reynolds/ _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#8
|
|||
|
|||
|
In CSS an id has to be unique, so if you need two breadcrumbs, use a
class or a different id on each of them with a class. <div id="topBreadcrumb" class="breadcrums"><ul><li>...</li><li>...</li></ul></div> <div id="content">content</div> <div id="bottomBreadcrumb" class="breadcrums"><ul><li>...</li><li>...</li></ul></div> in templàvoila you have to create two typoscript elemets in your datastructure and then map them to the places where you want your breadcrumb loaded typoscript: http://wiki.typo3.org/index.php/Rootline_menues (the bottom one) datastructure: <field_rootline type="array"> <tx_templavoila type="array"> <title>rootline</title> <description><![CDATA[lib.rootline > Mapping of the rootline, the path to the page]]></description> <sample_data type="array"> <numIndex index="0">rootline</numIndex> </sample_data> <eType>TypoScriptObject</eType> <tags>*</tags> <TypoScriptObjPath>lib.rootline</TypoScriptObjPath> </tx_templavoila> </field_rootline> <field_bottomrootline type="array"> <tx_templavoila type="array"> <title>rootline</title> <description><![CDATA[lib.rootline > Mapping of the rootline, the path to the page]]></description> <sample_data type="array"> <numIndex index="0">rootline</numIndex> </sample_data> <eType>TypoScriptObject</eType> <tags>*</tags> <TypoScriptObjPath>lib.rootline</TypoScriptObjPath> </tx_templavoila> </field_bottomrootline> INNER stands for into the element you selected OUTER is for removing the element you selected hope that helps. Daniel maaboo wrote: > 2008/8/21 Daniel Huf <puffi666 (AT) gmail (DOT) com> > >> As all say, generate once and map it twice. >> >> Are you using templavoilà ? >> >> Daniel >> >> maaboo wrote: >>> Hi! >>> >>> I want to have 2 breadcrumbs on my page - one on the top and other at the >>> bottom (i think it helps in navigation). How can i do it the best? > > Yes, sure, or course. What next?...> _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#9
|
|||
|
|||
|
Hi Daniel,
> <div id="topBreadcrumb" class="breadcrums"> > <div id="bottomBreadcrumb" class="breadcrums"> what should this class be good for? Andreas _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
|
#10
|
|||
|
|||
|
Hi Andreas,
>> <div id="topBreadcrumb" class="breadcrums"> >> <div id="bottomBreadcrumb" class="breadcrums"> > > what should this class be good for? As any CSS class: to use it with a CSS file that lets you change the layout of your breadcrumb. The idea of Daniel is to use ID's only for mapping in TemplaVoilà and use the class to change the rendering: ..breadcrums { color: #f00; } for instance. But you may as well omit the class attribute and use the ID to change the rendering *AND* to map elements in TemplaVoilà: #topBreadcrumb, #bottomBreadcrumb { color: #f00; } will have the same effect as above, without any further classes for your div. I think with all these answers, you should be able to easily achieve your goal and will instantly get your two breadcrumb menus on your page. -- Xavier Perseguers http://xavier.perseguers.ch/en _______________________________________________ TYPO3-english mailing list TYPO3-english (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/.../typo3-english |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3] repeat event in jw_calendar | Ilaria De Marinis | typo3-english@lists.netfielders.de | 0 | 16.01.2008 14:39 |
| [TYPO3-german] Layer-Menü und Breadcrumb | Thomas Vogt | typo3-german@lists.netfielders.de | 0 | 26.11.2007 14:58 |
| [TYPO3] repeat first level title in second level | Bas van der Togt | typo3-english@lists.netfielders.de | 6 | 14.11.2007 00:51 |
| [TYPO3] How do I add url-parameters to a breadcrumb menu | PEF | typo3-english@lists.netfielders.de | 0 | 17.04.2007 11:23 |
| [TYPO3] Breadcrumb | markoub | typo3-english@lists.netfielders.de | 2 | 27.01.2007 11:28 |