Hey Tom,
I wrote the ecommerce part of www.skinmedica.com, which uses a quite
complex promotions setup and took some iterations to get it right. I'd
be happy to help.
Our cart works similar to what Antoine said, where the shopping cart
is distinct from the final order, and mostly responsible for
Ok, then there are some more steps you have to do to make it work.
Just creating the module based on the database isn't enough.
Look into the PluginsfGuardUser and other classes in this plugin.
There are some methods you have to copy into your generated class
(classes), or maybe you can inherit
I think that the problem is in routing because the error: Action
general/action does not exist. ... it's looking into the module
general instead of your own module.
On 26 bře, 11:04, Rs232 n.jo...@gmail.com wrote:
hello, here I use the admin generator, I would like to add an action
showInfos on
Use the /apps/APPNAME/i18n folder, use the sf_guard.es_ES.xml
and in the settings.yml:
all:
.settings:
i18n: true
default_culture:es_ES
On 29 bře, 15:42, Javier Garcia tirengar...@gmail.com wrote:
On 03/29/2010 03:05 PM, Massimiliano Arione wrote:
Just use
For one you shouldn't define your custom code withing the Base classes
as far as I know. You should instead create your own classes that
extend that base class. Maybe Doctrine is different that way as I have
not used Doctrine at all, but I don't think I am wrong.
On Tue, Mar 30, 2010 at 12:00 AM,
2010/3/30 Antoine S. antoine.spodobal...@gmail.com:
Hi,
First you don't really need the doc.
The most important is : you can have a cache.yml file at different
level and refine for any module, action, partial.
Second, the contextual option is very important. If it's true, it
will parse the
Do you redirect the default in routing.yml to the module you created?
On 29 Mar, 22:51, ruigoncalves skcra...@gmail.com wrote:
Hi there!
I'm trying to add a custom page to my web application for the times
I'm performing maintenance. I'm trying to test the referred page on my
development
Hello,
I had a translated project compouned by 2 apps : backend and frontend.
I use i18n even for one language projects, it avoid me redefining
sames labels in all backend generator.yml files and it allows further
evolution to internationalization.
Anyway, my problem is in these apps, certains
?php include_partial('user/my_partial', array(
'user' = $user,
'sf_cache_key' = $user-getId()
) ?
http://www.symfony-project.org/book/1_2/12-Caching
Alecs
2010/3/30 Michał Piotrowski mkkp...@gmail.com:
2010/3/30 Antoine S. antoine.spodobal...@gmail.com:
Hi,
First you don't
http://www.symfony-check.org/
On Tue, Mar 30, 2010 at 11:42 AM, wueb webmaster@gmail.com wrote:
Do you redirect the default in routing.yml to the module you created?
On 29 Mar, 22:51, ruigoncalves skcra...@gmail.com wrote:
Hi there!
I'm trying to add a custom page to my web
2010/3/29 ruigoncalves skcra...@gmail.com:
Hi there!
I'm trying to add a custom page to my web application for the times
I'm performing maintenance. I'm trying to test the referred page on my
development environment but always appear the symfony page. I had
already created a module with a
W dniu 30 marca 2010 11:00 użytkownik Michał Piotrowski
mkkp...@gmail.com napisał:
2010/3/29 ruigoncalves skcra...@gmail.com:
Hi there!
I'm trying to add a custom page to my web application for the times
I'm performing maintenance. I'm trying to test the referred page on my
development
bonjour svp j'ai installer le plugin sfGuardDoctrine ça marche mais lors
de création du module sfGuardAuth il affiche Empty module and/or action
after parsing the URL /sfGuardAuth/ (/).
vu que j'ai suivi les etapes du
http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin vraiment
bonjour svp j'ai installer le plugin sfGuardDoctrine ça marche mais lors
de création du module sfGuardAuth il afficheEmpty module and/or action
after parsing the URL /sfGuardAuth/ (/).
vu que j'ai suivi les etapes du
http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin vraiment
english please
On Tue, Mar 30, 2010 at 12:47 PM, safa boubekri boubekri.s...@gmail.com wrote:
bonjour svp j'ai installer le plugin sfGuardDoctrine ça marche mais lors
de création du module sfGuardAuth il affiche
Empty module and/or action after parsing the URL /sfGuardAuth/ (/).
I simply copied the actions.php file found into the cache folder (for
backend) for my frontend module. Then, always from the cache/backend
folder i reproduced the same code used into the templates, copied some
classes, etc. And it works almost well.
Currently i have the same error csrf token:
Thanks, guys! That's a great help. I will most probably take you up on
your offer of help! :) In the meantime, I have a couple of follow on
questions:
1. What do you see the benefits of having a separate cart and order objects?
2. The Promotion classes were the logic takes place, are they also
Hi,
this is my frontend/config/app.yml
all:
sf_doctrineguard_plugin:
app_sf_guard_plugin_signin_form:sfGuardFormSigninByEmail
and i have this code in
plugins/sfDoctrineGuardPlugin/modules/sfGuardAuth/lib/BasesfGuardAuthActions.class.php
class BasesfGuardAuthActions extends
You don't need to check.
The getObject() method returns null if no object associated, and this
is fine with form instance.
Just avoid to echo object's id in the form's configure why are you
doing this???
cheers
Massimiliano
On 30 Mar, 01:07, Veríssimo jveriss...@gmail.com wrote:
I have
Hi,
Configuration files use an arborescent model,
Say you have a app.yml like this
all:
sf_doctrineguard_plugin:
form:sfGuardFormSigninByEmail
You should be able to retrieve the value using
$class = sfConfig::get('app_sf_doctrineguard_plugin_form');
All you have to do is
Try this:
all:
sf_doctrineguard_plugin:
app_sf_guard_plugin_signin_form: sfGuardFormSigninByEmail
$class =
sfConfig::get('app_sf_doctrineguard_plugin_app_sf_guard_plugin_signin_form',
'sfGuardFormSignin');
or change your app.yml to:
all:
sf_guard_plugin:
signin_form:
Works, thanks both!
On 03/30/2010 04:02 PM, Jose Antonio Pio Gil wrote:
Try this:
all:
sf_doctrineguard_plugin:
app_sf_guard_plugin_signin_form: sfGuardFormSigninByEmail
$class =
sfConfig::get('app_sf_doctrineguard_plugin_app_sf_guard_plugin_signin_form',
'sfGuardFormSignin');
or
I want to catch some exceptions in my actions and to display nice and
informative messages for my users.
class utilisateursActions extends autoUtilisateursActions {
public function executeDelete(sfWebRequest $request) {
try {
// do stuff...
Calling redirect() throws an sfStopException [1] to stop the
execution, as it is not needed anymore after you have redirected.
http://trac.symfony-project.org/browser/branches/1.4/lib/action/sfAction.class.php#L204
On Tue, Mar 30, 2010 at 17:14, NOOVEO - Christophe Brun
c.b...@nooveo.fr wrote:
The very last thing the redirect() method does is throw a sfStopException
that's why it goes all the way through try AND catch.
On Tue, Mar 30, 2010 at 12:14 PM, NOOVEO - Christophe Brun c.b...@nooveo.fr
wrote:
I want to catch some exceptions in my actions and to display nice and
informative
Hi,
the signin form of sfDoctrineGuardPlugin shows the widget Remember me.
I suppose it serves for the web browser 'remember' the password, but now
i think it is not very used so i should remove it..
Am i right?
Javi
--
If you want to report a vulnerability issue on symfony, please send it
I'm a bit confused. I altered my factories.yml to look like this...
all:
mailer:
param:
transport:
param:
host: smtp.gmail.com
port: 465
encryption: ssl
username: username
password: password
But, when I try to
It is not the browser's remember password feature.
If checked, the plugin will set a cookie for a longer period, that
kinda acts like a long-term sessionid cookie. It means the user will
not need to log in, even after the browser is closed and the session
cookie is deleted.
On Tue, Mar 30, 2010
No, it sets a cookie with a configurable lifetime (standard is 14
days) and automatically logs the user in to your app (only if he
didn't log out). It's actually a pretty good example for a symfony
filter (not filter form, mind you :)).
And no, the password is not saved anywhere in this
Ah, you beat me to it! :)
Sent from my iPhone
On Mar 30, 2010, at 5:42 PM, Gábor Fási maerl...@gmail.com wrote:
It is not the browser's remember password feature.
If checked, the plugin will set a cookie for a longer period, that
kinda acts like a long-term sessionid cookie. It means the user
I have the same questions about postgres and symfony (or querying a view in
postgres 8.2.4 using symfony 1.4.1) , If I see something useful I let you
now. rey_b...@yahoo.com
2010/3/26 birdmilk birdm...@ukr.net
Hello,
i'd like to ask: Does anybody knows how to call stored procedures via
I have been expanding on the Jobeet tutorial by adding a
JobApplication table that includes the JobeetJob id as job_id each
time after each successful application. All seems to be going well in
the backend app in the application module that by default lists all
the data for each row but I get
hi.
i have question about name rule.
i try to learn symfony, but i confuse below.
action class, executeIndex method,
'$this-jobeet_jobs' at jobeet sample code (underscore_style)
'$this-JobeetJobs' at generated code (UpperCamelCase)
symfony1.3 propel
UpperCamelCase parameter is better symfony
Hi..
I install symfony with the default doctrine ORM enabled (instead of
propel)
I installed sfGuardPlugin using ./symfony plugin:install
sfGuardPlugin
php symfony doctrine:build --all --no-confirmation
This gave an error Fatal error: Class 'sfPropelBaseTask' not found
in .XXX
2010/3/30 gopi mgo...@gmail.com:
Hi..
I install symfony with the default doctrine ORM enabled (instead of
propel)
I installed sfGuardPlugin using ./symfony plugin:install
sfGuardPlugin
php symfony doctrine:build --all --no-confirmation
This gave an error Fatal error: Class
Hi
i have a problem with this type or relations.
in the jobeet tutorial explain the ORM make it relations many to many
automaticly buts don't works. only saved student and guardian but no
student_guardian
example schema:
student: ~
guardian: ~
studiant_guardian: ~
ok. i need
Following steps solved the issue
+ delete the task folder from the plugin [this made sure that the
file using sfPropelBaseTask is not in the system]
+ then try ./symfony plugin:uninstall sfGuardPlugin
thx
gopi
We just chose symfony( after evaluating django, cake, zend and RoR)
and getting
Following steps solved the issue
+ delete the task folder from the plugin [this made sure that the
file using sfPropelBaseTask is not in the system]
+ then try ./symfony plugin:uninstall sfGuardPlugin
thx
gopi
We just chose symfony( after evaluating django, cake, zend and RoR)
and getting
Hello,
After installing plugin sfDoctrineGuardPlugin, it was necessary to do
a new doctrine:build and this error came up.
I searched for it in google, but couldn't find anything.
Has someone any idea? The same happens when we do a doctrine:build --
all
I looked for the file
You are correct, that code from the base class was automatic generated
by symphony. I haven't added any code yet to the extended class.
Perhaps i must overload the base class with other Widgets and
Validators. I have been reading the Widgets and Validators API, but
there isn't must information
The echo was just a debug line, but I should only use the embed form
only if the $this-getObject() != null. Because when it is null the
embed form(Invoiceline) is saved with the variable invoiceid = null.
thank you.
On Mar 30, 2:20 pm, Massimiliano Arione garak...@gmail.com wrote:
You don't
Hi,
Cool Daniel, I am happy that you confirm this choice.
For multi promotion, the weight is a good idea.
I was thinking of a config file, to say if a promotion are combinable
with the other (matrix). But in fact a matrix with weight would be
perfect..
1. First you need to store the cart in the
i'm searching for an exemple of how to embed form in a main form using
ajax
i have an idea about but i can't find an exemple to do this
plz help me
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because
Hey Tom,
any time.
The reason to keep orders and the cart separate is an issue of
separation of concerns, where we're trying to avoid having classes do
too many things (for all the obvious reasons of maintainability,
easier unit testing and future flexibility).
In our system orders are
Hey Antoine,
yeah, the weight is helpful, because it allows you to quickly declare
certain promotions king.. for example, our subtotal promotion has a
weight of 10, where other promotions range around 1-5 so far, so that
it always gets applied last. As promotions get more similar, the
weight
On Tue, Mar 30, 2010 at 8:10 PM, Richtermeister nex...@gmail.com wrote:
Hey Tom,
any time.
The reason to keep orders and the cart separate is an issue of
separation of concerns, where we're trying to avoid having classes do
too many things (for all the obvious reasons of maintainability,
46 matches
Mail list logo