I was able to set the collation on a mysql database through YAML using
the attributes default_table_charset and default_table_collate.
Here's how my config/database.yml file looks like:
all:
doctrine:
class: sfDoctrineDatabase
param:
dsn: 'mysql:host=yourHostServer;dbname=yourDbNam
I don't know why but embedRelation('AlumnoInterno') did not work.
Maybe the Propel version?
Symfony throws me "Call to undefined method
AlumnoForm::embedRelation."
In the other hand, I used getAlumnoInternos() wich "Gets an array of
AlumnoInterno objects which contain a foreign key that reference
Try this:
public function configure() {
parent::configure();
/*code portion removed*/
$alumno_interno = $this->getObject()->AlumnoInterno(); //if
the object Alumno is new it gives you an empty AlumnoInterno object, else it
gives you the associated Alu
Hi folks.
The database has two tables: 'alumno' and 'alumno_interno'. The
'alumno' table contains general data about students: name, lastname,
address, etc. The 'alumno_interno' table contains details about the
student: grade, control number, etc.
The relationship between tables is:
alumno {id,
Understand, you can have that also without the extra apache module, I
use this to log both proxy and client IP:
# If you are behind a reverse proxy, you might want to change %h into %
{X-Forwarded-For}i
LogFormat "%{X-Forwarded-For}i %h %l %u %t \"%r\" %>s %b %T \"%
{Referer}i\" \"%{User-Agent}i\"
Greg,
I've never heard of it and have to take a deeper look, but the
idea of sending all the business logic to the client sounds weird to
me, and besides we want to minimize the coding in JS, even avoid it at
all if posible !!
IMHO that is the beauty of these JS toolkits, if you write PHP
Stéphane,
I've never heard of it, will take a look. Is there any Symphony
plugin to integrate with it ?
Thanks !!!
Daniel
On 10 sep, 02:53, Stéphane wrote:
> If you want true javascript framework (with OO layer), for
> desktop-application UI look-alike, look at qooxdoo !
>
> Cheers,
>
> Be
Gareth,
I can do without drag&drop and animations, but I must have
powerful UI controls like datagrid, treegrid, modal dialogs, even
charts.
I do understand JQuery has lots of plugins and perhaps there are
good datagrid plugins, but if possible I prefer to have just one
standard and well s
Yes, my load-balancer is responsible for caching as well and correctly
set the header X-Forwarded-For.
Actually, I really need the mod_remoteip because I want the real IP in
the access_log .
Laurent
On Sep 10, 1:10 pm, pghoratiu wrote:
> Is the load balancer responsible for caching as well?
> C
I have this code in a doctrine form
$this->widgetSchema['priority'] = new sfWidgetFormChoice(
array(
'choices' => $pri_choices
));
var_dump($pri_choices);
echo max(array_keys($pri_choices));
$this->widgetSchema['priority']-
>setDefault( max(array_key
Beste,
Tot en met vrijdag 10 september ben ik niet aanwezig op kantoor.
U kunt voor dringende zaken contact opnemen met mijn collega Dimitri van Hees:
dimi...@freshheads.com of 013 5448761.
Met vriendelijke groet,
Joost Farla
joost.fa...@freshheads.com
- -
freshheads grafisch ontwerp en inter
Is the load balancer responsible for caching as well?
Check http://en.wikipedia.org/wiki/X-Forwarded-For and retrieve the
client IP address from that HTTP header.
You don't need anything extra on the Apache side.
gabriel
On Sep 10, 12:52 pm, Laurent Vaills wrote:
> Hi,
>
> I am developping a
What's the error message? Did you try the "dblib" driver? Quote from
the php manual:
The DSN prefix is sybase: if PDO_DBLIB was linked against the FreeTDS
libraries, mssql: if PDO_DBLIB was linked against the Microsoft SQL
Server libraries, or dblib: if linked against any other variety of
DB-lib.
Hi,
I am developping a website using symfony 1.4 on CentOS 5 (httpd 2.2.3,
php 5.2.10).
I have compiled the mod_remoteip on the httpd 2.2 (because this module
is only available for httpd 2.3).
But the IP that is reported by Apache is the one of our load-balancer.
After some tests, I've found that
Or, have a look at SproutCore. It's the framework behind the new MobileMe apps
from Apple, which are some of the most native-feeling web apps I've seen in the
wild so far.
Greg
On Sep 10, 2010, at 12:53 AM, Stéphane wrote:
> If you want true javascript framework (with OO layer), for
> desktop
I use jQuery and jQueryUI for the most of my "fancy" stuff, too, but I think in
comparison to extJS it lacks a really powerful datagrid. There are a few
plugins for that, but i guess to transfer the look&feel of a desktop app into
the web, extJS is more suited than jQuery.
Regards,
Christopher.
Although this topic seams not to be new at all, I stuck with it now
for two days:
I have a working application with the sfDoctrineGuard plugin.
Now I want to extend the user table using a model which extends the
user-informations.
I get an error when trying to build-all using this schema:
sf_guar
Effectively it's a mistake. The good code is below (the problem
remains the same)
all:
doctrine:
class: sfDoctrineDatabase
param:
dsn: mysql:host=localhost;dbname=tracker
username: rfghj
password: jkkhf
doctrine1:
class: sfDoctrineDatabase
param:
dsn
Hi John,
On Thu, Sep 9, 2010 at 9:46 PM, Tofuwarrior wrote:
> Hi,
>
> I want to do a demo of our site and to reset the database every 30
> minutes.
>
> Would it be better to run the demo using a different database
> connection and a separate database or can anyone think of a way to do
> it within
Hi,
On Fri, Sep 10, 2010 at 7:20 AM, ScherlOMatic
wrote:
> Thanks for the info.
>
> So as I guess it's impossible to remove them.
>
> Do you know if the problem is the same with 'button' tag?
The button tag won't have the problem
--
If you want to report a vulnerability issue on symfony, plea
Hi Wanderson,
That looks like what I was looking for, haven't delved into environments
before, just used the default ones.
Thanks,
Paul
On 9 September 2010 22:57, Wanderson wrote:
> Why not make use of environments? You can define 2 envs 'prod' and
> 'demo' in your config/databases.yml settin
AFAIK this command does not work with plugins. You have to manually
create a file in the i18n/ folder of your plugin.
regards,
Matthias
On 8 Sep., 16:28, Juan wrote:
> Hi every body,
>
> I made an app following the Jobeet tutorial and I packaged in a plugin
> without I10N and I18N, currently I n
22 matches
Mail list logo