Re: [symfony-users] [s2][doctrine2] Update LifeCycleCallBack event not working [beta5]

2011-06-22 Thread Marco Pivetta
You should use Doctrine 2 Event listeners if you need access to the EntityManager. Usage of the EntityManager within entities themselves is STRONGLY discouraged, especially within Life-cycle Callbacks. Marco Pivetta http://twitter.com/Ocramius http://marco-pivetta.com On 22 June 2011 18:32

Re: [symfony-users] Re: Learn Symfony2 or switch to Zend ?

2011-06-21 Thread Marco Pivetta
I'm still waiting for Zend Framework 2 MVC to start some new projects... The draft is really interesting, and if it is implemented well as it is defined... Well then Symfony 2 will be just part of my /lib for me :) I'm just waiting a couple of weeks more to see what is going on :D Mar

Re: [symfony-users] Learn Symfony2 or switch to Zend ?

2011-06-20 Thread Marco Pivetta
Zend Framework 2's MVC still has to be implemented. You should really delay the debate ~3 weeks from today before taking any decision... Marco Pivetta http://twitter.com/Ocramius http://marco-pivetta.com On 20 June 2011 17:00, Manu wrote: > My development team created a website with

Re: [symfony-users] Symfony2 doctrine returns not UTF-8 from UTF-8 table

2011-06-17 Thread Marco Pivetta
Could you please check the encoding of your source files? Also check the content-encoding headers sent by your web server :) Marco Pivetta http://twitter.com/Ocramius http://marco-pivetta.com 2011/6/16 Lajos Cseppentő > Hello everybody, > > My problem is the next: > I am new to s

Re: [symfony-users] Re: Symfony and Facebook Hip Hop

2011-06-16 Thread Marco Pivetta
THING else before :) Marco Pivetta http://twitter.com/Ocramius http://marco-pivetta.com On 16 June 2011 16:50, Tristan wrote: > Someone asked a similar question during the sfLive. > Fabien answer that symfony will not support HipHop as it "does not speed-up > a lot the website".

Re: [symfony-users] Symfony 2 - Doctrine and inheritance

2011-06-14 Thread Marco Pivetta
just need to decide if you want to use an @MappedSuperclass or a single or joined table inheritance type :) Marco Pivetta http://twitter.com/Ocramius http://marco-pivetta.com On 14 June 2011 14:47, Jérémy Simonklein wrote: > Hi all, > > I would want to create 2 different classes &qu

[symfony-users] [sf2] Custom User Provider

2011-06-08 Thread Marco Oliveira
Hi everyone, I'm currently implementing an authentication mechanism that relies on a REST webservice. All this webservice allows me to do is to make a call like http://host.com/login/username/password, and the webservice either returns a success or failure message. How do you suggest I do this? Af

Re: [symfony-users] Re: app.php in prod generates blank page

2011-05-25 Thread Marco Roello
ymfony.local\web > > \app.php:0 8.8634 650432 2. > Symfony\Component\HttpKernel\Kernel->handle(???, ???, ???) > C:\www\symfony.local\web\app.php:16 8.8689 > > > > 757232 3. Symfony\Bundle\FrameworkBundle\HttpKernel->handle(???, ???, > ???) C:\www\symfony.local\app\bootstrap.php

Re: [symfony-users] Fatal Error Class ....\Controller\DateTime' not found in Controller

2011-05-20 Thread Marco Pivetta
You just have to use it with the global namespace! Instead of *$d = new DateTime();* use *$d = new \DateTime();* //please note the initial '\', which means we're using a class from the global namespace :) Marco Pivetta @Ocramius <http://twitter.com/Ocramius> http://marco

Re: [symfony-users] Performance

2011-05-19 Thread Marco Pivetta
You could use Xdebug and Cachegrind (or Webgrind) to check what's going wrong in there by profiling script execution times and used resources ;) Marco Pivetta @Ocramius <http://twitter.com/Ocramius> http://marco-pivetta.com On 19 May 2011 09:57, Laxmi wrote: > Hello, > >

Re: [symfony-users] Entities passed to the choice field must be managed

2011-05-18 Thread Marco Pivetta
$myEntity = $entityManager->merge($entity); //does the job :) Marco Pivetta @Ocramius <http://twitter.com/Ocramius> http://marco-pivetta.com On 18 May 2011 15:25, umpirsky wrote: > I have a wizard of few steps. Each step manage separate doctrine > entity, save it in session

