Re: [symfony-users] Re: optional sfGuard user_id in plugin

2011-04-26 Thread Martin Settle
Thanks. I figured there must be something simple... I'll give that a try tonight. Marti. On Tue, Apr 26, 2011 at 1:02 AM, Roman Sichny wrote: > if ($user instanceOf sfGuardSecurityUser) > ... > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfon

[symfony-users] optional sfGuard user_id in plugin

2011-04-25 Thread Martin Settle
Hi all. I am working on an accounting general ledger plugin that I expect to use in some projects I have planned. I would like to have a created_by field in one of my tables set automatically, but only if sfGuardPlugin is in use in the specific application. Is there a way to test if sfGuard is be

[symfony-users] symfony multyple postgres schemas

2011-01-12 Thread martin
Hello peopple, I'm having some problems using postgres in symfony, I have a database with several schemas defined on it and I can't make it work. I tryed both propel and doctrine and allway arrived to the same result: "SQLSTATE[3F000]: Invalid schema name:". Does anyone knows if there is some d

Re: [symfony-users] how custom error404

2010-11-30 Thread Martin Ibarra Cervantes
you index.php file: > $configuration = ProjectConfiguration::getApplicationConfiguration( > 'frontend', 'prod', false); > * > * > * > * > *Francis.* > > > 2010/11/30 Martin Ibarra Cervantes > > yes i clear my cache with >> >> symfony cc &g

[symfony-users] updating a field in action

