[TYPO3] Prev/next question

Roelof Wobben rwobben at hotmail.com
Sat May 12 21:49:53 CEST 2007


Hello Bas,

Thank you for sharing this TS.
It exaxctly what im looking for, but i can't make it work.

This is my TS :

# Prev
temp.Prev = HMENU
temp.Prev {
   wrap = <div class="prev-d">|</div>
   special = browse
   special.items = prev
   special.items.prevnextToSection = 0
   special.prev.fields.title = Vorige
   1 = TMENU
   1.NO.linkWrap = |
}


# Next
temp.Next = HMENU
temp.Next {
   wrap = <div class="next-d">|</div><br><br>
   special = browse
   special.items = next
   special.items.prevnextToSection = 0
   special.next.fields.title = volgende
      1 = TMENU
   1.NO.linkWrap = |
}

And this is my DS :

<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<T3DataStructure>
	<meta type="array">
		<langDisable>1</langDisable>
	</meta>
	<ROOT type="array">
		<tx_templavoila type="array">
			<title>ROOT</title>
			<description>Select the HTML element on the page which you want to be the 
overall container element for the template.</description>
		</tx_templavoila>
		<type>array</type>
		<el type="array">
			<field_menu type="array">
				<tx_templavoila type="array">
					<title>menu</title>
					<description>menu</description>
					<sample_data type="array">
						<numIndex index="0">menu</numIndex>
					</sample_data>
					<eType>TypoScriptObject</eType>
					<tags>*:inner</tags>
					<TypoScriptObjPath>lib.accordionmenu</TypoScriptObjPath>
				</tx_templavoila>
			</field_menu>
			<field_content type="array">
				<tx_templavoila type="array">
					<title>content</title>
					<description>content</description>
					<sample_data type="array">
						<numIndex index="0">content</numIndex>
					</sample_data>
					<eType>ce</eType>
					<TypoScript><![CDATA[
	10= RECORDS
	10.source.current=1
	10.tables = tt_content
	10.wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
                    ]]></TypoScript>
					<oldStyleColumnNumber type="integer">0</oldStyleColumnNumber>
				</tx_templavoila>
				<TCEforms type="array">
					<config type="array">
						<type>group</type>
						<internal_type>db</internal_type>
						<allowed>tt_content</allowed>
						<size>5</size>
						<maxitems>200</maxitems>
						<minitems>0</minitems>
						<multiple>1</multiple>
						<show_thumbs>1</show_thumbs>
					</config>
					<label>content</label>
				</TCEforms>
			</field_content>
			<field_volgende type="array">
				<tx_templavoila type="array">
					<title>volgende</title>
					<description>volgende</description>
					<sample_data type="array">
						<numIndex index="0">volgende</numIndex>
					</sample_data>
					<eType>TypoScriptObject</eType>
					<TypoScriptObjPath>temp.Next</TypoScriptObjPath>
				</tx_templavoila>
			</field_volgende>
			<field_vorige type="array">
				<tx_templavoila type="array">
					<title>vorige</title>
					<description>vorige</description>
					<sample_data type="array">
						<numIndex index="0">vorige</numIndex>
					</sample_data>
					<eType>TypoScriptObject</eType>
					<TypoScriptObjPath>temp.Prev</TypoScriptObjPath>
				</tx_templavoila>
			</field_vorige>
		</el>
	</ROOT>
</T3DataStructure>

can you or somebody else see why it isn't working here ?

Regards,

Roelof



