I have copied code from 
http://svn.symfony-project.com/plugins/sfLightboxPlugin/lib/helper/LightboxHelper.php
and pasted to LightBoxHelper.php and it still doesn't work. I still
must delete this row:
"if (in_array($version, array('1.0', '1.1')))".  :( Why ?




On 5 Kwi, 13:24, Loïc Vernet <qrf_c...@yahoo.fr> wrote:
> I am already kind to anwser you with the tone you are using to ask 
> informations.
>
> I said in the previous message that i have corrected the bug in SVN not in 
> the package.
>
> ++ COil
>
> ________________________________
> De : dziobacz <aaabbbcccda...@gmail.com>
> À : symfony users <symfony-users@googlegroups.com>
> Envoyé le : Dimanche, 5 Avril 2009, 8h23mn 10s
> Objet : Re: Re : [symfony-users] Re: sfLightboxPlugin/1_0_9 released
>
> Hello - am I invisible ? ;) LOL - Noboty listen to me :) I use symfony
> 1.2 - not 1.0. It still doesn't work. I reinstalled lightbox. And
> lightbox doesn't work. I had to paste in \plugins\sfLightboxPlugin\lib
> \helper LightboxHelper from old version Your lightbox and then it
> works. Are you sure your current version of lightbox works on symfony
> 1.2 ? (I use also Doctrine - if it is important)
> I found mistake - I deleted in \plugins\sfLightboxPlugin\lib\helper in
> file LightboxHelper.php this line:
> "if (in_array($version, array('1.0', '1.1')))" - then it works - IS IT
> NORMAL ????????
>
> And could you also answer for these questions:
> 1. How can I add css style to delete borders around image (in css
> class it should be: border:0 to delete borders)
> 2. As I understand I can't display for example 3. images in one row in
> Your lightbox ?? - it is pseudo code:
> $i=1;
> foreach ($pictures as $p)
> {
> //show picture
> i++;
>
> if($i==3) {echo "<br/>"; $i=1;}
>
> }
>
> On 5 Kwi, 04:28, Pablo Godel <pgo...@gmail.com> wrote:
>
> > Thanks a lot! I am sure I will use it in one of the sites I am
> > currently working on.
>
> > Pablo
>
> > On Sat, Apr 4, 2009 at 7:11 PM, Loïc Vernet <qrf_c...@yahoo.fr> wrote:
> > > I have corrected the helper and README for symfony 1.0.x. in SVN.
>
> > > Moreover the Prototype version bundled with symfony 1.0 (1.5.0.0) is not
> > > supported by Lightbox 2.0.4 , so you will have to upgrade
> > > your prototype version (you can also copy/paste the /web/sf folder of the
> > > symfony 1.1 sandbox into your /web folder)
>
> > > ++ COil
>
> > > ________________________________
> > > De : dziobacz <aaabbbcccda...@gmail.com>
> > > À : symfony users <symfony-users@googlegroups.com>
> > > Envoyé le : Samedi, 4 Avril 2009, 22h53mn 11s
> > > Objet : [symfony-users] Re: sfLightboxPlugin/1_0_9 released
>
> > > LOL xD
>
> > > 1. Tutorial is much better
> > > 2. Plugin doesn't work :) Some mistake is in \plugins\sfLightboxPlugin
> > > \lib\helper\LightboxHelper.php - I am sure because with previous
> > > version of LightboxHelper.php everything is ok.
> > > 3. How can I add css style to delete borders around image (in css
> > > class it should be: border:0 to delete borders)
> > > 4. As I understand I can't display for example 3. images in one row in
> > > Your lightbox:
> > > $i=1;
> > > foreach ($pictures as $p)
> > > {
> > > //show picture
> > > i++;
>
> > > if($i==3) {echo "<br/>"; $i=1;}
> > > }
>
> > > yes ? :)
>
> > > On 4 Kwi, 21:51, Loïc Vernet <qrf_c...@yahoo.fr> wrote:
> > >> The plugin and README was updated for symfony 1.2.x and my new friend
> > >> dziobacz  ^^
>
> > >> -->http://www.symfony-project.org/plugins/sfLightboxPlugin/1_0_9?tab=plu...
>
> > >> ++ COil
>
> > >> ________________________________
> > >> De : Pablo Godel <pgo...@gmail.com>
> > >> À : symfony-users@googlegroups.com
> > >> Envoyé le : Samedi, 4 Avril 2009, 18h40mn 48s
> > >> Objet : Re: Re : [symfony-users] lightbox in symfony - how can I use it ?
>
> > >> are there plans to update this plugin for symfony 1.2.x ?
>
> > >> Pablo
>
> > >> On Sat, Apr 4, 2009 at 9:59 AM, Loïc Vernet <qrf_c...@yahoo.fr> wrote:
> > >> > Hi,
>
> > >> > To summaruze the helpers make the foreach for you....
>
> > >> > The examples are quit explicit... Check out the exemple files witch are
> > >> > in
> > >> > the sfLightbox/ module
> > >> > of the plugin.
>
> > >> > ++ COil
>
> > >> > ________________________________
> > >> > De : dziobacz <aaabbbcccda...@gmail.com>
> > >> > À : symfony users <symfony-users@googlegroups.com>
> > >> > Envoyé le : Samedi, 4 Avril 2009, 14h41mn 15s
> > >> > Objet : [symfony-users] lightbox in symfony - how can I use it ?
>
> > >> > I found sfLightBoxPlugin:
> > >> >http://www..symfony-project.org/plugins/sfLightboxPlugin
>
> > >> > I download it from this website, unzipped and moved it to \plugins
> > >> > directory, in \plugins\sfLightboxPlugin I have folders:
> > >> > config, lib, modules, web. I don't need to move files from these
> > >> > folders to \apps\frontend\config, \apps\frontend\lib, \apps\frontend
> > >> > \modules and \web ?
>
> > >> > I have read 'Readme' from this site but I don't understand this. In
> > >> > normal php and normal lightbox I could use lightbox to show images
> > >> > like that:
>
> > >> > <?php foreach ($pictures as $p): ?>
>
> > >> >     <a href='/uploads/<?php echo $z->getNormalImage(); ?>'
> > >> > rel="lightbox[images]">
> > >> >     <img src='/uploads/<?php echo $z->getMiniImage(); ?>' />
> > >> >     </a>
>
> > >> > <?php endforeach; ?>
>
> > >> > But in symfony when I click MiniImage I go to site where I see white
> > >> > page and NormalImage. I don't see slideshow.. Could somebody help me ?
> > >> > I have never used lightbox in symfony and I am new in symfony ;)
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to