Hey Eno/Ajay..and everyone else who is interested in this post (:)).
Here is one another post to the multitude of posts that I have been
posting...my problem is not resolved yet...and thanks for your patience and
consideration to help me out:
here is what I did:
*php symfony publish:assets
Hola neoslink,
I'm not sure to understand your question... The way symfony behaves regarding
database operations is exactly the same, whether you activate your scripts with
AJAX or a standard (synchronous) request. If you're looking for a tutorial
about implementing AJAX itself in symfony,
hello,
show if you have a good path on
sfConfig::get('sf_lib_dir').'/vendor'.PATH_SEPARATOR.get_include_path().
But i think is good but i don't no why he doesn't work
2010/4/26 Omar El Mazny omar.elma...@gmail.com
i added
static protected $zendLoaded = false;
static public function
Hello Sir,
I used to have a backend module generated by the doctrine admin-gen.
I've changed the schema to replace the sf_guard_user_id in one of the
table by a user_id.
Here is the old schema:
SectionUser:
columns:
sf_guard_user_id:{ type: integer(4), notnull:
true }
Finally i changed 'off' by 'false' and know it works :).
Javi
On 04/26/2010 03:54 PM, Omar El Mazny wrote:
when the default is on your module will always stay secured even if
it's false so don't set a default secure each module separately
On Apr 25, 5:08 pm, Javier
On 04/22/2010 10:50 AM, Gareth McCumskey wrote:
If you need to have different content areas in your main layout then
use slots. Thats what they were defined for;)
Hi Gareth,
i'm suspicious with your answer because i think you spent many time with
sf, could you give more details? i can't
hello
:( the file reports.xslis not generate change '/var/tmp/ to /tmp
because i have wamp/tmp
thank you
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Hi!
I have a problem with data fixtures, please help me! I have some data
fixture files with relations and some users in the users.yml. I would
like to set a fix ID for the superadministrator user. The superadmin
definition is the first in the users.yml, however it gets the #3, I
don't know
Ok, found a way to correct that.
I've added the local and foreign id in the many-to-many relationships.
I've got an old table where I haven't updated the sf_guard_user_id to
user_id because i'm gonna drop it later, and it seems that when I
don't specify a local/foreign_id Doctrine is using this
Hi Gareth,
All makes sense - bit surprised retrieveByPk doesn't do this which is
I guess where my question came from.
Appreciate you taking the time to share your experience and approach.
Thanks,
Paul
On Apr 23, 7:10 pm, Gareth McCumskey gmccums...@gmail.com wrote:
My simple guess is that
Hi Both,
thanks for advice both.
Still no joy - sigh :-(
I enabled sfguardAuth and rebuilt everything.
I created the admin user but still no joy.
Anyone got any other ideas? If I understood what was happening I might
be able to track it down but unfortunately I am not experienced enough
with
Hi,
If you can reset the auto increment id then you can do what i do which
is a bit of a hack but works.
Follow the instructions here:
http://osterman.com/wordpress/2007/09/28/symfony-propel-auto_increment-offset
and set the autoincrement to be 1.
(This only works when you do build-all-load.
Forgot to add the following in the backend settings.yml
login_module: sfGuardAuth
login_action: signin
secure_module: sfGuardAuth
secure_action: secure
So for anyone stuck with this the solution was either, add this AND
sfGuardAuth in the
On 26 Apr, 18:11, Rytis Daugirdas rytis.daugir...@gmail.com wrote:
To output a list of nodes, obviously.
It looks a bit overkilled to me.
Just retrieve the whole table ordered by left, and you'll get the
entire tree.
cheers
Massimiiano
--
If you want to report a vulnerability issue on
Could you get the file in /tmp ?
On Tue, Apr 27, 2010 at 4:37 PM, safa boubekri boubekri.s...@gmail.com wrote:
hello
:( the file reports.xsl is not generate change '/var/tmp/ to /tmp
because i have wamp/tmp
thank you
--
If you want to report a vulnerability issue on symfony,
By which command are you trying to load fixtures?
... if by symfony doctrine:data-load, the old data stay in the db
and therefore you can't insert another record with id 1
if you try symfony doctrine:build --all --and-load --no-
confirmation then it should be ok, because the db will be erased
Ho Both,
Thanks for your thoughts on this.
If you can spare the time, I have one further question about this
I am currently returning the ul that the tree menu function needs
from the action which calls a fetchTree function which is currently in
the model. This was just for development purposes
The symfony integration is compatible with any browser (the PHP). I'm
using sfAdminThemeJrollerPlugin and I've noticed with Safari that some
of the submit buttons/images are offset improperly as well.
The problem(s) you're referring to are CSS related -- so far as I know
theme theme(s) available
SOLVED!
Doctrine is very clever, it does NOT load data sequentially from a yml
file.
The order of the data in a yml file IS NOT the order of the data in
the database.
I think doctrine loads all the yml files from the fixtures folder and
put them to the database one by one.
If a data has a
Massimiliano,
Since when iterators are overkill? IMO, your suggestion is overkill.
Propel documentation clearly states that a tree can be easily
traversed via its iterator interface. Why should I write additional
code (however simple) to get the functionality that is already
provided? Besides,
hi there,
Evert:
1- Why don't you have an `id` column on reservation in your schema?
as i saw on jobeete example, they do not define any id column for
any of the DB tables..thats because symfony add it automatically for
each db table.
2- have you tried to define the innerJoin as -
Hi Guys!
Who can use Docrine + ODBC + SQL 2005 (on windows) And how?
Can anyone use CRUD scaffolding ?
The generated code (for me) isn't work's correctly... :(
We have a big project. And after 2 weeks sucking I can't use doctrine
AND /OR PDO ODBC execute (for insert).
It's not a big problem
This is from users BaseForm.
'profileid' = new sfWidgetFormDoctrineChoice(array('model' =
$this-getRelatedModelName('Profile'), 'add_empty' = false)),
its displaying the Description column of my profile table.
how can i display the profile column in my Profile table ?
Can any one.?
Thanks
I've been looking through the docs and API for methods that would
allow me to do this, but I find myself running around in circles and
getting a little frustrated by lack of examples/clarity. What I need
to get is an array of field_name/default_value pairs as set up in the
form class. Let's say my
Estoy trabajando en mi primer proyecto con symfony 1.4 (antes
trabajaba con el 1.0). Lo exporté usando project:deploy, siguiendo el
tutorial de jobeet. Al entrar a la aplicación, muestra la página de
login correctamente, pero al insertar el usuario y contraseña
(existente en la BD) genera este
Is there a way to pass an ORDER BY to the Doctrine findBy method? Or
do I have to create a custom query at that point?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Souhaitant utiliser symfony dans mes développements, je me suis
penchée sur la question juridique. il semblerait que la licence MIT
n'est pas de valeur en France, et que les licences à utiliser serait
des licences CECILL dont les clauses se rapprocheraient des licences
GPL, BSD...
Serait il
Le 27/04/2010 16:19, Delphine a écrit :
Souhaitant utiliser symfony dans mes développements, je me suis
penchée sur la question juridique. il semblerait que la licence MIT
n'est pas de valeur en France, et que les licences à utiliser serait
des licences CECILL dont les clauses se rapprocheraient
On Tue, 27 Apr 2010, saki wrote:
The order of the data in a yml file IS NOT the order of the data in
the database.
I think doctrine loads all the yml files from the fixtures folder and
put them to the database one by one.
If you have several fixtures files, I think it loads them
Bonjour à tous,
J'ai commencé à utiliser (ou plutôt bidouiller) Symfony il y a un mois
pour un stage qui commence depuis cette semaine. Un point que j'avais
volontairement passé, parce qu'il ne devait pas en être question
durant mon stage, était l'internationalisation.
Vu que mon stage à débuté
2010/4/27 François calv...@gmail.com
Bonjour à tous,
J'ai commencé à utiliser (ou plutôt bidouiller) Symfony il y a un mois
pour un stage qui commence depuis cette semaine. Un point que j'avais
volontairement passé, parce qu'il ne devait pas en être question
durant mon stage, était
On Mon, 26 Apr 2010, Parijat Kalia wrote:
Hey Eno/Ajay..and everyone else who is interested in this post (:)).
Here is one another post to the multitude of posts that I have been
posting...my problem is not resolved yet...and thanks for your patience and
consideration to help me out:
foreach($schema-getDefaults() as *$field_name* = $default) {
print $default . \n;
}
?
On Mon, Apr 26, 2010 at 9:22 PM, notbrain notbr...@gmail.com wrote:
I've been looking through the docs and API for methods that would
allow me to do this, but I find myself running around in circles and
hi,
I have some data stored in session variable, what i need to do, is to
load that data in the select and radio button that i have in my
template. My template looks like:
...
?php echo $form['cmb_adults_1']-render(array('class' =
txt_boxes_peq)) ?
?php echo
For the past 5 days, I have been trying to find a healthy solution to the
migrations issue that we propellers tend to face. Apparently, whenever you
create a new database table or make changes to an existing database table,
you will make the changes/additions to the *schema.yml* and you are going
Here is what I do
/*Code for timeLimits*/
if(isset($_SESSION['timeLimits']))
{
$timeLimits = $_SESSION['timeLimits'];
$i=0;
$dropDownMenu = array();
$dropDownMenu['0'] = 'Configured';
foreach($timeLimits as $timeLimit)
{
$i++;
hi,
The problem is that i am using a form, so instead of cretaing a
select_tag in the template, i use for example something like this in
my form class:
...
new sfWidgetFormSelect(array( 'choices' = $this-getGroupChoices() ))
...
in the form class a tryed to retrieve my session variables using
hi,
The problem is that i am using a form, so instead of cretaing a
select_tag in the template, i use for example something like this
in
my form class:
...
new sfWidgetFormSelect(array( 'choices' = $this-
getGroupChoices() ))
...
in the form class a tryed to retrieve my session variables using
someone with an idea..still having problems with this...
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send email
'profileid' = new sfWidgetFormDoctrineChoice(array('model' =
$this-getRelatedModelName('Profile'), 'add_empty' = false)),
You can change the above code to include a method to call to display
the column you want. For example:
?php,
#method: The method to use to display object values
40 matches
Mail list logo