/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 kris.wallsm...@symfony-project.com
(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 oliv.g...@gmail.com wrote:
Hi,
I use assetic with twig to insert a css file like this :
{%
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 page.
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:
and my css folder is in /scr/Blobsmith/MyBundle/
Resources/public/css/.
Sorry for this very late response...
On May 23, 5:03 pm, Kris Wallsmith kris.wallsm...@symfony-
project.com (http://project.com) wrote:
Where are your stylesheets located in your project
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
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
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 :
?php foreach ($view['assetic']-stylesheets(array('public/css/*'))
as $url): ?
link rel=stylesheet
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...
{%
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 support
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
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
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 mkkp...@gmail.com wrote:
W dniu 24 lutego 2010 22:32
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 th9...@googlemail.com wrote:
Hi people!
I'd love to set a variable in an application and
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 sid.bacht...@gmail.com wrote:
Hi all,
I just written
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 gna...@gmail.com wrote:
Hello all,
I am having trouble with sfYaml::load() (I even tryed to
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
= 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 of sysmfony i hope can help me to translate
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
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 elegant solution
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.wallsm
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
Portland, Oregon USA
http
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-loading or access
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
kris.wallsm...@symfony
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 28, 2009
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 dom...@gmail.com wrote:
Hi Guys,
Maybe like to
read:http://blog.lucas-ts.com/programacao/how-will-be-symfony-13/
sorry for
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 hexuf...@gmail.com wrote:
I am using symfony 1.2, and want to use swiftMailer in it, the error
is if I use this one:
$message = new
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:
class: sfDoctrineRoute
url
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 associated validator given the widget
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
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 | Community
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 your
configuration class:
$this-enablePlugins
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,
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.
How to
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 manual
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 :
bFatal error/b:
Installed packages, channel pecl.php.net:
=
On Oct 11, 3:26 pm, Kris Wallsmith [EMAIL PROTECTED]
project.com wrote:
Hm... The Propel::import() method was renamed Propel::importClass()
in
Propel 1.3. Is it possible you have Propel 1.3 installed somewhere
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 overwrite the
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]
I love my PhpEd
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
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:48,
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
, 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 Auftrag von Kris Wallsmith
Gesendet: Samstag, 30. August 2008 01
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 perhaps
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
-Original Message-
From: symfony-users@googlegroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Kris
Thanks for the help.
http://daevid.com
-Original Message-
From: symfony-users@googlegroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Kris Wallsmith
Sent: Wednesday, June 18, 2008 9:57 AM
To: symfony users
Subject: [symfony-users] Re: How do I access a validate .yml
setting in my
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)
{
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
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 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 selected
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[]=4key[]=2key[]=6
I've been searching through the 1.1 validator classes, but can't find
anything to validate an array of
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
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...
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 previous post on CSRF protection
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, nevermind. I can just
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:
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
60 matches
Mail list logo