Hi,
I have four projects in the htdocs directory and each have separate database
in databases.yml.
Now I have user login/password in each of the four different databases.
How can I write the code in symfony when user change password, it gets
changed in all the databases.
Regards
Deepak Bhatia
Hi,
it's basically really just a question of view.
Here's an old blog post about creating an iphone view:
http://www.symfony-project.org/blog/2008/06/09/how-to-create-an-optimized-version-of-your-website-for-the-iphone-in-symfony-1-1
Most of it is still valid and it works.
But there is one
Hi,
it's basically really just a question of view.
Here's an old blog post about creating an iphone view:
http://www.symfony-project.org/blog/2008/06/09/how-to-create-an-optimized-version-of-your-website-for-the-iphone-in-symfony-1-1
Most of it is still valid and it works.
But there is one
I've had the same issue recently and decided NOT to go with nested set.
Nested set is a great tool if you really have hierarchical data that should
be represented by a tree of unknown depth and need to input new data
anywhere in the tree.
In my case, and it seems true in your case too, I was sure
I had to do something like that some time ago to integrate the logins of 2
soft we were using (not our code) and did so using triggers in mysql.
On Tue, Sep 7, 2010 at 2:07 PM, DEEPAK BHATIA toreachdee...@gmail.comwrote:
Hi,
I have four projects in the htdocs directory and each have separate
Hi,
Thanks for your mail.
Can get some google link which is useful or send me some sample code of
mysql trigger and how it gets invoked in symfony project ?
Regards
Deepak Bhatia
On Tue, Sep 7, 2010 at 2:31 PM, Sebastien Armand [Pink] khe...@gmail.comwrote:
I had to do something like that
I absolutely cannot and I'm sorry for that! It was a few years ago that I
did it!
My original meaning was that you probably would not need any PHP and symfony
in here.
See the mysql doc about triggers and stored procedures:
On certain actions (any password modification in your case) you will start
Thanks, this stuff is great. Never thought of that.
On Sep 7, 3:49 am, klemens_u klem...@ull.at wrote:
Hi,
it's basically really just a question of view.
Here's an old blog post about creating an iphone
view:http://www.symfony-project.org/blog/2008/06/09/how-to-create-an-optim...
Most of
Hi,
hi, any way to retrieve from the layout to the name of the template of
the action?
--
Javi
Ubuntu 10.04, sf 1.4
--
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
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
Merci de votre message.
Nos bureaux sont présentement fermés aujourd'hui, le 6 septembre 2010. En cas
d’urgence, vous pouvez rejoindre notre équipe technique en envoyant un courriel
à l’adresse suivante: supp...@twistimage.com.
Cordialement,
Saad Tazi
- - - - - - - - - - - - -
Thank you for
On 7 Set, 07:52, DEEPAK BHATIA toreachdee...@gmail.com wrote:
I tried accessing some other database than specified in databases.yml. But
below is not working. Please help.
$con=mysql_connect(localhost,root,);
if(!$con)
{
echo Database Connection Not Estabilished\n;
Hi,
What do you want to do ?
Have you looked at slots ?
On 7 sep, 15:03, Javier Garcia tirengar...@gmail.com wrote:
Hi,
hi, any way to retrieve from the layout to the name of the template of
the action?
--
Javi
Ubuntu 10.04, sf 1.4
--
If you want to report a vulnerability issue on
I am sure you mean this..
$connection = Propel::getConnection();
$query = 'SELECT MAX(?) AS max FROM ?';
$statement = $connection-prepareStatement($query);
$statement-setString(1, ArticlePeer::CREATED_AT);
$statement-setString(2, ArticlePeer::TABLE_NAME);
$resultset = $statement-executeQuery();
Thanks, Do I need to put various connections from different databases.yml ?
all:
propel:
class: sfPropelDatabase
param:
dsn: 'mysql://root:@localhost/rtdb'
all:
propel:
class: sfPropelDatabase
param:
I'm getting that too and cannot find a work-around. I'm guessing this
is PR3 current state because I _just_ got my src from the head
revision of the PR3 branch, right off github.
Stephane
On Aug 28, 6:14 pm, Tomen Meta tommi.enen...@gmail.com wrote:
I checked out the current PR3 Branch from
Hi everyone,
I'm currently running into an issue regarding the development of a custom
action in the list view in the backend part of my application.
Here is my generator.yml file :
config:
actions: ~
fields:
description: { label: Nom }
address:{ label:
There are a few work-arounds. When passing your form to the view, you can wrap
it in a Symfony\Component\OutputEscaper\SafeDecorator object:
return $this-render('ExampleBundle:Test:create', array('form' = new
SafeDecorator($form)));
or you can use the getRawValue() method on the automagically
Sorry, I had the group name wrong, this is updated.
I am a php/xhtml/css/ etc developer in DFW Texas. I have recently
started teaching myself Symfony, and hope to learn more here in your
group. I don't know if I can post my group here, but I have started a
layouts group for those interested in
dear friends,
I have the following tables.
News [id, title, …]
Education [id, title…..]
Health [id, title, ….]
ContentImage [id, contented (id of the News, Education, Health), type
(like News, Education, Health), path…]
The News, Education, Health may or may not have images in the
ContentImage
Hi, I currently have an action (A1) that performs some manipulation of
objects saved in the session, and then loads a view containing an
iframe.
The iframe loads another action (A2) from the same application which
relies on objects saved to the session in A1. Sometimes, particularly
when
Is your schema already fixed?
If not, the normal way to do this would be to have m-m join tables:
NewsImage [ news_id, image_id ]
EducationImage [ education_id, image_id ]
HealthImage [ health_id, image_id]
and remove:
content_id
type
from the ContentImage table.
Then if you want all news
The session is closed after all content is sent from A1.
You should find a way to delay the load of the iframe (via Javascript
maybe) to make sure that A1 has completed and that A2 can load the new
content.
gabriel
On Sep 7, 6:04 pm, Phil Moorhouse moorhouse.p...@gmail.com wrote:
Hi, I
class articleActions extends sfActions
{
public function executeIndex(sfWebRequest $request)
{
// sorting
if ($request-getParameter('sort') $this-
isValidSortColumn($request-getParameter('sort')))
{
$this-setSort(array($request-getParameter('sort'), $request-
I keep seeing IE8 problems here with Symfony.
Is IE8 turning out to be another IE6 - a long lived NIGHTMARE for
developers?
On Sep 2, 11:27 am, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
Damn... it indeed was a cache problem.
God I hate IE
Thank you!
On 2 sep, 15:18, Gustavo
Hello,
I have created a schema.yml but I do not know how to create 2
relations for a same table. How can i disctinct those 2 relations
(rsource). With a suffix ?
Here is my code :
TrackerPret:
actAs: { Timestampable: ~ }
connection: doctrine
attributes:
export: tables
columns:
I'm using ahDoctrineEasyEmbeddedRelationsPlugin trunk (svn export)
with symfony 1.4.6 but having a problem displaying the relation when
using generator.yml.
Everything works great if I do `edit: display: ~` and `new: display:
~` in generator.yml. But I am using the `display:` option to order my
Hi!
The getRawValue work-around didn't work (cannot call getRawValue on a
non-object) but the SafeDecorator one worked fine! If it doesn't take much
time, I would like to understand what was causing this bug and why using the
SafeDecorator fixed it. I'm new to Symfony2 and trying to understand
I also ran into this problem. I solved it by defining the fields in the form
class (DocumentsForm in your case).
For the fields I didn't wanted to display, I applied the widget InputHidden.
I'm interested also if there's a better way, this one is not really clean.
Le 7 sept. 2010 à 18:44, John
Hi,
just define a different name for each of them, and use a class attribute:
relations:
User: {class: rsource, local: oid_user, foreign: oid,
foreignAlias: ASAusers }
CDP: {class: rsource, local: oid_cdp, foreign: oid, foreignAlias:
ASAcdps }
Hope this helps,
Pietro
Hello,
Hello: I'm getting this error when I'm trying to implement this code.
The first code block with $user seems to work as the database is
updated, but the second part fails. This is the error:
Unknown record property / related component “sf_guard_user” on
“sfGuardUserProfile”
public function
The Context:
a) Add new tables via mysql
b) ./symfony doctrine:build-schema
c) ./symfony doctrine:build --all-classes --model --forms --filters
Item b) in the above list creates an issue:
It reads the sf_guard_* tables and places the YAML into the newly
generated /config/doctrine/schema.yml file.
Hi all,
I have a backend application with various access cerdentials for a
variety of modules.
I'd like to build a navigation list, which should obviously be
adjusted depending on what access rights you have. Is there a
reasonably easy way to find out if the current user can access a
route? If
Hi,
Thanks for your reply.
I cannot change my table structure.. I need to use the existing
table..
regards
Shihab
On Sep 7, 8:55 pm, Phil Moorhouse moorhouse.p...@gmail.com wrote:
Is your schema already fixed?
If not, the normal way to do this would be to have m-m join tables:
NewsImage [
34 matches
Mail list logo