[TYPO3-english] [SOLVED] RE: CoolURI + Macina Banners

Guus Leeuw Jr guus.leeuw at itpassion.com
Sat Nov 6 09:46:49 CET 2010


I now have a user function that translates the macinabanner uid into its
url, and then passes that into the general link generation that is normally
the default <pagepath> config for CoolURI.
I will polish this, and stick it into a new extension
(ITP_CoolMacinaBannerURI) so that one can download and incorporate into
one's own websites...

Couple of remarks:
1) This will only work for Image type Macina Banners (which will be checked
against (macinabanner type = 0). If HTML (2) or Flash (1), one shouldn't use
this extension;
2) Quite possibly, the click counting (from Macina Banner) might not work
anymore. Maybe I'll have a look at this, but for me (running only internal
advert banners), it is not really important at this point.

The only thing the end-user has to configure in CoolUriConf.xml is:

Dunno when it will be finished, but I'll start developing it tomorrow AM.
(Can't imagine it taking a long time, but you never know)


> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
> bounces at lists.typo3.org] On Behalf Of Guus Leeuw Jr
> Sent: 05 November 2010 05:13
> Indeed. But is there a way to call a user function from a <part>
definition in
> the CoolUriConf.xml?
> The macina banner uid translates into a page id target, so if I look that
page ID
> up (lookindb), CoolUri makes a
> http://www.mydomain.com/61/solutions/24x7-monitoring URL, whereby 61
> is the page uid.
> > From: Jan Bednarik [mailto:info at bednarik.org]
> > Sent: 04 November 2010 23:02
> >
> > > http://www.mydomain.com/?tx_macinabanners_pi1[banneruid]=2
> >
> > No wonder that the pagepath is missing, there is no ID parameter in URL.
> >
> > --
> > Jan Bednarik
> > www.bednarik.org - web about TYPO3 in czech
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

More information about the TYPO3-english mailing list