[TYPO3] Center a Typoscript Object
Sergio Catalá Gil
scatala at iti.upv.es
Mon Sep 15 16:21:09 CEST 2008
> Hi!
>
> Sergio Catalá Gil wrote:
> how could I center on the page a TypoScript Object (created with the
> "tscobj" extension)?
>
> By using CSS style in wrap?
But, what if this object is not the usual (TEXT, IMAGE, etc) but a
plugin? The object I want to center (lib.mymap) is a Google map created
with the extension wec_map. My TS config is:
lugin.tx_wecmap_pi1 {
apiKey = xxxxxx
height = 300
width = 500
showDirections = 1
prefillAddress = 0
initialMapType = G_NORMAL_MAP
controls.mapControlSize = zoomonly
controls.showOverviewMap = 0
controls.showMapType = 0
controls.showScale = 0
showSideBar = 0
maxAutoZoom = 17
}
lib.mymap < plugin.tx_wecmap_pi1
lib.mymap {
zoomLevel = 12
maxAutoZoom = 12
centerLat = xxx
centerLong = xxx
}
I can't find any reference to wrap with this kind of object. Sorry for
my poor knowledge of Typoscript.
Thanks,
Sergio
More information about the TYPO3-english
mailing list