Re: [symfony-users] Re: Any chance of creating a new Google group for Symfony2 only?

2011-05-18 Thread Marco Pivetta
+1 as I am COMPLETELY not interested in Symfony 1.X and joined here to just follow some of the issues coming of sf2 :) Marco Pivetta @Ocramius <http://twitter.com/Ocramius> http://marco-pivetta.com On 18 May 2011 09:21, Yanko Simeonoff wrote: > +1 > > > On 05/18/2011

Re: [symfony-users] Testing Symfony2 Doctrine2 Entities against Database

2011-05-17 Thread Marco Pivetta
You should look at Doctrine\Common\Annotations\AnnotationReader#setAnnotationNamespaceAlias($namespace, $alias) That should do the job if you set $namespace = 'orm' and $alias = 'Doctrine\ORM\Mapping' Give it a try :) Marco Pivetta @Ocramius <http://twitter.com/Ocramius>

Re: [symfony-users] Re: notice: serialize() __sleep

2011-05-16 Thread Marco Pivetta
hat can be done only in step 1 (picker?) */ $modifiedUser = $em->getRepository('My\User')->findOneBy(array('fullname' => 'Marco Pivetta')); $em->detach($modifiedUser); $ns->user = $modifiedUser; request 2: $ns = new \Zend_Session_Namespace('test

Re: [symfony-users] doctrine2 numRows

2011-05-16 Thread Marco Pivetta
Sergio, don't worry about the two queries. Even on MySQL it is OFTEN true that using SQL_CALC_FOUND_ROWS is slower than using two different queries. Don't really know why, but I suppose it has to do with internal optimization issues... Marco Pivetta @Ocramius <http://twitter.com/O

Re: [symfony-users] Re: notice: serialize() __sleep

2011-05-16 Thread Marco Pivetta
Careful! The entity manager's detach method does not return anything! Marco Pivetta @Ocramius <http://twitter.com/Ocramius> http://marco-pivetta.com On 16 May 2011 08:55, oscar balladares wrote: > According what I have read so far, serialize/unserialize $entities with > pro

Re: [symfony-users] doctrine2 numRows

2011-05-13 Thread Marco Pivetta
As far as I know, that is not supported by all vendors (see SQLite), thus not by Doctrine 2. You will have to add a COUNT() somewhere :) Marco Pivetta @Ocramius <http://twitter.com/Ocramius> http://marco-pivetta.com On 13 May 2011 18:33, SergioAlbatronic wrote: > Hi, can someone te

Re: [symfony-users] Annotations vs Yaml - which is recommended?

2011-05-13 Thread Marco Pivetta
ache stuff, and if it's not cached, then you'll get SLOW processing with lots of parsing behind the scenes. I personally go for annotations, I like to see what references what directly in my classes, and with a well-configured cache I don't have any troubles :) Marc

Re: [symfony-users] Not a valid entity or mapped super class

2011-05-11 Thread Marco Pivetta
Could you expose the App\TestBundle\Entity\User class with annotations or related mapping? Marco Pivetta @Ocramius <http://twitter.com/Ocramius> http://marco-pivetta.com On 11 May 2011 10:53, lidaa wrote: > > Hi all; > > I have the following error when I try to insert a new

Re: [symfony-users] [FORM] Multitple Entity type

2011-05-11 Thread Marco Pivetta
Did you define a ManyToOne owning side? Marco Pivetta @Ocramius <http://twitter.com/Ocramius> http://marco-pivetta.com On 10 May 2011 21:35, Vincent Lechemin wrote: > Hi, > > I'm trying to use the entity type with a OneToMany relationship, but > it's not working.

Re: [symfony-users] ManyToMany self related

2011-05-11 Thread Marco Pivetta
though. You should really dive a bit in stuff like the ObjectHydrator and look at what it does :) Marco Pivetta @Ocramius <http://twitter.com/Ocramius> http://marco-pivetta.com On 10 May 2011 19:14, Konrad Korzeniowski wrote: > Hello! > > Using symfony2 and doctrine I'm trying

Re: [symfony-users] ORM tutorials

2011-05-11 Thread Marco Pivetta
Well, did you try with http://www.doctrine-project.org/docs/orm/2.0/en/tutorials/getting-started-xml-edition.html? Marco Pivetta @Ocramius <http://twitter.com/Ocramius> http://marco-pivetta.com On 10 May 2011 09:00, user123 wrote: > Hi guys, I need a ORM tutorial. I'm coded some

