Hello
I'm using Symfony 1.3 and sfPropel15Plugin with two database connections,
one to MySQL and one to Oracel. They are already configured in
config/database.yml and I also already have my schema.xml.
Now "./symfony propel:build-model" insists on having a config/propel.ini
even if I specify "--
Hello
How can I use my Propel models without Symfony?
The reason: I already have a project with some console-only scripts
from years ago that use plain PDO. Then I wrote a web "admin frontend"
with Symfony 1.3 and got addicted to Propel 1.5 (via sfPropel15Plugin)
and already customized some model
wrote:
> It's longer perhaps but more elegant? You betcha! It doesn't create a new
> dependency in your code because your logger could also *not* be there and the
> code would still work.
>
> Cheers, Daniel
>
> On 26.02.2010, at 12:57, Christian Hammers wrote:
your custom logging events.
> The dispatcher is what you need to worry about, since that's used to
> dispatch the events in the first place. You'll find that the
> dispatcher is more available throughout the application than the
> logger is, so stick with events to trigger logg
dn't get into the way..
>
> Daniel
>
>
> On Feb 24, 4:59 am, Christian Hammers wrote:
> > Hello
> >
> > Thanks for this hint!
> >
> > I could not figure out how to use the factory.yml without interfering
> > with the standard logger as yo
));
> $dispatcher -> connect('blah.log', array($this,
> 'listenToLogEvent'));
> }
> }
>
> You can then instantiate this logger anywhere (either by adding it to
> your factories.yml file, or instantiating it directly.)
>
> Hope this helps.
>
> Dani
Hi
This could mean that the form is always initialized with an empty
$this->excursion. Sure that find() does not return an array?
I always use ->findOneById($request->getParameter('id')); to be sure.
bye,
-christian-
Am Tue, 23 Feb 2010 14:06:02 -0800
schrieb Roland Cruse :
> Hi
>
> I must be
Hello
Is it possible to define a custom sfFileLogger() in factories.yml that works
completely independend from the standard frontend.log? It should be accessed
like e.g. sfContext::getLogger("myAppLog")->info("remember that");
Just that getLogger() does not take an argument and I'm probably trying
Hello
How can I configure the admin generator to display an additional "retype
password"
field and validate it with the already existing password field that's populated
with the database content? The retype password should be discarded afterwards
and
so that the admin generator only stores the p
7; to 'true'
> http://www.symfony-project.org/tutorial/1_4/en/upgrade#chapter_161aacbf11b8cc24bbdc6951ba0fb57d_yaml
>
> On Wed, Jan 6, 2010 at 11:41, Christian Hammers wrote:
> > Hello
> >
> > I have a Symfony 1.2 project that I tried to convert to Symfony 1.3.
> &g
Hello
I have a Symfony 1.2 project that I tried to convert to Symfony 1.3.
The no_script_name setting is turned off (verified with the debug console)
yet in Symfony 1.3 it behaves like it was turned on!
The same link_to('Störungsursachen', 'gu_ursache') produces
https://example.com/proxy/fibr
Hello
Inside the executeXYZ() function of an actions.class.php I check a condition
that can not be put into validators. If that condition fails I still want
to have a red error message on top of the formular. How is this possible?
I.e.:
public function executeXYZ(sfWebRequest $request) {
Hello
On Tue, 08 Sep 2009 10:48:06 -0300
José Nahuel Cuesta Luengo wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Christian Hammers escribió:
> > Hello
> >
> > I built my own Form (below) but neither the stylesheets nor the JavaScripts
>
Hello
I built my own Form (below) but neither the stylesheets nor the JavaScripts
get included on the final web page. The form widget itself does work fine.
What did I miss?
class ncWidgetFormDynDateTime extends sfWidgetFormInput
...
public function getStylesheets()
{
return
Hello
I have an Admin Generator form with several input fields. Now I want a link
like /index.php/gu_historie/new?myinput=foo which not only jumps to this form
but also fills the "myinput" field with an default value of "foo".
I already know how to get the value in a customized executeNew() fu
Hello
I'm using the admin generator of symfony 1.2.7 and wondering how to
replace the ugly three-part date input widget by something nice with
javascript.
In web/sf/calendar I found a very nice javascript calendar just how
am I supposed to apply it? There is no rich=yes in sfWidgetFormInput().
On 2008-05-20 CaffeineInc wrote:
>
> Hey everyone,
>
> I've got a situation where i need a spooler daemon to look over a
> first in first out cache file stored somewhere in teh cache
> directories. However I require a complex file structure to be created.
>
> I'm re-creating the envrionment a
Hello
I read the thatsquality.com tutorial on Symfony-1.1 forms but apparently
their examples do not cover the saving of embedded forms. While trying it out
myself I found a solution but am still wondering if this is the intended way.
It seems a bit superfluous to me that I have to cache the nam
On Fri, 16 May 2008 01:47:17 -0700 (PDT)
gunnarlium <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> I have recently experienced some funny behavior. Some of my pages are
> rendered with non-XHTML style tags, i.e. content="index,follow"> intstead of content="index,follow" />.
>
> All my pages use the
On Tue, 13 May 2008 09:44:07 +0200
Fabien POTENCIER <[EMAIL PROTECTED]> wrote:
>
> Christian Hammers wrote:
> > Hello
> >
> > I'm trying to lean symfony1.1 forms and am slowed down because the
> > usual "ctrl-space" auto completion of my
Hello
I'm trying to lean symfony1.1 forms and am slowed down because the
usual "ctrl-space" auto completion of my IDE (eclipse) does not
reveal which options an object accepts. Example:
$this->widgetSchema['tax']->setAttribute('size', 3);
instead of
$this->widgetSchema['tax']->set
On Tue, 6 May 2008 23:48:01 -0700 (PDT)
kusum <[EMAIL PROTECTED]> wrote:
>
> hi
>i am joining two table a and b.i want to print the data of b
> table.how i can do this in symfony.
> it is giving error.
>
>
> Object of class "b" cannot be converted to string (Please create a
> __toStrin
On 2008-05-05 Mohammad Ali Safari wrote:
> I am using Symfony V1.0.13 on windows (with WAMP) and whenever I use
> admin-generator (symfony propel-init-admin ..) it not only rewrites
> actions.class.php file in cache directory (which is normal) but also
> rewrites the action.class.php in module
Hi Pascal
On Wed, 30 Apr 2008 06:25:00 -0700 (PDT)
pascal82 <[EMAIL PROTECTED]> wrote:
> [PropelException]
>[wrapped: mysql extension not loaded [User Info: Array]]
> (en rouge !)
..
> Pourtant , j'ai le module CLI de php installé et l'extension mysql de
> php aussi ...
I don't speak french
Hello
I have admin-generator modules for several tables and would like to show some
of them in one view. How should I do that?
Can I have something like
apps/admin/overview/actions/actions.class.php indexAction():
$this->output = $this->getController()->getPresentationFor('mymodule1',
'
Hello
In spite of having apps/admin/config/settings.yml set to
dev:
.settings:
cache: off
the configuration and some files created by the Admin Generator still end up
in cache/ which is annoying as I often forget to clear it.
Is there a way of comepletely disa
On Mon, 28 Apr 2008 07:30:59 -0700 (PDT)
"Yohan 'rouKs' G." <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
>
> I have a problem with the propel-generated forms in symfony 1.1.
>
> I can create new records without any problems, but when i'm editing a
> record, it's make a new...
Hard to help with
Hello
Has anybody already enhanced the "propel:generate-crud" scaffolding by adding
sortable or even editable tables, nice CSS styles and paging etc?
For many problems a scaffolded application would be enough - if it only
had some more luxus. There already seems to be a "--theme" option but I di
> --
> Fabien Potencier
> Sensio CEO - symfony lead developer
> sensiolabs.com | symfony-project.com | aide-de-camp.org
> Tél: +33 1 40 99 80 80
>
>
> Christian Hammers wrote:
> > Hello
> >
> > I'm playing aroung with symfony 1.1 and the web debug
Hello
I'm playing aroung with symfony 1.1 and the web debug javascript thing
shows e.g. the "vars & config" very ugly:
Request Toggle
---
? parameterHolder
:
? action
: index
? module
: hardware
Shouldn'
Hello Ian
On 2008-03-24 Ian P. Christian wrote:
...
> Up until recently I've been maintaining sfDP1.1 to keep it working with
> sf1.1. However... we've stopped using doctrine internally, so I've
> stopped maintaining it.
What does this mean for the upcoming 1.1 release? I thought that
Doctr
31 matches
Mail list logo