[TYPO3] <img> tag and the extension KJ: image-lightbox v2

Roelof Wobben rwobben at hotmail.com
Fri Sep 29 14:23:35 CEST 2006


Nobody ??


>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] <img> tag and the extension KJ: image-lightbox v2
>Date: Thu, 28 Sep 2006 13:41:23 +0000
>
>
>
>
> >From: "Aji Yahya" <aji.yahya at gmail.com>
> >Reply-To: TYPO3 English <typo3-english at lists.netfielders.de>
> >To: "TYPO3 English" <typo3-english at lists.netfielders.de>
> >Subject: Re: [TYPO3] <img> tag and the extension KJ: image-lightbox v2
> >Date: Thu, 28 Sep 2006 13:36:19 +0200
> >
> >Hello Roelof,
> >
> >did the EXT doesnt work or you cannt place the image where you want????
>
>
>The EXT  doesn't work. The image i place trough a <img> tag in the content.
>
>
> >
> >if the extension doesnt work , sure there is away to get the EXT to work, 
>i
> >reported before 2 week a bug to the owner of the EXT but :( i didnt get 
>any
> >answer from him
> >
> >ok let us look to class.ux_tslib_content.php : (EXT)
> >line 108: $GLOBALS['TSFE']->additionalHeaderData['kj_imagelightbox2_css'] 
>=
> >'<link rel="stylesheet"
> >href="'.t3lib_extMgm::extRelPath('kj_imagelightbox2').'lightbox/css/lightbox.css"
> >type="text/css" media="screen" />';
> >
> >this path is wrong while you get in source code like this:
> >
> ><link rel="stylesheet"
> >href="../typo3conf/ext/kj_imagelightbox2/lightbox/css/lightbox.css"
> >type="text/css" media="screen" />
> >
> >and it must be like this:
> >
> ><link rel="stylesheet"
> >href="typo3conf/ext/kj_imagelightbox2/lightbox/css/lightbox.css"
> >type="text/css" media="screen" />
> >
> >just add this line instead of the original , and it will work
> >$GLOBALS['TSFE']->additionalHeaderData['kj_imagelightbox2_css'] =
> >'<link rel="stylesheet"
> >href="typo3conf/ext/kj_imagelightbox2/lightbox/css/lightbox.css"
> >type="text/css" media="screen" />';
> >
> >hope that helps.
> >
> >takecare
> >Johannes
> >
>
>Solly, but it still doesn't work.
>Maybe this can be the problem :
><p class="bodytext"><img width="200"
>src="fileadmin/templates/main/images//25t.jpg" alt="echo (52K)" 
>height="140"
>/>
></p>
>
>And i can't see the css tag of this plugin.
>Must the page -template of this EXT in the root page or in the page where 
>it
>must work.
>
>Roelof
>
>
>
> >On 9/28/06, Roelof Wobben <rwobben at hotmail.com> wrote:
> > >
> > >
> > > Nobody knows the answer. Wierd
> > >
> > > >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: [TYPO3] <img> tag and the extension KJ: image-lightbox v2
> > > >Date: Wed, 27 Sep 2006 09:17:57 +0000
> > > >
> > > >Hello,
> > > >
> > > >Because i want the image on the place i want i use the <img> tag in 
>the
> > > >rte.
> > > >But now the extension don't seem to work.
> > > >
> > > >My template record is :
> > > >config.doctype = xhtml_strict
> > > >config.xmlprologue = none
> > > >
> > > ># Menu 1 cObject
> > > >
> > > >lib.sidebar-1 = HMENU
> > > >
> > > >   # First level menu-object, textual
> > > >
> > > >lib.sidebar-1.1 = TMENU
> > > >lib.sidebar-1.1 {
> > > >
> > > >     # Normal state properties
> > > >
> > > >   NO.allWrap = <div class="menu1-level1-no"> | </div>
> > > >   NO.stdWrap.htmlSpecialChars = 1
> > > >
> > > >     # Enable active state and set properties:
> > > >
> > > >   ACT = 1
> > > >   ACT.stdWrap.htmlSpecialChars = 1
> > > >   ACT.allWrap = <div class="menu1-level1-act"> | </div>
> > > >
> > > >}
> > > >
> > > >lib.sidebar-1.2 = TMENU
> > > >lib.sidebar-1.2 {
> > > >
> > > >     # Normal state properties
> > > >
> > > >   NO.allWrap = <div class="menu1-level2-no"> | </div>
> > > >   NO.stdWrap.htmlSpecialChars = 1
> > > >
> > > >     # Enable active state and set properties:
> > > >
> > > >   ACT = 1
> > > >   ACT.stdWrap.htmlSpecialChars = 1
> > > >   ACT.allWrap = <div class="menu1-level2-act"> | </div>
> > > >
> > > >}
> > > >
> > > >lib.sidebar-1.3 = TMENU
> > > >lib.sidebar-1.3 {
> > > >
> > > >     # Normal state properties
> > > >
> > > >   NO.allWrap = <div class="menu1-level3-no"> | </div>
> > > >   NO.stdWrap.htmlSpecialChars = 1
> > > >
> > > >     # Enable active state and set properties:
> > > >
> > > >   ACT = 1
> > > >   ACT.stdWrap.htmlSpecialChars = 1
> > > >   ACT.allWrap = <div class="menu1-level3-act"> | </div>
> > > >
> > > >}
> > > >
> > > >
> > > >
> > > ># Default PAGE object:
> > > >
> > > >page = PAGE
> > > >page.typeNum = 0
> > > >page.10 = USER
> > > >page.10.userFunc = tx_templavoila_pi1->main_page
> > > >page.20 = IMAGE
> > > >
> > > >page.20 {
> > > >
> > > >   file = fileadmin/templates/main/pictures/25t.jpg
> > > >
> > > >   imageLightbox2 = 1
> > > >
> > > >   imageLightbox2.imageset = myImgSet
> > > >
> > > >   imageLightbox2.caption= I am a imagecaption
> > > >
> > > >   imageLightbox2.saveImageShow = 1
> > > >
> > > >   imageLightbox2.printImageShow = 1
> > > >
> > > >}
> > > >
> > > >
> > > >Is there a way i get this work ?
> > > >
> > > >Regards,
> > > >
> > > >Roelof
> > > >
> > > >
> > > >_______________________________________________
> > > >TYPO3-english mailing list
> > > >TYPO3-english at lists.netfielders.de
> > > >http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> > >
> > >
> > > _______________________________________________
> > > TYPO3-english mailing list
> > > TYPO3-english at lists.netfielders.de
> > > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> > >
> >
> >
> >
> >--
> >Aji Yahya
> >Abelsbergstr. 8
> >70190 Stuttgart
> >Germany
> >Tel: 01727416629 Mobile
> >       07119979562
> >_______________________________________________
> >TYPO3-english mailing list
> >TYPO3-english at lists.netfielders.de
> >http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
>
>_______________________________________________
>TYPO3-english mailing list
>TYPO3-english at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english





More information about the TYPO3-english mailing list