Re: [symfony-users] Re: notice: serialize() __sleep

2011-05-11 Thread Marco Pivetta
serialize proxies! detach them from the entity manager first to get a clean POPO!) Marco Pivetta @Ocramius <http://twitter.com/Ocramius> http://marco-pivetta.com On 11 May 2011 01:10, Christophe COEVOET wrote: > Le 10/05/2011 13:25, AndyPI a écrit : > > Don't know if it he

Re: [symfony-users] Re: Symfony 2 and MSSQL

2011-05-04 Thread Marco Pivetta
Did you try with pdo_dblib? http://www.php.net/manual/en/ref.pdo-dblib.php Marco Pivetta @Ocramius <http://twitter.com/Ocramius> http://marco-pivetta.com On 4 May 2011 13:07, apm wrote: > Which driver i must use for doctrine/mssql ? > > dbo_sqlsrv ?? > > I cant sta

Re: [symfony-users] Dealing with VERY complex query

2011-05-04 Thread Marco Pivetta
SQL is way faster than PHP processing. I would really go for a filtered join. That's what SQL is there for :) Just be sure to filter by index and to return a limited resultset. Sequential scan in PHP has to be ABSOLUTELY avoided :) Marco Pivetta @Ocramius <http://twitter.com/Ocrami

Re: [symfony-users] Dealing with VERY complex query

2011-05-04 Thread Marco Pivetta
Oh, sorry, forgot to mention that you should use the UNION syntax to fasten up this stuff a bit. Avoid using OR operator in queries, it almost destroys every attempt to use an index :) Marco Pivetta @Ocramius <http://twitter.com/Ocramius> http://marco-pivetta.com On 4 May 2011 12:21,

Re: [symfony-users] Doctrine:generate:entities

2011-05-02 Thread Marco Pivetta
Entities are not generated by their setters or getters :) Please take some time to look at the Object Hydrator ;) Marco Pivetta @Ocramius <http://twitter.com/Ocramius> http://marco-pivetta.com On 30 April 2011 02:34, sergio wrote: > Regarding doctrine:generate:entities... I wond

Re: [symfony-users] Doctrine2: custom entity repository error

2011-04-16 Thread Marco Pivetta
Just try *$repo = $em->getRepository('Vendor\MyBundle\Entity\User');* The EntityManager will resolve the correct EntityRepository for you ;) Marco Pivetta @Ocramius <http://twitter.com/Ocramius> http://marco-pivetta.com On 12 April 2011 17:02, Dmitry Bykadorov wrote: &

[symfony-users] Routing with random optional parameters

2011-03-11 Thread Marco Oliveira
Hi everyone, I'm currently in the process of learning Symfony 2, while implementing a project, and I came to a point in which I need to specify a route that can take multiple optional parameters, and in an arbitrary order. I was expecting to find something about it on the documentation about Ro

[symfony-users] [Symfony 2] Routing with random optional parameters

2011-03-11 Thread Marco Oliveira
Hi everyone, I'm currently in the process of learning Symfony 2, while implementing a project, and I came to a point in which I need to specify a route that can take multiple optional parameters, and in an arbitrary order. I was expecting to find something about it on the documentation about Ro

[symfony-users] Sf1.4 doctrine fixtures unique rowids

2010-09-24 Thread Marco Rocci
On a side note. I haven't been able to find something in the documentation to clear up the rowid uniqueness constraint. Must the rowids be unique within their table? Or must they be unique across all tables specified in the fixtures? TIA and regards, Marco Rocci -- If you want to report a vul

[symfony-users] Sf1.4 doctrine fixtures inline won't insert data

2010-09-24 Thread Marco Rocci
Type: office , number: 9328475932 } TIA and regards, Marco Rocci -- 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.

[symfony-users] Sf1.4 doctrine fixtures inline won't insert data

2010-09-24 Thread Marco Rocci
: contact_1: { ContactType: office , number: 9328475932 } TIA and regards, Marco Rocci -- 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

Re: [symfony-users] [symfony 1.4] boolean custom field best practice

2010-09-09 Thread Marco Rocci
Il 09/09/2010 10.35, jota ha scritto: Have you tried to use the sfValidatorBoolean? It should conver 'on' to true Thanks. That works, and is much more cleaner. Marco Rocci -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-projec

