Could you share the rewrite code? Thanks, Charley
Loïc Vernet wrote: > I useed this plugin and indeed it needs a rewrite > > ----- Message d'origine ---- > De : Cacho <[EMAIL PROTECTED]> > À : symfony users <symfony-users@googlegroups.com> > Envoyé le : Mercredi, 19 Septembre 2007, 22h37mn 57s > Objet : [symfony-users] Problem with sfNiftyPlugin > > > > Hi > > I want to use sfNiftyPlugin so I've downloaded and deployed in my > symfony plugins directory so inside plugins I've a sfNiftyPlugin-1.2.0 > directory. > > Then, in my application I did: > > <?php use_helper('nifty') ?> > <?php use_helper('I18N') ?> > <?php use_helper('Javascript') ?> > > <?php echo javascript_tag( nifty_round_elements( "div#categories, > h1", "big") ) ?> > <?php echo javascript_tag( nifty_round_elements( "div#explanation", > "big") ) ?> > > <div id="explanation"> > <p><?php echo __('HOME_EXPLANATION_P1') ?></p> > <p><?php echo __('HOME_EXPLANATION_P2') ?></p> > </div> > > > > and in my css I've: > > #explanation { > float: left; > width: 45%; > background-color: #efefef; > background-image: url(/images/gradient_gris.png); > background-repeat: no-repeat; > background-position: top left; > } > > > But when I see the generated page I see no effect. > > I decided so check the generated page source code and I saw: > > <script type="text/javascript" src="/sf/sf_web_debug/js/main.js"></ > script> > <script type="text/javascript" src="/sf/prototype/js/prototype.js"></ > script> > <script type="text/javascript" src="/sfNiftyPlugin/js/niftycube.js"></ > script> > > but there is no sfNiftyPlugin folder at root of symfony so it's > totally logic I saw no nifty effect on my page. > > Now I wonder if should I do a setting in some place to configure the > plugin or something else to solve the problem. > > Thanks in advance > > J > > > > > > > > > > > > _____________________________________________________________________________ > Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---