[TYPO3] anchor tags

Cate & Peter catepeter at optusnet.com.au
Sat Dec 8 01:19:40 CET 2007


> >> lib.skip_navigation = HTML
> >> lib.skip_navigation {
> >> 	### The link text:
> >> 	###
> >> 	value = Skip to content
> >> 	value {
> >> 		typolink {
> >> 			### Create a link to the current page:
> >> 			###
> >> 			parameter.data = field:uid
> >>
> >> 			### Link to a specific anchor:
> >> 			###
> >> 			section = content
> >> 		}
> >> 	}
> >> }

Put the whole link in your template with the TS above--you can plug
> that TS object into a marker, or subpart, or (in TV), map your links as
> TS objects.

:S

Sorry, I haven't used typolinks before, and Im a touch confused.

lib.skip_navigation = HTML
lib.skip_navigation {
### The link text:
###
value = Skip to content
value {
	typolink {
		### Create a link to the current page:
		###
		parameter.data = field:uid
		
So up to here, nothing would change, right? I map lib.skip_navigation in TV,
but don't need to add anything for any of the links.



### Link to a specific anchor:
		###
		section = content
	}
}
}

And then in section=content, should I have defined that anchor in DW, or...
should it be linked to the lib.myObject that is the content ... like

### Link to a specific anchor:
		###
section=lib.navigation

or, 

section=nav (which is the anchor I put in with DW)

or?

Thanks for taking the time to explain so far.
Cate 




More information about the TYPO3-english mailing list