2010-11-30 Thread Martin Henits
I know it is a very silly question. How can I just update a db field in one of the actions? suppose that my code is like this: public function executeConfirm(sfWebRequest $request) { $foo = Doctrine::getTable('foo')->find(array($request- >getParameter('foo_id'))); $foo->setConfirmed(1); $f

Re: [symfony-users] how custom error404

2010-11-29 Thread Martin Ibarra Cervantes
at 22:19, Martin Ibarra Cervantes < > ibarra.cervan...@gmail.com> wrote: > >> hi , i try change the error 404 bue i cant :-( >> >> in my settings i put >> >> all: >> .settings: >> # Form security secret (CSRF protection) >> c

[symfony-users] how custom error404

2010-11-29 Thread Martin Ibarra Cervantes
hi , i try change the error 404 bue i cant :-( in my settings i put all: .settings: # Form security secret (CSRF protection) csrf_secret:c605b8fd5372fe7b296c9656301e11e69721f2cdd32248 # Output escaping settings escaping_strategy: true escaping_method:

[symfony-users] clear form after post

2010-11-16 Thread Martin Ibarra Cervantes
hi, i try clear my form after post with jq_submit_to_remote, i try with this line 'complete' => jq_visual_effect('fadeOut', '#indicator'). "$('#contact_form').resetForm()", but dont work , dont clear or reset the input fields. 'eventocomentario/create',

[symfony-users] jq_submit_to_remote examples

2010-11-14 Thread Martin Ibarra Cervantes
Hi, guys, i want use jquery on my forms but i dont have idea how use this. for example this my little form getObject()->isNew()): ?> Usuario

Re: [symfony-users] user-symfony

2010-11-10 Thread Martin Ibarra Cervantes
ExtJs ? que es ExtJS ? 2010/11/10 Alex Pilon : > Hola, mi español no es bueno, sin embargo la integración de ExtJS es tan > simple como incluir las bibliotecas ExtJS en sus aplicaciones de archivo > view.yml. Más allá de eso creo que todo lo demás es una cuestión de usar > ExtJS con php como lo ha

Re: [symfony-users] Password fields

2010-11-09 Thread Martin Ibarra Cervantes
Please read the form on symfony or the chapter ... read the book jobeet , you can :-) On Sun, Nov 7, 2010 at 9:22 PM, Gareth McCumskey wrote: > erm ... HTML 101 > > On Mon, Nov 8, 2010 at 12:09 AM, xpanshun wrote: >> >> How can I make the input of a certain field in a generated form (on >> t

Re: [symfony-users] Trying to manage the credentials of the actions

2010-11-03 Thread Martin Ibarra Cervantes
the 2nd questión its with addCredential() when your user is authenticated example: $user = $this->getUser(); if($r->getNivelId() == 1){ $user->addCredential('basic'); } On Wed, Nov 3, 2010 at 9:52 AM, Javier Garcia wr

Re: [symfony-users] 1 action , 2 templates

2010-11-03 Thread Martin Ibarra Cervantes
you can use partitials for the view and in the acction pass the myvar include_partitial('name', array('myvar'=>$myvar)); On Wed, Nov 3, 2010 at 1:29 PM, Parijat Kalia wrote: > Hey guys, > I have 2 very identical templates which have only a minor difference to > them. Their action is exactly t

Re: [symfony-users] Stylesheets issue

2010-11-02 Thread Martin Ibarra Cervantes
in your module->config->view.yml you can put the .css for this module. On Tue, Nov 2, 2010 at 3:23 PM, Gábor Fási wrote: > You're looking for `use_stylesheet()`. `include_stylesheets()` outputs > the tags for all the css files in your view.yml and > `use_stylesheet()` calls. > > On Tue, Nov 2,

Re: [symfony-users] Display html tags from table

2010-10-31 Thread Martin Ibarra Cervantes
gentle-introduction/1_4/en/07-Inside-the-View-Layer#chapter_07_output_escaping > > On Sun, Oct 31, 2010 at 03:23, Martin Ibarra Cervantes > wrote: >> hi, iam using the tiny mce wysinyg editor and i am save the html tags >> into the database, >> >> with my editor sa

[symfony-users] Re: Display html tags from table

2010-10-30 Thread Martin Ibarra Cervantes
hi, i now read the php.net and i use html_entity_decode thanks ... On Sat, Oct 30, 2010 at 7:23 PM, Martin Ibarra Cervantes wrote: > hi, iam using the tiny mce wysinyg editor and i am save the html tags > into the database, > > with my editor save: > > Este es un bonito dia

[symfony-users] Display html tags from table

2010-10-30 Thread Martin Ibarra Cervantes
hi, iam using the tiny mce wysinyg editor and i am save the html tags into the database, with my editor save: Este es un bonito dia buen dia but when i get the data back from the table and try display in my view echo $dias->getDescripcion(); display with all html tags and not display bolds

Re: [symfony-users] Re: sfguardauth // How to display a layout depending on user's group

2010-10-22 Thread Martin Ibarra Cervantes
you can use the file view.yml on your modules On Fri, Oct 22, 2010 at 7:29 AM, ziclo wrote: > Hello Gustavo, > > I don't understand what you mean by "Then in your own actions ". Which > action are you speaking. > I just want to change the layout accordingly to user's group jsut > after login. >

Re: [symfony-users] Different types of admins

2010-10-20 Thread Martin Ibarra Cervantes
you can try with credentials http://vit.free.fr/symfony/0.6.3/security.html and a frontend public, a frontend private , and a backend private for your admin add and remove on the tables. the frontend private you can use credentials and your file security on your config module. On Wed, Oct 20,

Re: [symfony-users] Question with form

2010-10-19 Thread Martin Ibarra Cervantes
maybe you can try use in your form view. On Tue, Oct 19, 2010 at 11:30 AM, eliana m. wrote: > hello. > I have a question. > I can build a form with a field that does not exist in the model? > Thank you for your help. > > -- > If you want to report a vulnerability issue on symfony, please sen

Re: [symfony-users] Error sencillo

2010-10-19 Thread Martin Ibarra Cervantes
Creo que eso es el theme podrian ser bien las GTK theme o bien creo que hicieron el ejemplo en una Mac OS :-) que es lo mas seguro .. On Tue, Oct 19, 2010 at 6:54 AM, wrote: > > Miren descargué las imagenes y los css, los puse dentro del directorio web > pero hay css que no hacen su funcion p

Re: [symfony-users] front end product gallery

2010-10-17 Thread Martin Ibarra Cervantes
hi, you can try use this class with sfThumbnailPlugin http://mic.misretratos.com/2010/10/17/sfresizedfile/ regards. On Sun, Oct 17, 2010 at 9:45 AM, xpanshun wrote: > Hi all, > > > I am trying to create a product gallery on the front end of my site. > > In my database a have a product table wi

[symfony-users] How work sfErrorNotifierPlugin

2010-10-13 Thread Martin Ibarra Cervantes
Hi, how work sfErrorNotifierPlugin in the README file * In the file /plugins/sfErrorNotifierPlugin/config/app.yml, set the email address(es) to deliver the notifications to, for the environments you want to enable (tipically only 'prod'). You can comma-separate multiple recipients. {{{

Re: [symfony-users] how create empty module

2010-10-04 Thread Martin Ibarra Cervantes
bre 2010 à 13:34 -0700, Martin Ibarra Cervantes a > écrit : >> symfony doctrine:generate-module [--theme="..."] [--generate-in-cache] >> [--non-verbose-templates] [--with-show] [--singular="..."] >> [--plural="..."] [--route-prefix="..."

[symfony-users] how create empty module

2010-10-04 Thread Martin Ibarra Cervantes
Hi, i need a empty module on my application but when try this m...@sopias ~/code/Projects/php/retratos/trunk $ ./symfony doctrine:generate-module public feed display this error symfony doctrine:generate-module [--theme="..."] [--generate-in-cache] [--non-verbose-templates] [--with-show] [--sing

[symfony-users] Re: Jobeet Tutorial - routing problem

2010-09-23 Thread martin
Thank you Eno, it was the rewrite module, now it works as expected. Regards, Martin On Sep 23, 4:39 am, Eno wrote: > On Wed, 22 Sep 2010, martin wrote: > > The homepage works well, but any other URL's keep telling me that the > > requested URL wasn't found.. > &g

[symfony-users] Jobeet Tutorial - routing problem

2010-09-22 Thread martin
to work. What could be the problem? Could you please explain? I think I didn't miss anything in the tutorial, but one never knows :) Thank you for your response! Regards, martin -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com Y

[symfony-users] Re: sfWidgetFormDoctrineChoice to show non-multi selectable list

2010-09-18 Thread Martin Henits
well I found the answer, so I share it in case of any help for others. new sfWidgetFormDoctrineChoice(array( 'model' => $this->getRelatedModelName('myModule'), 'add_empty' => 'Please Select ...'), a

[symfony-users] sfWidgetFormDoctrineChoice to show non-multi selectable list

2010-09-18 Thread Martin Henits
Hi, I was wondering if anyone knows how to use sfWidgetFormDoctrineChoice to display a non-multi selectable list? I don't want to see a drop-down menu. I want to see a list of options in a box. Also I don't want to set the multiple option as true. any clue? thanks a lot -- If you want to repor

[symfony-users] Re: deploy on cPanel shared host

2010-09-12 Thread Martin Henits
; Back then installing via pear was the recommended way to go. > > Since sf1.2 (afaik) the best practise is to include symfony under > lib/vendor for each project. > > > > On Sat, Sep 4, 2010 at 18:39, Martin Henits wrote: > > Hi, > > > I was wondering if i

[symfony-users] deploy on cPanel shared host

2010-09-04 Thread Martin Henits
Hi, I was wondering if it is possible to deploy a project that has been developed based on a .tgz symfony installation method (the preferred method as mentioned on documents) on a shared cPanel hosting. I looked at http://trac.symfony-project.org/wiki/InstallingSymfonyOnSharedHostNoSsh, but it s

[symfony-users] Loading factories.yml configuration from task

2010-08-24 Thread Martin Chatterton
Hi, I'm using symfony 1.4.6 and I have the following configuration set in my factories.yml file... # all: mailer: param: transport: class: Swift_SendmailTransport param: command: /usr/sbin/sendmail -oi -t # ...to overcome the 'double dot' issue as des

[symfony-users] Re: admin generator: filtered result

2010-07-21 Thread Martin Henits
thats Doctrine On Jul 20, 6:43 pm, Richtermeister wrote: > What I usually do is add a custom column like "Number of Comments", > and I link that number to a custom filtered list of comments that > belong to this post. > > Are you using Propel or Doctrine? > > Danie

[symfony-users] admin generator: filtered result

2010-07-20 Thread Martin Henits
I have 2 tables named blog_post and blog_post_comment. The blogPost module, lists all the blog posts. but it is needed to display a link to each blog post comments beside each post in the list. this can be done using object_actions. but the problem is if the user click on the link, she will see a

[symfony-users] Re: actions in generator.yml

2010-07-20 Thread Martin Henits
: foo} > > On 17 čnc, 20:12, Martin Henits wrote: > > > > > Hi all, > > > I wrote the following piece of code in thegenerator.ymlof a module: > > > list: > >  actions: > >     foo: > >       action: foo > > > but instea

[symfony-users] backend: forward to another module

2010-07-20 Thread Martin Henits
in one of my backend modules (mod_A), I need to put a link to the edit page of another backend module (mod_B). I did it in this way: - in mod_A/config/generator.yml, I wrote: list: actions: mylink: action: mylink - and in mod_A/actions/actions.class.

[symfony-users] actions in generator.yml

2010-07-17 Thread Martin Henits
Hi all, I wrote the following piece of code in the generator.yml of a module: list: actions: foo: action: foo but instead of having an action linking to "backend_dev.php/my_module/ foo", it is linked to "backend_dev.php/my_module/foo/action" therefore, when I click on it, I see: A

[symfony-users] Re: backend module

2010-06-28 Thread Martin Henits
can do that too. Just unset the field you want to have a > text field for and take this approach instead, you'll be finished in no time. > :) > > Cheers, Daniel > > On 26.06.2010, at 14:20, Martin Henits wrote: > > > I clicked on the logs and realised the error is

[symfony-users] backend and __toString()

2010-06-26 Thread Martin Henits
I have overrided the __toString() method for my users model to display first name and sirname. can I display something like this in the backend's user's list? I mean when I create a new module based on the user model, the displayed list has first name and surname. I want to just display a single f

[symfony-users] Re: backend module

2010-06-26 Thread Martin Henits
menu in a backend module's filter. On Jun 26, 1:11 pm, Martin Henits wrote: > Thanks, I changed the filter according to your suggestion and as it > was desired I can see an edit box instead of a drop-down menu. But > whenever I want to search for something (i.e. whenever I click o

[symfony-users] Re: backend module

2010-06-26 Thread Martin Henits
thanks, this worked. On Jun 24, 8:16 am, Tom Ptacnik wrote: > Or you can disable it in generator.yml > > try this... > > list: >         object_actions: >           _edit:  ~ >         batch_actions: {} >         actions: {} > > On 23 čvn, 08:30, slau wrote: > > > Hi, > > > for 1) > > seehttp:/

[symfony-users] Re: backend module

2010-06-26 Thread Martin Henits
Thanks, I changed the filter according to your suggestion and as it was desired I can see an edit box instead of a drop-down menu. But whenever I want to search for something (i.e. whenever I click on the filter button), even with an empty form for search, I see this error: "SQLSTATE[HY093]: Invali

[symfony-users] fieldset

2010-06-22 Thread Martin Henits
Hi, Is there any way to have fieldset in symfony forms? -- 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. To post to this group, send emai

[symfony-users] backend module

2010-06-22 Thread Martin Henits
Hi I have created a backend module to display logs (from the logs table or model). 1. since it should just display logs, there shouldn't be a "+new" link in the page. How can I remove that link? 2. I want to be able to filter the list based on the user field. but since the table (model) has the u

[symfony-users] Where did Symfony 1.0 core config data move, after 1.1 was introduced?

2010-04-08 Thread martin
On Symfony 1.0, if I go to the core data config folder: /usr/share/php/data/symfony/config I see: autoload.yml config_handlers.yml core_compile.yml filters.yml logging.yml module.yml security.yml view.yml bootstrap_compile.yml constants.php factories.yml i18n.yml mailer.yml php.yml settings.yml

[symfony-users] What is an internal module?

2010-04-08 Thread martin
I am looking at an installation of Symfony 1.0. I am looking at the core file: /usr/share/php/symfony/controller/sfController.class.php I notice this: // check if this module is internal if ($this->getActionStack()->getSize() == 1 && sfConfig::get('mod_'.strtolower($moduleName).'_is_inte

Re: [symfony-users] ¿Hay algun chat irc en español sobre symfony?

2010-04-07 Thread Martin Ibarra Cervantes
en irc.freenode.net en #symfon-es Saludos. On Mon, Apr 5, 2010 at 8:31 AM, Javier Garcia wrote: > Hola, > > solo eso. > > Javi > > Ubuntu 8.04 > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message becau

[symfony-users] Re: Losing data upon creating new tables

2010-03-24 Thread Martin Sikora
You can dump all data in your database using: php symfony doctrine:data-dump and then load it using: php symfony doctrine:data-load if you changed your schema maybe, you'll have to check the /data/ fixtures/data.yml file and correct wrong column names. On 24 bře, 07:20, Parijat Kalia wrote: > H

[symfony-users] The "Practical symfony" book translation into Czech

2010-03-23 Thread Martin Sikora
Hello, my name is Martin and I work in a Czech web development company in Prague, Czech Republic. We are using Symfony framework for all our projects and I have noticed that the Symfony documentation had been translated into several languages. I wanted to ask you if there is a way how can I

Re: [symfony-users] Symfony + Doctrine + MSSQL = imposible ? ....

2010-02-16 Thread Martin Ibarra Cervantes
hi , i has the same problem but try this. create your schema with a tool may be mysql-query-browser and after run symfony doctrin:build-schema, build-model , build-filters , build-forms when your need add a filed, add fileld with mysql-query-browser and after rebuild your schema. regards , sorry

[symfony-users] one module - many models (tables)

2010-02-08 Thread Martin Henits
Hi, I'm new to symfony and am trying to learn it. I am trying to develop a new module (something like a forum). in a very simple form, this module works with 2 database tables: "forum_threads" and "forum_posts". First, I think that I should not develop 2 different modules, because forum sounds li

Re: [symfony-users] Re: Doctrine + PostGreSQL

2010-02-05 Thread Martin Ibarra Cervantes
hi, i like first create my schema on my DB with pgAdmin III and after with symfony doctrine:build-schema , build-model, build-forms. build-filters and i dont have problem :-) try. and this generate relations with other tables on your schema. On Mon, Jan 25, 2010 at 7:15 PM, webasker wrote: > Ok,

Re: [symfony-users] Trying to operate sfLightboxPlugin 1.0.11

2010-01-18 Thread Martin Settle
In the call to light_modallink you need to point to the module action that will return the contents of the lightbox... i.e. rather than 'sfLightboxPlugin/modal' you might have 'myModule/index' or whatever other action returns the information you want to display. Regards, Marti 2010/1/18 Javier

[symfony-users] Re: 1.4, propel, and sfGuard problem

2010-01-06 Thread Martin Settle
Okay, found my error. I decided to just start over, and this time noticed the '--orm=Propel' option on generate:project. Obviously just changing which module is enabled on a project built for Doctrine is insufficient to change the layer. It all works now. Marti 2010/1/5 Martin Se

[symfony-users] 1.4, propel, and sfGuard problem

2010-01-05 Thread Martin Settle
I thought I might try re-writing a system I built a few years ago inside symfony. To that end, I created an Ubuntu server Vbox appliance, installed symfony 1.4, initiated a new project and app, changed the default Doctrine to Propel (I'm familiar with it), then added sfGuard. At this point I succ

Re: [symfony-users] File uploading

2009-11-26 Thread Martin Ibarra Cervantes
please see http://stereointeractive.com/blog/2009/01/23/uploading-a-file-with-symfony-12/ or the documentation on symfony is very easy On Wed, Nov 25, 2009 at 10:38 PM, Parijat Kalia wrote: > Hey guys, > > I need to allow users to upload files. Thing is, I am not using the SF > Forms, and my fo

Re: [symfony-users] Re: Redirection after submitting a New form

2009-11-20 Thread Martin Ibarra Cervantes
On Fri, Nov 20, 2009 at 9:16 AM, tirengarfio wrote: > Thanks Ashton! > > On Nov 20, 10:26 am, Ashton Honnecke wrote: >> In processForm. >> >> Ashton Honnecke >> ahonne...@gmail.com >> >> On Nov 20, 2009, at 8:20, tirengarfio wrote: >> >> > Hi, >> >> > i have created a module (generate-module) in

Re: [symfony-users] Trying to give a default value to a form

2009-11-18 Thread Martin Settle
In other words, you need to create the Mensaje object first... public function executeNew(sfWebRequest $request) { $m = new Mensaje(); $m->setContent('Hola'); $this->form = new MensajeForm($m)); } 2009/11/18 Gábor Fási : > The first parameter of a doctrine form should be an object i

[symfony-users] Re: how to pass values to my custom form Widget (one widget for two model-properties). Symfony 1.2

2009-11-16 Thread Martin Ibarra Cervantes
you can setDefault $form->setDefault('dateRange', 'value'); On Thu, Nov 12, 2009 at 1:14 PM, Don_Busi wrote: > > Hi everybody, > > I have an entity that (among other properties) has a "startDate" and > an "endDate" property. Now I created a form widget that graphically > shows the date range s

[symfony-users] Re: upload files without rename

2009-11-15 Thread Martin Ibarra Cervantes
$this->setCreado(date('Y-m-d')); $this->setNombre($this->getNombre()); / but is not original name } return parent::save($con); } On Sun, Nov 15, 2009 at 11:24 AM, Martin Ibarra Cervantes wrote: > hi, i need upload file with symfo

[symfony-users] upload files without rename

2009-11-15 Thread Martin Ibarra Cervantes
hi, i need upload file with symfony but without rename this. i try this in my forms public function configure() { unset($this['creado'], $this['actualizado']); $this->setWidgets(array( 'id_archivo' => new sfWidgetFormInputHidden(), 'nombre' => new sfWidgetFormInput

[symfony-users] Re: URL transform

2009-11-03 Thread Martin Ibarra Cervantes
you can use in your routing.yml for example advertisement_show: url: /advertisement/:category class: sfRequestRoute param: {module: advertisement, action: index } requirements: id: \d+ try this, this simple, you can read the routing. http://www.symfony-project.org/book/1_2/09-Links

[symfony-users] Re: sfLightboxPlugin close on form submit

2009-11-02 Thread Martin Settle
re using the onClick > attribute of the input statement. > > onClick="Modalbox.hide(); return true|false;" (depending on what the > plugin needs for chaining events). > > You can also quickly test it with firefox + firebug in the console. > > On Sat, 2009-10-31 at

[symfony-users] Re: sfLightboxPlugin close on form submit

2009-10-31 Thread Martin Settle
that I missed, I would thank you for your advice. Marti 2009/10/31 Alexandre SALOME : > Other solution would be to try reading documentation :) > > 2009/10/30 David Ashwood >> >> Try: Modalbox.hide(); >> >> On Fri, 2009-10-30 at 14:51 -0400, Martin Settle wrote: &g

[symfony-users] sfLightboxPlugin close on form submit

2009-10-30 Thread Martin Settle
I've got a form appearing in a lightbox, which calls a remote function and updates the parent page. However, I'd like to have the lightbox close on the submission of the form. I'm trying to use an to close the lightbox, but I can't for the life of me figure out what the javascript function call

[symfony-users] change the value on the form with ajax

2009-10-27 Thread Martin Ibarra Cervantes
i have a gallery with gallerific but when change the picture i need change the ID on my form its possible change the value with the ajax. onClick=" 'description', 'url'=> 'retratos/show?id='.$imagen->getId(), )) ?> " retratos the model

[symfony-users] Re: sfGuard at application environment level

2009-10-23 Thread Martin Settle
ou follow all of the steps in the install guide? >> >> Doctrine version is here: >> http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin >> >> Lots of people miss the part about changing the myUser class, and of >> course don't forget to 'symfo

[symfony-users] Re: sfGuard at application environment level

2009-10-21 Thread Martin Settle
opping one of the l's from: > >> defaullt: >>   is_secure: on > > On Wed, 21 Oct 2009 20:48:03 +0200, Martin Settle > wrote: > >> >> Hi all. >> >> I'm about to start parallel-processing on a symfony database.  I'd >> like to be able

[symfony-users] sfGuard at application environment level

2009-10-21 Thread Martin Settle
Hi all. I'm about to start parallel-processing on a symfony database. I'd like to be able to give people the opportunity to log in and play with the system in a 'demo' environment while we deal with live data in 'prod'. I've been trying to use sfGuard to lock down 'prod', changing my apps/front

[symfony-users] problem when display rows with Doctrine_Query

2009-10-14 Thread Martin Ibarra Cervantes
hi, guys i have this Sql with doctrine on my controller public function executeIndex(sfWebRequest $request) { $this->mr_album_imagen_list = Doctrine::getTable('MrAlbumImagen')->getImagenesAlbum($this->getUser()->getAttribute('id_usuario')); $this->forward404Unless($this->mr_

[symfony-users] Re: javascript quotes in form widget attributes

2009-10-09 Thread Martin Settle
Okay, please ignore... I simply reversed the quotes... single quotes to encapsulate javascript and double quotes to encapsulate div id. Oh, and I replaced visible with an empty string. Now it all works. 2009/10/9 Martin Settle : > Hi all. > > This is, I'm sure, a newbie questio

[symfony-users] javascript quotes in form widget attributes

2009-10-09 Thread Martin Settle
Hi all. This is, I'm sure, a newbie question, but my eyes are going blurry looking at google results. I want to have a choice made in a select box display the next element of the form, which is in a hidden in my Form class, I have: $this->widgetSchema['vendor_id']->setAttributes(array(

[symfony-users] Re: Best way for e-mail templates

2009-10-08 Thread Martin Ibarra Cervantes
hi, i use swift $transport = Swift_SmtpTransport::newInstance(sfConfig::get('app_correo_hostname'),sfConfig::get('app_correo_puerto')) ->setUsername(sfConfig::get('app_correo_usuario')) ->setPassword(sfConfig::get('app_correo_password')) ;

[symfony-users] Re: difference between 'new' and 'create' methods generated by sfDoctrineRouteCollection

2009-10-08 Thread Martin Ibarra Cervantes
first try process the array, $result = array(first, second, etc); may be with split or xplode and after save this in your db On Wed, Oct 7, 2009 at 10:45 PM, Bhumika Gohil wrote: > > Hello Dennis > >    I have below Problem in my symfony , If possible then help me > > > I used following code

[symfony-users] upload multiple files with ajax

2009-10-06 Thread Martin Ibarra Cervantes
hi guys, I need upload images to my server, for example Image_1 Comment_Image_1 Image_2 Comment_Image_3 Image_3 Comment_Image_3 maybe with ajax or not, but i need save the values in a DB, --~--~-~--~~~---~--~~ You received this message because you are subscri

[symfony-users] Prebuild cache?

2009-10-02 Thread Martin
After deployment on production server there is always the delay on first request. To switch to a new version I change the symlink from the old to the new project directory. Can I prebuild the yml- and routing-cache somehow before symlinking? Martin

[symfony-users] Re: cross application functional testing possible?

2009-09-10 Thread Martin
->with('response')->checkElement('body', '/Welcome to the Backend/'); break; } LimeProcess::run has 3 Arguments: the amount of "sub-tests", the script to call (usually __FILE__) and the $argv. It returns the the numbe

[symfony-users] cross application functional testing possible?

2009-09-08 Thread Martin
e an elegant way for cross application functional testing in symfony? Martin --~--~-~--~~~---~--~~ 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@google

[symfony-users] Help Please! - Error with Jobeet

2009-09-02 Thread Martin - Digital Express
del class 'JobeetAffiliate' to SQL: Couldn't locate driver n amed mysql D:\AppServ\www\symfony\sfproject> I´m stopped here. Please help me! Thanks! martin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[symfony-users] Re: Rebuilding model

2009-08-06 Thread Martin Ibarra Cervantes
if you add a field on the a table you need rebuild the schema and model. On Tue, Jul 21, 2009 at 11:10 PM, James Cauwelier wrote: > > I don 't think you should. Database access should be abstracted in > Doctrine. However, rebuilding never hurts, except when you have a > huge database. > > You

[symfony-users] Re: Forms

2009-08-06 Thread Martin Ibarra Cervantes
you can embebed a form and with unset(); in lib/form you can disabled the fields in the function configure(). On Tue, Aug 4, 2009 at 9:07 AM, Richtermeister wrote: > > Hi juaninf, > > you cannot auto-generate forms that span more than 1 table. > However, once all forms are generated, you can emb

[symfony-users] Re: Upload image with admin generator

2009-08-04 Thread Martin Ibarra Cervantes
need define this on your From type file, look in jobeet is very single On Tue, Aug 4, 2009 at 6:40 AM, djones wrote: > > The Jobeet tutorial has image uploading. > Look at the Admin Generator chapter for more information: > http://www.symfony-project.org/jobeet/1_2/Doctrine/en/12 > > On Aug 3, 6

[symfony-users] Re: Symfony+Doctrine+PGSQL

2009-07-30 Thread Martin Ibarra Cervantes
your need put the DSN correct on youur config/databases.yml On Wed, Jul 29, 2009 at 1:10 PM, Gábor Fási wrote: > > Just specify the correct DSN and you should be fine. The pgsql dsn has > a different format than the mysql one, it looks like this: > pgsql:host=hostname;dbname=databasename;user=

[symfony-users] Using Symfony into other applications

2009-03-04 Thread martin
Hi there, I am trying to use an application made with symfony into joomla. I'm using sfJoomlaBridgePlugin but I have some problems. I can't use Symfo-session so I can't authenticate or make sortable lists. Any Ideas? Thanks! --~--~-~--~~~---~--~~ You received

[symfony-users] Re: Table name not escaped?

2008-11-01 Thread Martin Kreidenweis
It should be fixed in Propel 1.3. So if you're just starting a new project you should consider upgrading right now. If you've got a lot of existing code though it might not be that easy... Martin --~--~-~--~~~---~--~~ You received this message because you ar

[symfony-users] Bug in project:freeze task

2008-10-16 Thread Nicolas MARTIN
When freezing a project, symfony libs are copied to project/lib/, which breaks propel connections down when using tasks. Reproduced bug: $ symfony guard:create-user app user pass $>> user created $ $ symfony project:freeze /path/to/my/symfony/data/dir $ $ symfony guard:create-

[symfony-users] Re: Problem with Propel on frozen projects

2008-10-14 Thread Nicolas MARTIN
The bug is still here. No more propel connection when the project is frozen. Any new idea anyone ? On Sep 26, 2:17 pm, Nicolas MARTIN <[EMAIL PROTECTED]> wrote: > Yes I cleared the cache to make sure the .yml.php config handle the > correct paths, and I'm not using

[symfony-users] Re: Problem with Propel on frozen projects

2008-10-14 Thread Nicolas MARTIN
To be exact : No more propel connection in tasks on 'frozen' projects On Oct 14, 5:06 pm, Nicolas MARTIN <[EMAIL PROTECTED]> wrote: > The bug is still here. > > No more propel connection when theprojectisfrozen. > > Any new idea anyone ? > > On Sep 26, 2:17

[symfony-users] Re: submit form loads the form again. Routing problem??

2008-10-08 Thread Martin Groh
The problem is solved. After reading the howtos carefully again I stumbled over the last section of http://trac.symfony-project.org/wiki/InstallingSymfonyOn1and1WithPEAR that did it. Martin Martin Groh schrieb: > Hi, > > of course you are right. I should provide you with the most

[symfony-users] Re: submit form loads the form again. Routing problem??

2008-10-07 Thread Martin Groh
$this->redirect('security/login'); } } As you can see, I use a redirect and I don't use validation so far. This runs very nicely on my local system but not on the shared host. By the way: I'm running on symfony 1.1.3 and I use the new form system as you already might have

[symfony-users] submit form loads the form again. Routing problem??

2008-10-07 Thread Martin Groh
everything runs nice. Can anyone please give me a hint? I cant see the wood anymore, there are so many trees ;-). Thanks a lot, Martin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To po

[symfony-users] Re: strange beahviour with request in forms1.1

2008-09-29 Thread Martin Groh
s the value of the name field. Has anyone made this experience? What do I do wrong To be clear: I strictly followed the example of chapter one in the forms book. I am running sf1.1.3 on an ubuntu system with apache 2.2.8 and php 5.2.4 I hope there is someone to give me a clue... Thanks, Marti

[symfony-users] Re: Problem with Propel on frozen projects

2008-09-26 Thread Nicolas MARTIN
13:45, "Nicolas Perriault" <[EMAIL PROTECTED]> wrote: > On Fri, Sep 26, 2008 at 12:15 PM, Nicolas MARTIN > > <[EMAIL PROTECTED]> wrote: > > Is that a bug or do I miss something ? > > Did you clear the cache? Also, are you using APC or something simi

[symfony-users] Problem with Propel on frozen projects

2008-09-26 Thread Nicolas MARTIN
Hello, I'm running under 1.1.2 with a default 'unfrozen' project (symfony libs linked in ProjectConfiguration) I'm using sfGuardPlugin and several database enabled functional tests. So far, everything works great. $ symfony guard:create-user app user pass >> user created When I freeze my

[symfony-users] Re: strange beahviour with request in forms1.1

2008-09-26 Thread Martin Groh
tem with an Apache 2.2.8 and PHP5.2.4 If have the sfDocrine and the sfDoctrineTree plugins installed if that is of interest. Can I support you with anything else? The http_build_query in the action works fine, if I print it out in the action. Thanks for your support... Martin On 26 Sep., 09:17, Fabi

[symfony-users] strange beahviour with request in forms1.1

2008-09-25 Thread Martin Groh
thankyou/name/a/firstname/email/[EMAIL PROTECTED] Why is the empty field between firstname and email missing in the PATH_INFO? Is this the intended behaviour? Has anyone else run up to this? Thanks a lot in advance! Martin PS: I posted this in the forum as well,

[symfony-users] Re: Peer method not found class... with sfDoctrinePlugin

2008-09-16 Thread Martin Groh
; wrote: > > > I have the same problem here. > > > On Sep 16, 10:05 am, Martin Groh <[EMAIL PROTECTED]> wrote: > > > Hi there, > > > > Im using sf 1.1.1 together with the sfDoctrinePlugin 2.0 (checked out > > > with svn:externals). > >

[symfony-users] Peer method not found class... with sfDoctrinePlugin

2008-09-16 Thread Martin Groh
access an modelelement with an relationship. Has anyone else run into this? Yesterday everything worked fine. Are there any peer classes and methods in doctrine?? Thanks for a hint, Martin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

[symfony-users] Re: Debian Package for 1.1

2008-08-19 Thread Martin Groh
That is really nice news. Thank you very much. I absolutely appreciate the great work you all do with symfony. Thanks for that... Martin On 19 Aug., 16:23, "Grégoire Hubert" <[EMAIL PROTECTED]> wrote: > Hello, > > It sounds it is time to expose here where we are with

[symfony-users] Re: Debian Package for 1.1

2008-08-19 Thread Martin Groh
Thanks Gareth! I know the "pear-way". I was just wondering, if there ever will be an .deb Package for 1.1 Until then I'll deal with pear. Martin On 19 Aug., 15:03, "Gareth McCumskey" <[EMAIL PROTECTED]> wrote: > You need to update via pear and not aptitude...

  1   2   >