[symfony-users] [symfony 1.4] boolean custom field best practice

2010-09-09 Thread Marco Rocci
ield($value) { $this->customField = ($value === true || $value == 'on'); } ... but I was actually hoping there was something better. Are there some primitives or php/symfony functions to handle these type conversions in a standard way? Any best practice? TIA and regards, M

Re: [symfony-users] readonly related value in form

2010-09-08 Thread Marco Rocci
I solved this. Maybe the solution can be of use to someone else. Il 06/09/2010 9.27, Marco Rocci ha scritto: Symfony 1.4 Doctrine admin backend application With this simplified schema: Product: columns: code: { type: string(10) } name: { type: string(100

Re: [symfony-users] readonly related value in form

2010-09-06 Thread Marco Rocci
chael [_form.php] echo $form['receipt_amount']->renderRow(array('readonly')); This was the bit I was missing. In my case I don't need the javascript, as the value does not have to be changed. I just didn't know how to render it readonly in the layout. Tha

[symfony-users] readonly related value in form

2010-09-06 Thread Marco Rocci
w main form. But I mostly think I just missed something... it wouldn't seem to be that difficult. Any ideas or pointers (tutorials, howtos)? TIA and regards, Marco Rocci -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received th

[symfony-users] Doctrine - readonly hydrated value

2010-09-03 Thread Marco Rocci
product id. I could easily put that in readonly and the user would be satisfied. I have not tried layouts or partials... up to now I've been doing everything in the model and in the forms. I'm using a custom variation of the ahDoctrineEasyEmbeddedRelationsPlugin to embed the related Del

[symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin is adding empty rows

2010-08-26 Thread Marco Rocci
de] What have I missed? Reading the doc, I was convinced that if the fields listed in "considerNewFormEmptyFields" were empty, then no insert would be tried on the db. What happens is that I do get a new record, with year=0. Should I tweak the model so it doesn't save them, or is the

[symfony-users] Re: Problem with YUI autocomplete helper

2010-01-19 Thread Marco V.
P.S. I use the ysfYUI plugin. -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For mor

[symfony-users] Problem with YUI autocomplete helper

2010-01-19 Thread Marco V.
Hi to all, I'm here because I have another problem with the YUI autocomplete helper. In my index file (contains in templates folder) I call the helper in this way: yui_input_auto_complete_tag('test', "'', 'people/autocomplete', array ('autocomplete' => 'off'), array('use_style' => true)); and

[symfony-users] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-18 Thread Marco V.
Seems that I have resolved my problem with this plug-in this morning, after that I did "symfony cc" in command line... :) Thanks to all... On 17 Dic, 13:05, "Marco V." wrote: > OK, thank you Stèphane... > Someone can help me please? > > On 17 Dic, 13:01, Stéphane

[symfony-users] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-17 Thread Marco V.
about Your Environmental Responsibility! > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! > > On Thu, Dec 17, 2009 at 12:49 PM, Marco V. wrote: > > My autoload.yml file contains: > > autoload: > >  # project > >  project: > >    name:          

[symfony-users] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-17 Thread Marco V.
t; On Thu, Dec 17, 2009 at 12:35 PM, Marco V. wrote: > > Now I have solved last problem, but when I try to call a function of > > ysfYUI class in my code, I haven't access on it, because it isn't > > visible... :( > > The class ysfYUI.class.php is in /lib/v

[symfony-users] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-17 Thread Marco V.
Now I have solved last problem, but when I try to call a function of ysfYUI class in my code, I haven't access on it, because it isn't visible... :( The class ysfYUI.class.php is in /lib/vendor/symfony/lib/yui directory. What is the problem? P.S. Thank you all so far. :) On 17 Dic, 11:

[symfony-users] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-17 Thread Marco V.
> Before Printing, Think about Your Environmental Responsibility! > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! > > On Thu, Dec 17, 2009 at 11:13 AM, Marco V. wrote: > > Ok, I changed my line of code with yours, but now i receive this > > error: Fatal error

[symfony-users] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-17 Thread Marco V.
tre Responsabilitée Environnementale! > > On Thu, Dec 17, 2009 at 10:53 AM, Marco V. wrote: > > It's alredy enabled because in my ProjectConfiguration.class.php there > > is this line of code: $this->enableAllPluginsExcept(array > > ('sfPropelPlugin', '

[symfony-users] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-17 Thread Marco V.
dding a command like > $this->enablePlugins(array(...other pulgins, $pluginName)) > > :) > > Before Printing, Think about Your Environmental Responsibility! > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! > > On Thu, Dec 17, 2009 at 10:43 AM,

[symfony-users] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-17 Thread Marco V.
Stéphane > > > Hi, > > > Try in command line "pear download $package_url" ? > > > Before Printing, Think about Your Environmental Responsibility! > > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! > > > 2009/12/16

[symfony-users] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-16 Thread Marco V.
oad the pear package, if any? > > sent via htc magic > > On Dec 16, 2009 7:20 PM, "Marco V." wrote: > > Sorry, can someone give me the link for downloading "ysfYUIPlugin"? > Because I download  it from this > link:http://svn.symfony-project.org/plugins/ysfYU

[symfony-users] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-16 Thread Marco V.
lp!!! :( :( On 16 Dic, 16:40, "Marco V." wrote: > My ProjectConfiguration class contains this code, and I think that is > enable by default. > > > require_once dirname(__FILE__).'/../lib/vendor/symfony/lib/autoload/ > sfCoreAutoload.class.php'; > sf

[symfony-users] Re: Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-16 Thread Marco V.
n 16 Dic, 16:29, Alexandru-Emil Lupu wrote: > have you enabled the plugin from config/ProjectConfiguration.class.php ? > > > > On Wed, Dec 16, 2009 at 5:19 PM, Marco V. wrote: > > Hi, I'm a new user here and I hope to be welcomed. :) > > I have some problems to inst

[symfony-users] Problem with "ysfYUIPlugin" installation... Help me please!!! :(

2009-12-16 Thread Marco V.
Hi, I'm a new user here and I hope to be welcomed. :) I have some problems to installing and using "ysfYUIPlugin". When i try to install this plugin, the cli return me this message "No release available for plugin "ysfYUIPlugin"". I copied ysfYUIPlugin folder in projectDirectory/plugins but don't w

[symfony-users] serving static content

2008-11-30 Thread Marco
Hi all, i notice that some web apps, when i try to download static files (zip, pdf expecially), give an undefined error that causes corruption of downloaded files. What could be? My system is: Debian stable, apache 2.2 mpm-prefork, php 5.2.0-8, symfony 1.0.19 Thanks to anyone that can help me.

[symfony-users] Re: Facebook-like Newsfeed

2008-07-16 Thread Marco Schierhorn
Thanks for your replies. The creation of the XML Feed is a good idea. The Newsfeed should look like : ( FN = fistname , LN = last name) - "FN LN changed his/her profile photo" - "FN LN created a new photo album" - "FN LN added new photos to an album" - "FN LN and FN2 LN2 are now connected" - "FN

[symfony-users] Facebook-like Newsfeed

2008-07-15 Thread Marco Schierhorn
Hello Symfony friends, we are running an online community with 20.000 member currently. We are just nearly finished with developing a new version written in symfony. Now i want to implement a facebook-like newsfeed. There should be different kind of entries like " XYZ uploaded new Album Pictures",

[symfony-users] [help] amfphp, sabreamf, symfony

2008-06-29 Thread Marco
Hi, i need to create a simple application. My application has a simple modules that reads and writes on a db using propel and symfony crud tools. Now i need to create a flash frontend. I found 2 libraries: AMFPHP and SABREAMF. There is also a symfony plugin for AMFPHP. How can i use them? Do you

[symfony-users] Running Symfony on a subdomain

2008-05-08 Thread Marco Schierhorn
start properly"[QSA,L] Did I put something wrong in it? When I change some values i get a 500 error. Do you have some hints or suggestions? Regards, Marco --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfo

[symfony-users] Re: symfony propel-dump-data - Maximum function nesting level

2008-05-08 Thread Marco Schierhorn
Hi, i have tried all your suggestions, but i didnt get it to work. Do you need some additional informations? I really appreciate any help / suggestions. Regards, Marco Weitergeleitete Nachricht Von: Olivier LOYNET <[EMAIL PROTECTED]> Antwort an: symfony

[symfony-users] Re: symfony propel-dump-data - Maximum function nesting level

2008-05-06 Thread Marco Schierhorn
Thanks for your help. I have increased now the memory limit and disabled the xdebugger. Now i get this message : [EMAIL PROTECTED]:~/workspace/decayenne$ symfony propel-dump-data frontend mokosch.yml >> propeldumping data to "/home/marco/wo...enne/data/fixtures/mokosch.yml&qu

[symfony-users] symfony propel-dump-data - Maximum function nesting level

2008-05-06 Thread Marco Schierhorn
I have tried to execute symfony propel-dump-data frontend test_data.yml But i do always get a "PHP Fatal error: Maximum function nesting level of '100' reached, aborting! in /home/marco/workspace/decayenne/lib/vendor/symfony/lib/addon/propel/sfPropelData.class.php on

[symfony-users] Re: Best approach to get data from a sfLucenePager object

2008-04-03 Thread Marco Schierhorn
from the index lucene search ( up to 15.000 at the moment )... Best, Marco Weitergeleitete Nachricht Von: Marco Schierhorn <[EMAIL PROTECTED]> Antwort an: symfony-users@googlegroups.com An: symfony-users@googlegroups.com Betreff: [symfony-users] Best approach to get dat

[symfony-users] Best approach to get data from a sfLucenePager object

2008-04-03 Thread Marco Schierhorn
ore approaches. Does anybody have some hints for me ? I really appreciate any help... Thanks, Marco -- Marco Schierhorn Technical Director --- ESV Media GmbH | Meerbuscher Str. 64-78 40670 Meerbusch | Germany Tel. +49 (0)2159 / 9297-930 Fax.

[symfony-users] sfLucene - Drop Values from the results object (sfLucenePager)

2008-04-03 Thread Marco Schierhorn
n bcs. of the several ids in the where clause ( WHERE members.id IN (1,2,3,4,5,6,7...1000). So my next thought is to clean the sfLucenePager Object directly and use it as my template pager, so i don't need the extra pager query. Any help would be really appreciated. Many thanks, Marco -

[symfony-users] Lucene Integration

2008-03-31 Thread Marco Schierhorn
d really appreciate any help. Best regards, Marco - Marco Schierhorn Technical Director --- ESV Media GmbH | Meerbuscher Str. 64-78 40670 Meerbusch | Germany Tel. +49 (0)2159 / 9297-930 Fax. +49 (0)2159 / 9297-931 ww

[symfony-users] Generators: list template and selection of related items

2008-02-05 Thread Marco
Hi all, I've just read the book's chapter about the generators. I think they are great and really useful for doing some RAD. However, I still wonder which is the best approach for managing this case: class Order fields: id, date, description, discount, delivery_address, etc. class OrderProduct

[symfony-users] AW: [symfony-users] Re: Square Facebook type thumbnail

2007-12-10 Thread Marco Schierhorn
Im always using http://phpthumb.sourceforge.net/ It’s a great library, which will fits nearly all your needs in resizing or cropping images. Cheers, Marco   -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Nicolas Perriault Gesendet

[symfony-users] sfSimpleCMSPlugin problems

2007-11-10 Thread Marco C.
alization, but if i create new page, only the localization slot are translated correctly in italian. What do i wrong? Thanks     Marco --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users&q

[symfony-users] Use of APC in symfony

2007-10-30 Thread Marco Schierhorn
PHPInfo : http://dcytest.esv-media.de/phpinfo.php Im getting desperate and would be really glad if someone could help me. Any suggestions would be appcreciated... Thanks a lot. Cheers, Marco -Ursprüngliche Nachricht- Von: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von A

[symfony-users] Use of APC in symfony

2007-10-30 Thread Marco Schierhorn
/modules/account/template s/_accountCompany.php on line 114 Does anyone know about this error? Or does somebody know a solution for this error? Cheers, Marco -- Marco Schierhorn Technical Director --- ESV Media GmbH Meerbuscher

[symfony-users] Re: Unit/Functional test on plugin?

2007-10-23 Thread Marco Catunda
rform a unit test or a functional test on a plugin? > > > > Currently i am porting the nested set plugin to propel 1.3 but I want to run > > the standard tests before submitting the patches. > > > > Carsten > > > > > > > > > > > > &

[symfony-users] Fulltext Search Lucene / Sphinx / MyISAM ?

2007-10-17 Thread Marco Schierhorn
same problem / decision in the past? Any suggestions would be really appreciated. Thanks a lot. Regards, Marco -- Marco Schierhorn Technical Director --- ESV Media GmbH Meerbuscher Str. 64-78 | 40670 Meerbusch Tel. +49

[symfony-users] Ajax Interaction like on the new Xing Profile

2007-10-11 Thread Marco Schierhorn
the save button it will call another action which will save the values and display the old div tag ( the old partial ) in his success view. Any suggestions and ideas would be really appreciated… Thanks, Marco -- Marco Schierhorn Technical Director

[symfony-users] Unifying hydrated or custom query results for my templates/views

2007-10-09 Thread Marco Schierhorn
t;getId()] = array('fullname' => $nw->getFullName(), 'city'=> $nw->getWorldHomecities()->getName()); } return $newestMember; [/CODE] Any help or thoughts would be appreciated… Kind regards Marco -- Marco Schierhorn Technical Director -

[symfony-users] AW: [symfony-users] Re: "Ignorelist" Check

2007-10-08 Thread Marco Schierhorn
add that to the sql queries. But now when I read better your question :)) you need to use sfFunctionCache() http://www.symfony-project.com/api/1_0/sfFunctionCache Kupo Marco Schierhorn wrote: > > Hey, I’m thinking about a good solution for the following problem: > > We’ve an online

[symfony-users] "Ignorelist" Check

2007-10-08 Thread Marco Schierhorn
} while ($ign2->next()) { $ignoreList2[] = $ign2->get("0"); } $this->ignoreList = array_unique($ignoreList1,$ignoreList2); } Any help or suggestions would be r

