Help installing symfony plugin

Hi, can anyone write or provide a good tutorial on installing the symfony plugin. Here is the problem: I have a symfony 1.2 application and I am trying to install the LightWindow plugin that runs on the prototype.

The fact is that I donโ€™t have PEAR, and because of proxy server restrictions, I donโ€™t think I can, but there is a way to install symfony plugins, which copies it to the plugins folder, including the configuration file and launched public assets in the application, I did all this successfully and the plugin will still not work. Here is a small piece of code that I use in the layout:

<?php use_helper('LightWindow'); ?>
.
.
.
<?php foreach ( $secImages as $image ): ?>
                <div class="image-slot">
                    <?php echo lw_image(image_tag(sfConfig::get('app_image_vo_dir') . $image->getPhoto()),
                            sfConfig::get('app_image_vo_dir') . $image->getPhoto()); ?>
                </div>
            <?php endforeach ?>

Hope someone can help.

Also this code does not run directly in the layout, the main layout includes it using Ajax

[EDIT]

ajax, ajax, , , , LightWindow script ajax, !

aJax , , , ajax 2010 ? -!:)

!

+3
1

lw_image() javascript css. ajax, ajax.

-, . -, symfony , ajax .

javascript/css, , ajax.

+1

Source: https://habr.com/ru/post/1763330/


All Articles