>From: Bas van der Togt <bas.vander.togt at efocus.nl>
>Reply-To: TYPO3 English <typo3-english at lists.netfielders.de>
>To: typo3-english at lists.netfielders.de
>Subject: Re: [TYPO3] Prev/next question
>Date: Fri, 11 May 2007 17:01:34 +0200
>
>This is some TS i build.
>It uses two different markers! But you can make one of it ofcourse with:
>special.items = prev|next
>
># Prev
>[treeLevel = 4]
>temp.Prev = HMENU
>temp.Prev {
>    wrap = <div class="prev-d">|</div>
>    special = browse
>    special.items = prev
>    special.items.prevnextToSection = 0
>    special.prev.fields.title = <img
>src="fileadmin/templates/images/previous.gif" width="7" height="7"
>alt="" border="0" class="prev">
>    1 = TMENU
>    1.NO.linkWrap = |
>}
>[else]
>temp.Prev = CLEARGIF
>temp.Prev.height = 0
>[global]
>
># Next
>[treeLevel = 4]
>temp.Next = HMENU
>temp.Next {
>    wrap = <div class="next-d">|</div><br><br>
>    special = browse
>    special.items = next
>    special.items.prevnextToSection = 0
>    special.next.fields.title = <img
>src="fileadmin/templates/images/next.gif" width="7" height="7" alt=""
>border="0" class="next">
>    1 = TMENU
>    1.NO.linkWrap = |
>}
>[else]
>temp.Next = CLEARGIF
>temp.Next.height = 0
>[global]
>
>cheers,
>Bas
>
>Roelof Wobben wrote:
> >
> > Hello,
> >
> > It looks like what i need.
> > Only  i see this rule now :
> > INDEXActual page <<Juni 2006level up<<Broodlevel up<<<< nextGroentehapje
> > where i want to see  <<previous    next >>>
> >
> > How can i change that ?
> >
> > Roelof
> >
> >
> >> From: Bas van der Togt <bas.vander.togt at efocus.nl>
> >> Reply-To: TYPO3 English <typo3-english at lists.netfielders.de>
> >> To: typo3-english at lists.netfielders.de
> >> Subject: Re: [TYPO3] Prev/next question
> >> Date: Fri, 11 May 2007 13:08:30 +0200
> >>
> >> Roelof,
> >>
> >> Here you can find an example:
> >> http://www.typo3wizard.com/en/snippets/menus/indexupprevnext.html
> >>
> >> cheers,
> >> Bas
> >>
> >> Roelof Wobben wrote:
> >> > Nobody has the solution to my problem ?
> >> >
> >> > Roelof
> >> >
> >> >
> >> >
> >> >> From: "Roelof Wobben" <rwobben at hotmail.com>
> >> >> Reply-To: TYPO3 English <typo3-english at lists.netfielders.de>
> >> >> To: typo3-english at lists.netfielders.de
> >> >> Subject: Re: [TYPO3] Prev/next question
> >> >> Date: Thu, 10 May 2007 16:45:06 +0000
> >> >>
> >> >> Hello List.
> >> >>
> >> >> I use includeNotInMenu = 1 in my TS , so that's not the answer to my
> >> >> problem.
> >> >>
> >> >> Roelof
> >> >>
> >> >>
> >> >>
> >> >> >From: Bernd Wilke <xoonsji02 at sneakemail.com>
> >> >> >Reply-To: TYPO3 English <typo3-english at lists.netfielders.de>
> >> >> >To: typo3-english at lists.netfielders.de
> >> >> >Subject: Re: [TYPO3] Prev/next question
> >> >> >Date: Thu, 10 May 2007 15:42:56 +0200
> >> >> >
> >> >> >On Thu, 10 May 2007 12:58:54 +0000, Roelof Wobben wrote
> >> >> >with subject "Re: [TYPO3] Prev/next question":
> >> >> >
> >> >> > >
> >> >> > >
> >> >> > >
> >> >> > > >From: Bernd Wilke <xoonsji02 at sneakemail.com>
> >> >> > > >Reply-To: TYPO3 English <typo3-english at lists.netfielders.de>
> >> >> > > >To: typo3-english at lists.netfielders.de
> >> >> > > >Subject: Re: [TYPO3] Prev/next question
> >> >> > > >Date: Thu, 10 May 2007 14:46:45 +0200
> >> >> > > >
> >> >> > > >On Wed, 09 May 2007 17:22:06 +0000, Roelof Wobben wrote
> >> >> > > >with subject "[TYPO3] Prev/next question":
> >> >> > > >
> >> >> > > > > Hello,
> >> >> > > > >
> >> >> > > > > I have this tree on my site :
> >> >> > > > >
> >> >> > > > > http://test.tamarawobben.nl/images/scherm.jpg
> >> >> > > >
> >> >> > > >as far as a can see in your image: your pages beyond April
> >> 2005 are
> >> >> >'not in
> >> >> > > >menu'. Why do you expect them to be in your menu? ;-)
> >> >> > > >
> >> >> > >
> >> >> > > Youre right,
> >> >> > > I don't want to put them in my head-menu.
> >> >> > > What i want is that all the text will be in a prev/next circle 
>so
> >> >> that
> >> >> > > people can read a month what's going on.
> >> >> > > So not in the head-menu but in this menu i want to use all 
>pages.
> >> >> >
> >> >> >I think you have to play around with the menu-properties
> >> >> >excludeUidList, excludeDoktypes and maybe includeNotInMenu
> >> >> >
> >> >> >good Luck
> >> >> >Bernd
> >> >> >
> >> >> >--
> >> >> >http://www.bernd-wilke.net
> >> >> >_______________________________________________
> >> >> >TYPO3-english mailing list
> >> >> >TYPO3-english at lists.netfielders.de
> >> >> >http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >> >>
> >> >> _________________________________________________________________
> >> >> De nieuwe Hotmail: Mis het niet en profiteer direct van de 
>voordelen!
> >> >> http://get.live.com/mail/overview
> >> >>
> >> >> _______________________________________________
> >> >> TYPO3-english mailing list
> >> >> TYPO3-english at lists.netfielders.de
> >> >> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >> >
> >> > _________________________________________________________________
> >> > Geen zin in typen? Praten gaat makkelijker. Nu GRATIS bellen!
> >> > http://get.live.com/messenger/overview
> >> >
> >> _______________________________________________
> >> TYPO3-english mailing list
> >> TYPO3-english at lists.netfielders.de
> >> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >
> > _________________________________________________________________
> > Windows Live Hotmail: Slim - Persoonlijk - Betrouwbaar en GRATIS!
> > http://get.live.com/mail/overview
> >
>_______________________________________________
>TYPO3-english mailing list
>TYPO3-english at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

_________________________________________________________________
Exclusieve pop concerten en andere gave video's vind je op msn.nl 
http://video.nl.msn.com/v/nl-nl/v.htm



More information about the TYPO3-english mailing list