[symfony-users] Best way to use Model Classes

2007-10-08 Thread Marco Schierhorn
in my action class like this : $this->nextBirthdays = $MembersPeer:: getNextBirthdays(); Any help and suggestions would be really appreciated. Thanks, Marco -- Marco Schierhorn Technical Director --- ESV Media GmbH Me

[symfony-users] Best ways to use data from the database in the templates / actions

2007-10-08 Thread Marco Schierhorn
s in all my templates or actions ? But I think this will create some “overload” of array etc.? What do you think or use for yourself? Any help or thoughts would be appreciated… Kind regards Marco -- Marco Schierhorn Technical Director

[symfony-users] phpThumb

2007-09-27 Thread Marco Schierhorn
Hey, did already somebody tries to implement phpThumb as a plugin ? Or is there a "how-to" somewhere ? I use phpThumb for several project and in cakePhp too. It always fit my needs for every kind of "thumbnailing". Cheers Marco -- Marco Schierhorn

[symfony-users] Plugin test autoload problem

2007-09-06 Thread Marco Catunda
n isset(self::$classes[$class]) ? self::$classes[$class] : null; } Is there any workaround for this issue? I think if sfContext::getInstance()->retrieveObjects method make a exist class test before call getClassPath will resolve it, won't it? I'm using symfony 1.0.7 -- Marco Ca

