TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3] Repeat Breadcrumb menu twice

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 ...


Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 21.08.2008, 16:02
maaboo
Gast
 
Beiträge: n/a
Standard [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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 21.08.2008, 16:05
Wiel, J.A.M van de
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Repeat Breadcrumb menu twice

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 21.08.2008, 16:09
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Repeat Breadcrumb menu twice

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 = |&nbsp;/&nbsp;|*||*| |
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #4  
Alt 21.08.2008, 16:16
Daniel Huf
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Repeat Breadcrumb menu twice

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #5  
Alt 21.08.2008, 16:26
maaboo
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Repeat Breadcrumb menu twice

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #6  
Alt 21.08.2008, 16:28
maaboo
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Repeat Breadcrumb menu twice

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #7  
Alt 21.08.2008, 16:35
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Repeat Breadcrumb menu twice

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #8  
Alt 21.08.2008, 17:13
Daniel Huf
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Repeat Breadcrumb menu twice

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #9  
Alt 22.08.2008, 01:03
Andreas Burg
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Repeat Breadcrumb menu twice

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #10  
Alt 23.08.2008, 10:55
Xavier Perseguers
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Repeat Breadcrumb menu twice

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

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


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:35 Uhr.


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39