Thanks for answer.
i have checked my cache.ymls. all default caches are disabled. on my module
config. and on my application config. But on my settings.yml cache is on. i
disabled ( cache off) on there and worked fine. Thanks.
Strange thing is that, only on firefox. i checked on ie 7 8. on
Doesn't surprise me. Its very possible that IE might not follow some of the
standard caching mechanisms employed by other browsers. In other words, you
had a caching option enabled, Firefox understood it and followed orders
whereas IE because it doesn't yet respond to that option. In effect this
Hi,
after updating from symfony 1.2.9 to symfony 1.3.0 i can't call parent
Methods Call anymore when i've overload the method:
Class XY extends BaseXY{
public function getWebUser($load=true){
$webUser = parent::getWebUser($load);
if .
}
}
I get an segmation Fault and
Forget to say that i'm using doctrine.
On Dec 2, 10:12 am, ridcully ohnhei...@googlemail.com wrote:
Hi,
after updating from symfony 1.2.9 to symfony 1.3.0 i can't call parent
Methods Call anymore when i've overload the method:
Class XY extends BaseXY{
public function
I found the answer myself.
FYI
http://www.symfony-project.org/forms/1_2/en/01-Form-Creation
http://www.symfony-project.org/forms/1_2/en/03-Forms-for-web-Designers
creating your form class extended from sfForm.
lastly just echo $form...that form has csrf_token.
thanks the documentation :)
On Dec
Hi!
For me, it's a problem of __magic :
You maybe come from Propel's ORM ( who generates *real* getters and
setters )
so you can overload these defined in BaseClass in the final Class.
But with Doctrine, it uses magic __call method for get* and set*, and
delegates to Doctrine_Record::get ( and
Ok does the Getter and Setter generator works for 1.3 ?
I've used this Patch in 1.2.9
On Wed, Dec 2, 2009 at 11:15 AM, Florian sideral.undergro...@gmail.comwrote:
Hi!
For me, it's a problem of __magic :
You maybe come from Propel's ORM ( who generates *real* getters and
setters )
so you
sorry, I didn't answered your question!
I've used this technique with Doctrine1.2 (IHMO both sf 1.2.9 and 1.3
use doctrine 1.2 )
On 2 déc, 11:15, Florian sideral.undergro...@gmail.com wrote:
Hi!
For me, it's a problem of __magic :
You maybe come from Propel's ORM ( who generates *real*
Hi everybody!
I'm a new Symfony User.
I want to setup a form where the user can enter many values.
But, in the validation, the form won't be valid unless a certain data
[an integer field] is greater than an other also entered by the user.
I think it's simple but I'm really novice in Symfony
Just rename one of the two methods. Hope it will resolve the problem!
Bye
On 2 déc, 10:19, ridcully ohnhei...@googlemail.com wrote:
Forget to say that i'm using doctrine.
On Dec 2, 10:12 am, ridcully ohnhei...@googlemail.com wrote:
Hi,
after updating from symfony 1.2.9 to symfony 1.3.0 i
I was use this solution for complicated routes:
?php echo url_for('route_name', array(module = mymodule,
action = myaction, id = (!$form-getObject()-isNew()) ? $form-
getObject()-getId() : '' )) ?
If route name already have predefined `module` and `action` then you
can not determine their in
When you press F5, Internet explorer will make a new request for the main
page.
When you press F5, Firefox will reload the page, but not make a new request
(if cache is enabled). Behaviors are differents, but to make a fresh
reload (CSS, images, etc.) in Firefox : CTRL + MAJ + R.
Have fun,
+1
I really do like symfony because I can develop plugins for everything
and easily re-use code in every applications that needs it. As I
remember, jobeet tutorial encourages you to do so, Pirum release let
me think that Sensio labs wants us to create our own repository too,
so everything
On 1 Dic, 15:23, Daniel Lohse annismcken...@googlemail.com wrote:
This will get messy very fast. Imagine only 20 categories and for this simple
count, you'll already have 20 queries. Not good. :(
Normally, you'd do a count on the category_id column and group by the same
category_id column.
On 1 Dic, 23:43, vegoi...@alumni.uv.es wrote:
someone knows which parts I have to change if I need a semantic web.
If I use xml, is it enough?
You're a bit offtopic...
Anyway, to do semantic web just respect the separation of concerns
between structure (HTML/XHTML), presentation (CSS) and
Hi!
Thanks for your feedback.
As you said the problem was with edit vs. new object creation, where
with edit the value was taken from the object itself.
Best regards,
gabriel
On Dec 2, 1:23 am, Alexandre Salomé alexandre.sal...@gmail.com
wrote:
Hello,
Your default value is English, so
DbFinder is a bad choice for plugins that use the database in a
nontrivial way. Yes, it unifies things at the simplest level
(queries), but if you want to use the features that really distinguish
one ORM from another (column aggregation inheritance, behaviors,
migrations), you're out of luck. And
thanks for answering, and of course each ORM has it's good parts.
For sure specific data logic has to be developed directly using ORM,
and I never said we have to ban ORM specific dev nor that DbFinder has
to implement nested set or geocode behavior. I just find it's a pity
it is no more
Unfortunately it doesn't work. It works only if I have relation one to
many but not when I have relation many to many.
On 1 Gru, 18:22, Jonathan Wage jonw...@gmail.com wrote:
Maybe this?
$this-setDefaults(array(
'authors_list' = array(2)
));
On Tue, Dec 1, 2009 at 7:52 AM,
I am attempting to set up a new project using Facebook Connect and
thought I would give the sfFacebookConnectPlugin a try. It looks like
a great plugin and I would like to thank Fabrice and all the other
contributors for their hard work to make this plugin available. I just
hope I can get it all
Hi,
In The Definitive Guide, it is written that Admin Generator Themes are
overridable *file by file* :
you can bootstrap a new theme by copying the files you want to override from
the default
theme
But it seems that it's not the case anymore : I've created a theme,
but only theme files are
Hello.
I'm having problems installing sfDoctrineGuardPlugin.
When i do symfony plugin:install sfDoctrineGuardPlugin to install
it, he give me a list of Deprecated php functions warnings and in the
end it says:
Unable to get plugin license information for plugin
sfDoctrineGuardPlugin: Unknow
Hi Daniel. Thanks for your answer.
i run that commands you show me but they didn't work. nothing happened
when i executed them, say wasn't found nothing.
any idea?
On 2 Dez, 16:22, Daniel Lohse annismcken...@googlemail.com wrote:
Hello,
I think the PEAR channel was updated to use Pirum, see
Hmm, I'm sorry, it was mostly a shot in the dark by me.
Maybe Fabien knows what's going on?
Daniel
On 2009-12-02, at 2/December, 6:08 PM, wueb wrote:
Hi Daniel. Thanks for your answer.
i run that commands you show me but they didn't work. nothing happened
when i executed them, say wasn't
Thank you Daniel, i appreciate your help.
I never used symfony before, so i belive i think all the procedures
correct.
1-download package
2-extract to plugins folder in symfony
3- run the installation command
On 2 Dez, 17:10, Daniel Lohse annismcken...@googlemail.com wrote:
Hmm, I'm sorry, it
Hi,
I am using a fancybox script with sfDynamics, basically, I use the
fancybox lightbox to select a contact, and then fill a contact_div
with the appropriate info, as selected in the lighbox.
Problem:
after the lighbox action is hidden, the contact_div is filled with the
appropriate info, but
+1 for a DbFinderPlugin support for Symfony = 1.3.
I even think that such a piece of code should be part of Symfony core.
I don't mind if I work with Propel, Doctrine or
AnyOtherSuperFutureORM. I just want it to query my DB.
I shouldn't rewrite all queries and schemas if I need to switch ORM,
Frosty wrote:
+1 for a DbFinderPlugin support for Symfony = 1.3.
I even think that such a piece of code should be part of Symfony core.
I don't mind if I work with Propel, Doctrine or
AnyOtherSuperFutureORM. I just want it to query my DB.
You don't mind? Are you kidding? Then, use plain
On Wed, 2 Dec 2009, artmajeur wrote:
Problem:
after the lighbox action is hidden, the contact_div is filled with the
appropriate info, but the modify link, supposedly the same as the
one used in first place to trigger the lighbox, does not work.
It looks like symfony does not load the
In one of our plugins, I have a custom admin generator theme that I
based off of the admin theme in symfony 1.2's sfDoctrine plugin (lib/
plugins/sfDoctrinePlugin/data/generator/sfDoctrineModule/admin/).
After upgrading symfony to 1.3 I got the following warning message in
the admin generator
Back when I started doing symfony projects, using Propel, I started using
DbFinder for some complicated queries. It was nice. But since I started
using Doctrine on newer projects, I found that there is no need to use
DbFinder any more. I never looked at it to develop an ORM-independent app, I
ok it s here
http://www.symfony-project.org/reference/1_4/en/06-Admin-Generator
it just that few functionality dont exist anyore
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
I have never used type
refClass tell the class to do the relation n:m
and so the local_id and the foreign_id of refClass that make the
relation.
not clear maybe .. see my example, it works
On Dec 1, 2:38 am, Haris Zukanović ha...@eu-softing.com wrote:
Hi,
I have generated doctrine schema.yml
hi,
I am trying to write a plugin to make a table actas Commentable.
so in
class Doctrine_Commentable extends Doctrine_Record_Generator
{
}
I create a table that contain the comments (ORIGINALTABLE_comment), so
I have more than one table, because I have different commentable table
(ex: blog,
Not yet fixed in symfony.
Apply the patch attached to ticket, it will be fixed when a member of the
symfony core team will apply it.
2009/12/2 Alex Gilbert a...@valueneutral.com
In one of our plugins, I have a custom admin generator theme that I
based off of the admin theme in symfony 1.2's
On Dec 1, 11:02 pm, Lee Bolding l...@leesbian.net wrote:
Whilst I'm still not convinced it's the best approach (but one that I'm
currently using... for now), you could fire an event from your model, which
an observer would use to clear the cache.
This is a little cleaner as it loosely
Hi,
Welcome to symfony :)
You must set a postValidator on the validatorSchema of your form.
In the configure() method of your form :
public function configure()
{
$this-setPostValidator(new sfValidatorSchemaCompare(left_field,
sfValidatorSchemaCompare::GREATER_THAN, right_field));
}
sfDoctrinePlugin is bundled with symfony.
Just enable it in your project configuration ;)
2009/12/2 wueb webmaster@gmail.com
Thank you Daniel, i appreciate your help.
I never used symfony before, so i belive i think all the procedures
correct.
1-download package
2-extract to plugins
Assume you have a module my_user for the model myUser.
You can put in apps/frontend/modules/my_user/templates folder
files from cache/frontend/dev/modules/automy_user/templates folder
(something like it).
Just generate the first time the module by going to the generated page in
your browser.
Am
I think he is referring to customizing the admin generator itself via
a theme, and from what I remember there is an issue with that. It
should allow you selective overrides, but so far you still have to
copy the entire generator and make changes there..
I believe the corresponding ticket is this
all required files (CSS and JS) are well included in first place, but
they seem unavailable when in the updated div context.
Here is a typical chain of actions:
- fooAction: sfDynamics::load('jquery.fancybox')
- fooActionSuccess: a class=some_fancybox_class
Yes, count me in. I'm doing regular searches if something changed in the
default theme bundled with symfony so I can pull these changes in. :)
This happened yesterday when Jonathan Wage added something. :)
Overall, I'm pretty happy with my custom theme. Looks good and does its job.
I'm just a
Hi all,
I'm having a strange issue when trying to login using sfGuard. For some
reason, and this only happens randomly, it will redirect to
http://domain/css/main.css.
I can't seem to figure out why this would be happening in the first place
and the fact that it only happens on a
You're right Richtermeister, that's what I way saying. Thanks for the
ticket, cool to sse that I'm not alone with that issue :D
However, after having posting here, I've made a bit dirty hack in my
own Generator class, so that overriding is selective, at least for
templates.
For configuration and
Patrick Fong wrote:
Has anyone experienced this or able to point me in the right direction.
Yes, I have this problem in the past and off course you're missing add
some routes. Look at docs for the topic Customize sfGuardAuth redirect
handling there is your solution. Just add this:
all:
He is talking about sfDoctrineGuardPlugin. Not sfDoctrinePlugin.
Alexandre Salomé schrieb:
sfDoctrinePlugin is bundled with symfony.
Just enable it in your project configuration ;)
2009/12/2 wueb webmaster@gmail.com
Thank you Daniel, i appreciate your help.
I never used symfony
No, you can either
1-download package
2-extract to plugins folder in your Symfony Project, not the Symfony lib!
or
Install them directly via PEAR. If you get an error when using Pear, you should
first check, that PEAR is running correctly.
BTW, what error did you get, you never mentioned.
47 matches
Mail list logo