[symfony-users] Re: set culture

2007-08-21 Thread Marco Catunda
on > > Cheers, > > Marc. > > 2007/8/15, Marco Catunda < [EMAIL PROTECTED]>: > > > > Hi, > > > > In i18n file config I set default culture like this: > > > > all: > > default_culture: pt_BR > > # source:

[symfony-users] Re: set culture

2007-08-16 Thread Marco Catunda
I just set it but the sf_culture didn't change. :( -- Marco Catunda 2007/8/16, Marc Torres <[EMAIL PROTECTED]>: > I think you should set to on the i18n in settings.yml: > > all: > .settings: > i18n: on > > Cheers, > > Marc. > >

[symfony-users] set culture

2007-08-15 Thread Marco Catunda
le: default What's wrong? I've closed the browser and deletet all cookies... I've used input_date_tag with rich=true option, this helper function use culture to deal with date format. -- Marco Catunda --~--~-~--~~~---~--~~ You received this m

[symfony-users] AMFPHP or SABREAMF integration

2007-08-04 Thread Marco
Hi, how can i integrate AMFPHP or SABREAMF in symfony? Have you any example? Thanks M. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email

[symfony-users] Re: IE7

2007-07-28 Thread Marco Catunda
l Microsoft Script Debugger: > Get it from: > http://www.microsoft.com/downloads/details.aspx?familyid=2F465BE0-94FD-4569-B3C4-DFFDF19CCD99&displaylang=en > HowTo use it: http://www.codestore.net/store.nsf/unid/DOMT-5UBUVW?OpenDocument > > Further Links: &

