To create a profile schema that inherits from the sfGuardUser. Anyway
i have created a new profile schema in a way that doesn't use inheritance.
On 07/31/2010 05:35 PM, Tom Ptacnik wrote:
Maybe your problem is a bug, but.
Why do you want to use a simple inheritance. I don't think that
Hello,
in an ongoing project I'm not able to edit the database via
migrations.
When I edit something in the schema.yml and run doctrine:generate-
migrations-diff I get:
doctrine generating migration diff
file+ C:\Users\bieder\AppData\Local\Temp/doctrine_schema_15481.yml
Notice: Undefined
Thanks, very helpful.
Paul
On 30 July 2010 11:54, Oscar Saraza oscarsar...@gmail.com wrote:
I already do something like that... I think.
My solution: to create a subclass of the symfony class sfActions (in
my case ssActions, placed in the lib folder). This subclass contains
the preExecute
Hey,
I've just been reading up on email best practices for 1.3/1.4.
It all makes sense, however my project has two applications (frontend
and backend) and both will be sending the same email.
I don't want to duplicate my template into both applications, but at
the same time I don't know how to
You should use a plugin, put your templates in the same module and
enable the plugin for all the
applications that need it.
gabriel
On Aug 2, 5:26 pm, Stephen Melrose step...@sekka.co.uk wrote:
Hey,
I've just been reading up on email best practices for 1.3/1.4.
It all makes sense,
I thought of that, but it just seems like the wrong approach, as the
templates aren't really a plugin.
Is that really the best approach?
On 2 August 2010 15:51, pghoratiu pghora...@gmail.com wrote:
You should use a plugin, put your templates in the same module and
enable the plugin for all
If it's just a text email, you could encapsulate the message in a message
object so you don't have to use the template. But, as I said, this would be
just for a text email, With HTML it would be a little cumbersome.
On Mon, Aug 2, 2010 at 12:11 PM, Stephen Melrose step...@sekka.co.ukwrote:
I
Hey Stephen,
while there's nothing wrong with creating a plugin, even to just share
one template, for emails I prefer to wrap them in classes.
As Gustavo says, it sucks a bit if there's complex HTML involved, and
I'm currently looking at integrating the templating standalone
component to be able
Hi,
after installing sfDoctrineApplyPlugin-1.1.1, extracting Zend at
lib/vendor/Zend, executing sfApply/apply and submitting the form that
appears i get this errror:
*Quote:*
Warning: include_once(Zend/Loader/Autoloader.php)
[function.include-once]: failed to open stream: No such file
Anyone?
On Fri, Jul 30, 2010 at 1:13 PM, Gustavo Adrian comfortablynum...@gmail.com
wrote:
Hi all,
This is a topic I've been avoiding for a long time but now I need to deploy
my app on a subdirectory and there's no other option. IMPORTANTE: It's on a
SHARED HOSTING.
The app dir structure
The easy way to do this is with a symlink from public_html to web (on your
symfony proyect) symlink will work if apache is correctly configured, ie,
followsymlink is active.
Other easy option is change the way the front controller loads the config,
just put every thing from your web directory in
Hey all,
So, I just downloaded symfony and decided to try and learn it by
following the Jobeet tutorial. After some bumps and starts (not sure
if the symfony website maintainers read this, but they might think of
including a specialized install guide for Snow Leopard, took me
forever and a ton of
Hi,
I want to ask for help. I want to add new data type to my schema.yml.
I have a field name IP (IP Address) in my application. My Postgresql
database has 'inet' data type but I can't use it in my symfony.
Could you help me and show some links how to do it?
Thank you.
Rafał
--
If you want
First of all, thanks for your reply!
The problem of creating a symlink comes from the fact that I have a shared
hosting. Is there a way of doing this on a shared hosting without ssh
access?.
Anyway, remember that my app is working 100%. My problem lies in the place
where my app looks for the
Hi,
2010/8/3 Rafał inad...@gmail.com:
Hi,
I want to ask for help. I want to add new data type to my schema.yml.
I have a field name IP (IP Address) in my application. My Postgresql
database has 'inet' data type but I can't use it in my symfony.
Could you help me and show some links how to
On Aug 3, 12:14 am, Michał Piotrowski mkkp...@gmail.com wrote:
Hi,
2010/8/3 Rafał inad...@gmail.com:
Hi,
I want to ask for help. I want to add new data type to my schema.yml.
I have a field name IP (IP Address) in my application. My Postgresql
database has 'inet' data type but I
2010/8/3 Rafał inad...@gmail.com:
On Aug 3, 12:14 am, Michał Piotrowski mkkp...@gmail.com wrote:
Hi,
2010/8/3 Rafał inad...@gmail.com:
Hi,
I want to ask for help. I want to add new data type to my schema.yml.
I have a field name IP (IP Address) in my application. My Postgresql
AFAIK Doctrine manages the Inet type when using pgSql.
http://www.symfony-project.org/doctrine/1_2/en/04-Schema-Files
Search for INET
I don't know if there is any inet type validator on the symfony-doctrine,
but that's not that difficult to code as a validator, then modify generator
form to add
Thanks for your answer.
Unfortunatelly I'm using Propel and can't change it into Doctrine.
Rafał
On Tue, Aug 3, 2010 at 12:38 AM, Stéphane stephane.er...@gmail.com wrote:
AFAIK Doctrine manages the Inet type when using pgSql.
http://www.symfony-project.org/doctrine/1_2/en/04-Schema-Files
2010/8/3 RaV inad...@gmail.com:
Thanks for your answer.
Unfortunatelly I'm using Propel and can't change it into Doctrine.
According to
http://www.propelorm.org/wiki/Documentation/1.5/Schema
you can use this type in Propel 1.5 (maybe in 1.4 too)
Form validator can be done in sfValidatorRegex.
Yes but I think you are missing the point Richtermeister. All this
extending makes it more difficult with the admin generator involved.
Not difficult perse'. But just extra effort. If one can achieve the
same thing using just plain sfForm, why do we need to go through admin
generator to do the
I think it depends on your requirements. If you need a backend with simple
CRUD modules.. then you could use the generator to create them in just a few
minutes. Maybe then customize the templates and there you go. You have a
fully CRUD module ready to go in notime. You could of course extend the
Hi there.
a...@litho:~/src/edge-web$ php -v
PHP 5.3.2-1ubuntu4.2 with Suhosin-Patch (cli) (built: May 13 2010
20:01:00)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
a...@litho:~/src/edge-web$ ./symfony -Version
symfony version 1.4.5
You can make it with PHP!
It's a hard, but functional, way: http://php.net/symlink
On Mon, 2010-08-02 at 19:00 -0300, Gustavo Adrian wrote:
First of all, thanks for your reply!
The problem of creating a symlink comes from the fact that I have a
shared hosting. Is there a way of doing
Finally I did it from with a cron, but it didn't work. Is there a way to
configure the .htaccess file to make the trick?
Thanks
On Mon, Aug 2, 2010 at 11:34 PM, Anibal Sólon anibalso...@gmail.com wrote:
You can make it with PHP!
It's a hard, but functional, way: http://php.net/symlink
Or you could just check for the code of the response in your jQuery script
that handles the AJAX form. If it's 401, then you redirect the user to the
login page.
On Sun, Aug 1, 2010 at 10:31 AM, Tristan tristan.bessou...@gmail.comwrote:
mmhhh i'm not sure in understand everything here ='(
Hey Christian,
I guess I haven't really played with the non-admin-generator version
of admin modules.
However, I think Gustavo speaks to my point that so far the admin
generator fits my requirements quite well.
Specifically, for my work I build quite a lot of different apps and
sites with
I see the admin generator more as a starting point, something you can
build upon.
We have in our application backend both simple and complicated admin
modules.
Simple - generated admin modules where only a couple of partials are
used, no actions override.
Complicated - rewritten editing + custom
28 matches
Mail list logo