I’m using Symfony2 to build a website that’ll have two views, one for
mobile devices and another for desktop depending on the user-agent.
I see that templates in Sf2 state what layout they extend or decorate
unlike sf1.4. For my app. I don’t want this behavior of Sf2. There’ll
be just two layouts
The last one worked :)
Thanks, leandro
On Dec 2, 8:05 pm, Leandro wrote:
> In addition to what Pierre says you should use format_date($date, 'p')
>
> 'p' references de MediumDatePattern which in Argentina is dd/mm/
>
> Hope it helps
>
> On 25 nov, 21:22,hrajchert wrote:
>
>
>
>
>
>
>
> > Hi,
Hi guys,
I'm having some trouble setting my database username and password from
my apache configuration file for Symfony2.
Is this no longer supported?
My apache directive: https://gist.github.com/733132
I've also tried using the username key in favor of the user key. That
didn't resolve the iss
In fact, i think there is an issue here.
The xml driver for configuration does not seem to work well.
First of all, with the new PR4, the line :
Causes a crash of the application with a xsd validation error.
For the setter injection, when i use exactly the same configuration,
it works with Y
That is definitely weird. Can you create a ticket?
Thanks,
Fabien
--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.org | fabien.potencier.org
Tél: +33 1 40 99 80 80
On 12/8/10 12:42 PM, benjamin.dulau wrote:
In fact, i think there is an issue here.
The
Hey dude, it's possible, but not portable !!
You have to use the columnDefinition like this :
/**
* @orm:Id
* @orm:Column(columnDefinition="integer unsigned")
* @orm:GeneratedValue(strategy="IDENTITY")
*/
Yes this options let you defined *completely* your column definition
Hey Jeff,
Very big thanks for your solution !
Francis.
2010/12/8 JF Simon
> Hey dude, it's possible, but not portable !!
> You have to use the columnDefinition like this :
>
>/**
> * @orm:Id
> * @orm:Column(columnDefinition="integer unsigned")
> * @orm:GeneratedValue(strategy=
De nada - amazing question !
On 8 déc, 14:48, Francis Besset wrote:
> Hey Jeff,
> Very big thanks for your solution !
>
> Francis.
>
> 2010/12/8 JF Simon
>
> > Hey dude, it's possible, but not portable !!
> > You have to use the columnDefinition like this :
>
> > /**
> > * @orm:Id
> >
Hi,
when I try to do a "propel:insert-sql" (after doing a propel:build-
sql) i get the error message below.
What I don't understand: when i do a "build-all-load" (that task
includes the task "propel:insert-sql") I don't get any error...
Execution of target "insert-sql" failed for the following
No problem.
I've created two different tickets.
Thanks.
Benjamin.
On 8 déc, 13:50, Fabien Potencier wrote:
> That is definitely weird. Can you create a ticket?
>
> Thanks,
> Fabien
>
> --
> Fabien Potencier
> Sensio CEO - symfony lead developer
> sensiolabs.com | symfony-project.org | fabien.
Hi,
I'm facing a very odd problem when running my unit test suite. Some
tests pass correctly but others (not always the same) are causing a
segmentation fault (see trace below). I precise that each test works
and passes individually, the probem only appears when runing test:unit
or test:all. Each
A Paginator is probably not an object you want to manage with the DIC.
The DIC is good at managing "global" objects like a logger, the user
(from the session), a database connection, ... all the objects for which
you only need one instance. For everything else, the DIC is not the
solution (like yo
I am moving a plugin of mine (sfAdminDashPlugin) from the symfony svn
to github, in the admin area on the plugin page I can't seem to change
the "Repository URL". It just reverts back to:
http://svn.symfony-project.com/plugins/sfAdminDashPlugin
When I uncheck "...host your plugin on the symfony-p
Hi all.
In my website I have Post module that each Post created by a user.
I use SfDocringGuard plugin.
I need to hidden used_id that displayed via a combo box in post/new
page and set it when user save the form.But I don't know where to do it?
I modified Post.class.php as bellow
/lib/model/P
Hi -
I am having an issue autoloading a 3rd party vendor class in
Symfony2. The class is the Mailchimp API class, which I downloaded
from the Mailchimp website, and the file is called MCAPI.class.php,
and the class is called MCAPI.
I renamed the file to MCAPI.php, per the naming standards of aut
hola amigos :o) ;o)
De : Seifollh Ghaderi
À : symfony-users@googlegroups.com
Envoyé le : Mer 8 décembre 2010, 19h 59min 17s
Objet : [symfony-users] Where Modify action before saving
Hi all.
In my website I have Post module that each Post created by a user.
Hi,
Could you check that these are passed to PHP by adding a
print_r($_SERVER);exit(); in one of your files ?
Also, you should use SYMFONY__DOCTRINE__DBAL__USER instead of
SYMFONY__DOCTRINE__DBAL__USERNAME.
On Dec 8, 11:51 am, Marijn wrote:
> Hi guys,
>
> I'm having some trouble setting my data
Can you post you schema.yml with respect to this model?
> *De :* Seifollh Ghaderi
> *À :* symfony-users@googlegroups.com
> *Envoyé le :* Mer 8 décembre 2010, 19h 59min 17s
> *Objet :* [symfony-users] Where Modify action before saving
>
> Hi all.
> In my website I have Post module that each Post
Symfony2 uses namespaces,
$api = new \MCAPI('key');
Or, add a use definition to the top of the file,
use MCAPI;
t
On Thu, Dec 9, 2010 at 04:44, Scott Switzer wrote:
> Hi -
>
> I am having an issue autoloading a 3rd party vendor class in
> Symfony2. The class is the Mailchimp API class, wh
Hi Scott,
To instanciate a class which is not in a namespace, you must add a backslash
before class name :
$api = new \MCAPI('my-api-key');
2010/12/8 Scott Switzer
> Hi -
>
> I am having an issue autoloading a 3rd party vendor class in
> Symfony2. The class is the Mailchimp API class, wh
WOW! Thanks asshole!!
On Dec 6, 1:54 pm, Alex Pilon wrote:
> Try this..http://tinyurl.com/2uhq73m
>
> Thanks!
>
>
>
>
>
>
>
>
>
> On Mon, Dec 6, 2010 at 14:49, deadwards wrote:
> > This may be a dumb question, but I can't figure out how to prompt for
> > extended permissions (ex. publish_str
You said it was a dumb question.
On Wed, Dec 8, 2010 at 16:56, deadwards wrote:
> WOW! Thanks asshole!!
>
> On Dec 6, 1:54 pm, Alex Pilon wrote:
> > Try this..http://tinyurl.com/2uhq73m
> >
> > Thanks!
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > On Mon, Dec 6, 2010 at 14:49, deadwards
> wrote:
Hi Mwsaz,
Thanks for your reply.
My original gist was indeed incorrect but like I said in the post, I
tried both as I saw SYMFONY__DOCTRINE__DBAL__USERNAME in the slides of
a Symfony2 presentation.
Anyway, that didn't resolve the issue.
If I inspect the request in the profiler I do see these env
I'm trying to understand how the ChoiceField field for an entity is
supposed to work in a form.
I have server and rack entities. The server entity has a
property "rack" that points to a rack entity.
I've create a form where I can edit a server and select a rack from a
ChoiceField and when I submit
Hi everybody,
I'm having some trouble with a small test application which won't run
on my remote server.
I keep getting the following error:
No mapping file found named
'Application.ServiceBundle.Entity.Service.dcm.xml' for class
'Application\ServiceBundle\Entity\Service'.
My entities are mapped
Hi guys,
I'm having some trouble with signing out user based on the default
HTTP based authentication as described here;
http://docs.symfony-reloaded.org/guides/security/authentication.html#logout-users
When I visit the default signout URL: /signout I get a 404 error page
stating that no controll
For completeness I've added my security configuration file here:
https://gist.github.com/734260
On Dec 9, 3:36 am, Marijn wrote:
> Hi guys,
>
> I'm having some trouble with signing out user based on the default
> HTTP based authentication as described
> here;http://docs.symfony-reloaded.org/guid
I am having a few challenges with sfWidgetFormDoctrineChoice and
sfWidgetFormDateTime. I have profile table used to store address,
phone and other info about users. It has relationship to sfGuardUser
(using sfDoctrineGuardPlugin-5.0.0). I modified my profileForm class
to extend BaseprofileForm t
You can use the sfWidgetFormInputHidden class for your sgu_id.
If there is no validator in your form class yet for sgu_id create one
by adding a sfValidatorChoiceDoctrine validator with the constraints
you would like to add.
Displaying as non-editable is possible by setting the html attribute
of t
29 matches
Mail list logo