[symfony-users] Re: How could I propose modifications at plugins

2007-07-27 Thread Marco Catunda
s you can work around this trouble. Thanks -- Marco Catunda 2007/7/27, ksn135 <[EMAIL PROTECTED]>: > > You can use your own custom CSS-file per application basis. > Add the following lines to your app.yml and customize it to suit your > needs: > > sfSexyButtonPlugin:

[symfony-users] Re: How could I propose modifications at plugins

2007-07-26 Thread Marco Catunda
f it is a particular trouble of our environment or it's a generic trouble. Thanks 2007/7/26, ksn135 <[EMAIL PROTECTED]>: > > I'm the author of sfSexyButtonPlugin. > Tell me, why you change image path in CSS to "../images/.." ? > > On Jul 26, 4:50 am, "

[symfony-users] How could I propose modifications at plugins

2007-07-25 Thread Marco Catunda
repeat; +a.sexy-button span, a.sexy-button:hover span { +background: transparent url('../images/bg_button_span.gif') no-repeat; display: block; line-height: 14px; padding: 5px 0 5px 18px; -- Marco Catunda --~--~-~--~~~---~--~~ You rec

[symfony-users] Re: Add css from plugins

2007-07-19 Thread Marco Catunda
I've just tested it and didn't work. -- Marco Catunda 2007/7/19, Colin Williams <[EMAIL PROTECTED]>: > > > > How the best way to set stylesheet's plugins for app in view.yml? > > > > I've used the following way > > > > stylesheets: [

[symfony-users] Re: symfony propel-load-data cli

2007-07-19 Thread Marco Catunda
Hi, This sounds is good. Would you know when we see it in production tag? -- Marco Catunda 2007/7/19, Francois Zaninotto <[EMAIL PROTECTED]>: > > Hi, > > A similar change has recently been made to the trunk: > > http://trac.symfony-project.com/trac/cha

[symfony-users] Add css from plugins

2007-07-19 Thread Marco Catunda
s -- web sfMyPlugin (symbolic link to ../plugins/sfMyPlugin/web) How the best way to set stylesheet's plugins for app in view.yml? I've used the following way stylesheets: [ ../sfMyPlugin/css/main.css ] Thanks -- Marco Catunda --~--~-~--~~~---~--~---

[symfony-users] symfony propel-load-data cli

2007-07-19 Thread Marco Catunda
oadData($fixtures_dir,$conndb); } } What do I have to do to see this patch in official source code? If it's possible, of course!! -- Marco Catunda --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sym

