l genrate is /Resources/Public/images/ok.gif but my image is in
> @BundleCreator/Resources/Public/images/ok.gif.
>
> You know where is the problem ?
>
> On 11 juin, 19:32, Kris Wallsmith (http://symfony-project.com)>
> wrote:
> > You need to add the cssrewrite filter to your tag:
You need to add the cssrewrite filter to your tag:
> {% stylesheets '@BundleCreator/Resources/Public/css/bundleCreator.css'
filter='cssrewrite'
> %}
On Jun 11, 2011, at 9:57 AM, John Blobsmith wrote:
> Hi,
> I use assetic with twig to insert a css file like this :
> {% stylesheets '@BundleCre
Yes, please submit a pull request to fix this.
Thanks,
Kris
On Friday, June 10, 2011 at 12:40 PM, pzwosta wrote:
> Hi,
>
> with update to Beta 4 I get this Exception - only in prod environment (with
> debug set to true on creating AppKernel). Without debug=true the server
> returns an empty p
I need to build a better solution for this issue. Right now you need to add
whatever options you want to cssembed.xml and send a PR. Look at jpegtran.xml
for reference.
Thanks,
Kris
On Tuesday, June 7, 2011 at 8:44 AM, Paul Dugas wrote:
> On Mon, 2011-06-06 at 09:27 -0400, Paul Dugas wrote:
>
ss/.
> >
> > Sorry for this very late response...
> >
> > On May 23, 5:03 pm, Kris Wallsmith >
> >
> >
> >
> >
> >
> >
> > project.com (http://project.com)> wrote:
> > > Where are your stylesheets located in your projec
There is a CssRewriteFilter that should fix relative URLs like these. It’s
enabled in the SE by default as “cssrewrite” — try adding that to your asset.
k
On Thursday, June 2, 2011 at 3:33 AM, dbenjamin wrote:
> Hi,
>
> I started to use Assetic and that's really a great tool !
>
> However, i w
I never anticipated extending Assetic's twig integration by creating
new TokenParsers… can you accomplish this by adding the asset to the
DIC and tagging it assetic.asset? Also, are you aware Assetic includes
a filter for Packager?
Thanks,
Kris
On May 29, 2011, at 5:18 AM, dukeofgaming wrote:
>
Where are your stylesheets located in your project directory — web/public/css/*
??
On Sunday, May 22, 2011 at 5:23 AM, John Blobsmith wrote:
I try to use assetic with php template like this :
>
> stylesheets(array('public/css/*'))
> as $url): ?>
>
>
>
> But it doesn't work.
> I have the error
I’m aware of this issue, although there isn’t a ticket for it right now. Please
create an issue on the Symfony2 tracker:
https://github.com/symfony/symfony/issues
Thanks!
Kris
On Monday, May 16, 2011 at 5:46 AM, matteosister wrote:
Hello everybody!
> I'm trying to configure assetic to work with c
I also just added a way to add filters to your assets behind the scenes,
which is another way to solve this issue.
https://github.com/symfony/symfony/pull/954
On May 15, 2011, at 1:01 AM, Kris Wallsmith <
kris.wallsm...@symfony-project.com> wrote:
Hi Matt,
The Twig extension does not s
Hi Matt,
The Twig extension does not support this, but you can now (in master) define
assets in your configuration and reference them by name in your template.
For example:
assetic:
filters:
coffee: ~
assets:
some_coffee:
inputs: js/main.coffee
filters: coffee
And in your template...
{% javas
You configure an asset version by setting a framework.assets_version value in
your configuration. This version will be appended to asset URLs when
assetic.use_controller is set to false, but not when assetic.use_controller is
true.
Thanks,
Kris
On Saturday, May 14, 2011 at 11:29 AM, Matt Drolle
Hi Ralf,
Take a look at how Assetic is configured in the symfony-standard repo:
https://github.com/kriswallsmith/symfony-standard/blob/master/app/config/config.yml#L23
https://github.com/kriswallsmith/symfony-standard/blob/master/app/config/config_dev.yml#L17
The punctuation error looks like a t
I've committed a fix to Subversion and will be releasing soon. Please
test the fix in the meantime and report any issues here or on Trac.
http://trac.symfony-project.org/changeset/28260
Thanks,
Kris
On Feb 24, 1:35 pm, Michał Piotrowski wrote:
> W dniu 24 lutego 2010 22:32 u¿ytkownik Micha³ Pio
I'm not sure I can help without more specifics other the referring you
to the new Yaml component site and its documentation:
http://components.symfony-project.org/yaml/
Kris
On Aug 28, 7:58 am, Gnagno wrote:
> Hello all,
>
> I am having trouble with sfYaml::load() (I even tryed to use
> sfYamlP
Hi Sid,
Looks good. Does your solution also work for embedded forms?
I've also proposed a solution to the same problem here:
http://kriswallsmith.net/post/144021872/symfony-denote-required-form-fields
Kris
On Aug 30, 4:34 am, Sid Bachtiar wrote:
> Hi all,
>
> I just written an article on how t
If you want to add a variable to the request scope, the best place to
do so is the request object, in the form of an attribute:
$request->setAttribute('foo', $foo);
Kris
On Aug 30, 7:16 pm, Tamer Higazi wrote:
> Hi people!
> I'd love to set a variable in an application and forward then to one
Available options are described in the configure() comment block and
are viewable in the API documentation.
For example
http://www.symfony-project.org/api/1_2/sfWidgetFormDate#method_configure
--
Kris Wallsmith | Community Manager
kris.wallsm...@symfony-project.com
Portland, Oregon USA
http
", Criteria::CUSTOM)
;
$transactions = TransactionPeer::doSelect($criteria);
Kris
--
Kris Wallsmith | Community Manager
kris.wallsm...@symfony-project.com
Portland, Oregon USA
http://twitter.com/kriswallsmith
On Mar 4, 2009, at 5:58 PM, janlar...@gmail.com wrote:
>
> hi all im a new user o
The array is probably reversed so files are deleted before directories.
--
Kris Wallsmith | Community Manager
kris.wallsm...@symfony-project.com
Portland, Oregon USA
http://twitter.com/kriswallsmith
On Mar 2, 2009, at 1:29 PM, cirpo wrote:
>
> Hi,
> i'm trying to find an "e
Hi Evert,
Please see
http://www.symfony-project.org/blog/2009/03/02/call-the-expert-adding-subdomain-requirements-to-routing-yml
:)
--
Kris Wallsmith | Community Manager
kris.wallsm...@symfony-project.com
Portland, Oregon USA
http://twitter.com/kriswallsmith
On Mar 2, 2009, at 9:34 AM
I don't think categories are intended to be deleted. If your
implementation of Jobeet has different requirements, by all means add
an onDelete constraint to your schema.
--
Kris Wallsmith | Community Manager
kris.wallsm...@symfony-project.com
Portland, Oregon USA
http://twitte
How are you questionnaires setup? If they're configured in the
database, you should be able to present and validate them using you
Doctrine forms and the something similar to what Gandalf has pasted
below... Or am I misunderstanding?
--
Kris Wallsmith | Community Manager
kris.w
xhe--
Can you be more specific what you mean by a "manually created form"?
If you're calling $form->setWidgets() after ->__construct() has
executed, you'll also have to manually call $form->addCSRFProtection
(null);
Frank--
The $request->checkCSRFProtection() should only be used in conjunction
It looks like you have an error in your application's routing.yml
file. Revisit that part of the tutorial and double check you've
included a "class:" entry under the appropriate route.
Kris
--
Kris Wallsmith | Community Manager
kris.wallsm...@symfony-project.com
Portla
I assume you've cleared the cache after adding the file?
--
Kris Wallsmith | Community Manager
kris.wallsm...@symfony-project.com
Portland, Oregon USA
http://twitter.com/kriswallsmith
On Feb 3, 2009, at 11:49 AM, isleshocky77 wrote:
>
> Just came across a problem with the auto
You can create a sfContext instance by passing an
sfApplicationConfiguration instance to sfContext::createInstance().
You might be better off just including the functional bootstrap and
lime.php, however.
Kris
--
Kris Wallsmith | Community Manager
kris.wallsm...@symfony-project.com
Hi Michael,
I believe the ->updateObject() method is called on embedded forms. You
might also use a validator or post validator to handle this logic.
--
Kris Wallsmith | Community Manager
kris.wallsm...@symfony-project.com
Portland, Oregon USA
http://twitter.com/kriswallsmith
On Jan
Prior to symfony 1.1 the version number could be accessed as
file_get_contents(sfConfig::get('sf_symfony_lib_dir').'/VERSION'). The
version number values can be easily tested with the native
version_compare() function.
Kris
--
Kris Wallsmith | Community Manager
kr
Have you read this cookbook tutorial?
http://www.symfony-project.org/cookbook/1_2/en/model_unit_testing
--
Kris Wallsmith | Community Manager
kris.wallsm...@symfony-project.com
Portland, Oregon USA
http://twitter.com/kriswallsmith
On Feb 1, 2009, at 12:46 PM, juro wrote:
>
> True
I'm pretty sure the tester takes the first bound form that's been
attached to an action instance. Do you bind multiple forms in one
request?
--
Kris Wallsmith | Community Manager
kris.wallsm...@symfony-project.com
Portland, Oregon USA
http://twitter.com/kriswallsmith
On Jan 27,
I don't see anything wrong with your code. Does your email client read
other multi-part email messages just fine?
Kris
On Jan 22, 5:04 pm, xhe wrote:
> I am using symfony 1.2, and want to use swiftMailer in it, the error
> is if I use this one:
>
> $message = new Swift_Message('Account Activatio
symfony 1.3 has also been discussed on the symfony blog now:
http://www.symfony-project.org/blog/2009/01/25/about-symfony-1-3
On Jan 23, 5:05 pm, Lucas Stephanou wrote:
> Hi Guys,
>
> Maybe like to
> read:http://blog.lucas-ts.com/programacao/how-will-be-symfony-13/
>
> sorry for linking myself
r
route or in your application's factories.yml).
Kris
--
Kris Wallsmith | Community Manager
kris.wallsm...@symfony-project.com
Portland, Oregon USA
http://twitter.com/kriswallsmith
On Jan 22, 2009, at 8:06 AM, Michael Smith wrote:
>
> I have a route like:
>
> inspection_show:
The sfValidatorFile class requires either finfo_open() or
mime_content_type() be installed. If neither are installed, the mime
type validation will throw an error.
Kris
--
Kris Wallsmith | Community Manager
kris.wallsm...@symfony-project.com
Portland, Oregon USA
On Jan 7, 2009, at 4:40 AM
None that I know of. This configuration must be included in the schema
file before running propel:build-model and it cannot be introspected
from the database.
Kris
--
Kris Wallsmith | Community Manager
[EMAIL PROTECTED]
Portland, Oregon USA
On Dec 3, 2008, at 12:57 AM, lionslair wrote
No, ->setWidget() does not affect a form's validators.
Kris
--
Kris Wallsmith | Community Manager
[EMAIL PROTECTED]
Portland, Oregon USA
On Dec 1, 2008, at 9:13 PM, ken wrote:
>
> Does calling $this->setWidget('control_name', new sfWidgetXXX) also
> reset its
Hello again,
I have completed this reorganization. The code for these plugins has
all been moved into a trunk directory. You can now update your
svn:externals definitions like so:
DbFinderPlugin http://svn.symfony-project.com/plugins/DbFinderPlugin/trunk
Thanks,
Kris
--
Kris Wallsmith
mfony-project.com/plugins/DbFinderPlugin
Also, if anyone is interested in helping maintain any of these
plugins, please contact me directly and we can talk.
Thanks,
Kris
--
Kris Wallsmith | Community Manager
[EMAIL PROTECTED]
Portland, Orego
Hi all,
I've posted a transcript of this weekend's Plugin Developers Day to
the wiki here:
http://trac.symfony-project.org/wiki/Events/PluginDevsDay20081108
Thank you to all who attended. I look forward to more of these sorts
of events in the future.
Kris
--
Kris Wallsmith |
Are you calling sfPropelBehavior methods anywhere else in your
application?
Kris
On Oct 21, 2008, at 12:03 AM, "Yohan 'rouKs' G." <[EMAIL PROTECTED]
> wrote:
> Kris Wallsmith wrote:
>>
>> As of symfony 1.2 you have to explicitly enable plugins in
As of symfony 1.2 you have to explicitly enable plugins in your
configuration class:
$this->enablePlugins(array('sfPropelPlugin',
'sfPropelActAsPolymorphicBehaviorPlugin'));
If the plugin that houses a behavior is not enabled, that behavior
will not be registered.
Kris
On Oct 20, 1:44 pm, Melc
Hi Nicolas,
If one of the single validators fails, its value in the $values array
passed into the post validator will be NULL.
Kris
On Oct 16, 12:05 pm, Nicolas CHARLOT <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've written a global validator that needs all singles validators to
> be valid.
>
> Ho
Y defect closed and X > Y i think
>> symfony going in the wall.
>>
>> i remember Fabien has show us a nice graph with the ticket life cycle
>> but it don"t see to be applyed. some tickets have more than 2 years
>> and
>> perhaps nobody know if the bug is s
Thank you for your patch. It has been applied to 1.1 and 1.2. Please
keep them coming!
Kris
On Oct 14, 7:12 pm, Yuretsz <[EMAIL PROTECTED]> wrote:
> Ok, I have desire and skills to help Symfony became the best framework ever.
>
> The most easiest way is to fix some bugs in it.
> Ok we have the m
e
> propel_generator 1.3.0RC1 beta
> propel_runtime 1.3.0RC1 beta
> Installed packages, channel pear.symfony-project.com:
> =
> Package Version State
> symfony 1.0.17 stable
> Installed packages, channel pecl.php.net:
> =
>
>
> On Oct 11
Hm... The Propel::import() method was renamed Propel::importClass() in
Propel 1.3. Is it possible you have Propel 1.3 installed somewhere?
Kris
On Oct 11, 2008, at 5:45 AM, DigitalBase <[EMAIL PROTECTED]> wrote:
>
> I just upgraded my project to 1.1. Now i get the exception :
>
> Fatal error:
Hi Michael,
What version of symfony are you using?
Kris
On Oct 10, 10:15 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Which log do you mean? Symfony logs many informations (debug
> enviroment). The first are logged, when the routing is configured (as
> in sf 1.2). I don't think that the
I'm not sure I understand your problem, but take a look as
sfValidatorCallback. You can create a method in your form class that
would of course have access to the form's validatorSchema, etc.
Kris
On Oct 6, 6:13 am, "Thomas Rabaix" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Have you try to overwrit
If you want to store a variable to the request scope in sf1.1, use the
request attribute holder:
sfContext::getInstance()->getRequest()->setAttribute('foo', 'bar');
Is that what you're asking?
Kris
On Sep 9, 2008, at 8:27 AM, Nicolas CHARLOT <[EMAIL PROTECTED]> wrote:
>
> Le 9 sept. 08 à 16
I've just released a new plugin called sfExceptionFormatsPlugin,
available on symfony-projects.org. This plugin extends the request
formats feature added in symfony 1.1 to include the error 500 and
exception pages. With this plugin installed, any uncaught exceptions
thrown will render as t
Textmate and vi. I'm also going to check out the latest version of Coda.
Kris
On Sep 9, 2008, at 3:48 AM, "markus.staab" <[EMAIL PROTECTED]>
wrote:
>
> Eclipse PDT
>
> On 9 Sep., 12:35, "Dmitry Nesteruk" <[EMAIL PROTECTED]> wrote:
>> Eclipse
>>
>> 2008/9/9 danielwinter <[EMAIL PROTECTED]>
>>
Hi Tom,
I agree that there's more to setting up a project than what the
generate:project command accomplishes, but this is probably different
for each developer. For me, I add a number of svn properties (ignore,
externals), modify the rsync ignore file, generate some controller
scripts in
Why not just disable the required option on the respective valudators?
Kris
On Sep 3, 2008, at 8:00 AM, paolovas <[EMAIL PROTECTED]> wrote:
>
> Hi Krasimir:
>
> $this->widgetSchema['mydate']->setAttribute('date', array('disabled'=>
> 'disable'));
> $this->widgetSchema['mydate']->setAttribute('t
2008, at 1:34 AM, Fabian Lange <[EMAIL PROTECTED]
> wrote:
>
> Oh right!
> How could I Forget :-)
> But its phpName
>
> Fabian
>
> -Ursprüngliche Nachricht-
> Von: symfony-users@googlegroups.com [mailto:symfony-users@googlegroups.com
> ]
> Im Auftra
Also have a look at http://www.php.net/strtr ... That's used a number
of time in the core (its array usage).
Kris
On Aug 30, 2008, at 2:56 AM, "Fabian Lange" <[EMAIL PROTECTED]
> wrote:
> Hi,
> you mean something like:
> http://php.net/manual/en/function.sprintf.php
>
> Anyway it is recommen
Hi Alex,
Propel provides a "peerName" attribute for each column. You can use
this to rename the peer constant.
Kris
On Aug 29, 2:56 pm, Fabian Lange <[EMAIL PROTECTED]>
wrote:
> Hi Alex,
>
> the easiest solution is to create a Read/Write View of that table and give
> it a different name.
>
> Or
es in it using
> the include_partial() [or whatever the call is]. So I then do a
> simple PHP
> include(PATH.SOMEDELIMETERBS.TO.SOMEDELIMETERBS._partial.php) and it
> magically worked. WTF!? UGH.
>
>
>
> Thanks for the help.
>
> http://daevid.com
>
>
&
or "oops, I forgot the .com in
> my email" or whatever.
>
> I find it inconceivable that the designers of Symfony could make such a
> glaring oversight as to not give me direct access to the validate.yml file
> parameters in an easy to access manor. *sigh*
>
> d
&
Hi Joao,
I also place form fields using the array accessor like this. I wound
up doing this late one night...
class myTestBrowser extends sfTestBrowser
{
public function post($uri, $parameters = array(), $formClass = null)
{
if ($formClass)
{
$parameters[sfForm::getCSRFFieldNam
Hi Dmitry,
I believe default form values are set in one of three ways:
* sfForm::__construct(array $defaults)
* sfForm::setDefaults(array $defaults)
* sfForm::setDefault(string $name, mixed $default)
Kris
On Jun 13, 6:55 am, "Dmitry Nesteruk" <[EMAIL PROTECTED]> wrote:
> How can I set selec
Hi Mohammad,
The action classes use the PHP magic __set() method, which is only
used when an object member has NOT been defined yet. So the answer
you're looking for is no. If you'd like to have certain variables set
in every action in a module, consider using the ->initialize() or -
>preExecute(
Hi Daevid,
Take a look at the execution filter to see how symfony uses the
validation.yml files:
http://trac.symfony-project.com/browser/branches/1.0/lib/filter/sfExecutionFilter.class.php#L91
More to your point, isn't duplication of the validation logic a larger
DRY concern than duplication of
I'm building an interaction that uses script.aculo.us'
Sortable.serialize method to build request parameters. This method
creates an array of integers like this:
key[]=4&key[]=2&key[]=6
I've been searching through the 1.1 validator classes, but can't find
anything to validate an array of integer
Continuing this conversation I'm having with myself ...
Most forms should be testable using getAndCheck, setField, click ...
which will submit the CSRF token and work just fine. So nevermind
(again).
k
On May 24, 8:09 am, Kris Wallsmith <[EMAIL PROTECTED]> wrote:
> Oh, nevermi
Oh, nevermind. I can just update settings.yml...
test:
.settings:
csrf_secret: off
Maybe this should this be part of the skeleton settings.yml that's
created by generate:app?
On May 24, 7:51 am, Kris Wallsmith <[EMAIL PROTECTED]> wrote:
> Piggybacking on my previou
Piggybacking on my previous post on CSRF protection ... what's the
best way to disable CSRF protection for my functional tests? I've
added a condition to frontendConfiguration::initialize() that disables
protection in the test environment, but I'd rather not add logic the
only runs for test...
An
I'm using sfForm to build a page with a number of AJAX forms. It's
going pretty smoothly so far, but I just switched CSRF protection on
and now have a bunch of hidden inputs with the same id attribute
(_csrf_token). Is there a way to disable the id attribute on this
element, globally?
I think thi
Hello all,
I'm going to be committing some major refactoring to the
sfGoogleAnalyticsPlugin trunk today or in the next few days. If you
have the current version of this plugin installed from SVN, please
switch your external/checkout to the 1.0 branch:
http://svn.symfony-project.com/plugins/sfGoo
Could it be as simple as clearing the symfony cache? Other than that,
my experience with blank screens when trying to access a symfony
project is that the library and data folder variables in /config/
config.php aren't configured accurately.
I use MAMP on my laptop and it works fine...
Kris
Tom
70 matches
Mail list logo