[symfony-users] Re: sfPrototypePlugin

2007-07-10 Thread Marco Catunda
ive language is Portuguese. > > thanks... > -- Marco Catunda --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com

[symfony-users] Plugin unit test

2007-07-07 Thread Marco Catunda
Hi, I've just developed a plugin with some unit test. How could a run this tests using symfony command line. The "symfony test-all" command doesn't see any test in plugin directory. -- Marco Catunda --~--~-~--~~~---~--~~ You received this

[symfony-users] init-plugin

2007-07-05 Thread Marco Catunda
Why symfony doesn't have init-plugin or plugin-init option to make skeleton file structure, like sfSamplePlugin in symfonys book? I intend to build one, what do you think? Any other ideas? Is it make sense to you? Thanks -- Marco Ca

[symfony-users] Re: Path problems running symfony as CGI

2007-07-05 Thread Marco Catunda
blem. I made a work around for this problem forcing SCRIPT_NAME value before into to symfony code as an example below: getController()->dispatch(); I don't know if it is the best solution so I would like to see other alternatives... -- Marco Catunda 2007/7/5, TecLliure - Marc Mon

[symfony-users] Re: Many Template

2007-07-02 Thread Marco Catunda
Arnaud, Perhaps, this snippet could help you http://www.symfony-project.com/snippets/snippet/115 -- Marco Catunda 2007/7/2, Arnaud <[EMAIL PROTECTED]>: > > Hi, > > I've got a problem ! > > I would like to have a different template for each of my customer. >

[symfony-users] getNbResults() error

2007-06-23 Thread Marco
Hi, i've noticed that when i try to filter data using a join, the pager function getNbResults() returns an incorrect number of results. For example in a set of 45171 if i try to filter records using a join i get 119501 as total records that it's impossible (using the same query in mysql i get 21,4