[symfony-users] Re: problem with how to manage image size....

2010-09-25 Thread ScherlOMatic
Hi creates the html code for you ( 'nofollow', 'title' => 'here comes the image title')) ?> Any more questions? BR On 25 Sep., 03:36, Nova Lina wrote: > dear all... i have a problem with manage image on my web im junior > programer, first time using symfony 1.4 > i dont understand how man

[symfony-users] Re: making https link

2010-09-23 Thread ScherlOMatic
Never heard about something like that But I think this should be done by your apache configuration. BR On 23 Sep., 02:52, wittygraphy wrote: > Hi all, > > I am rendering a http (non secure) page, but I would like to embed a > https link into it. > Is it possible to produce such link via url_for

[symfony-users] Re: problem for view image

2010-09-21 Thread ScherlOMatic
Hello nova! Try reading the documentation... All your questions are mentioned there. But this is a nice forum so I'll give you some answers: Hard to say if you need one module per menu. It depends on your project. You could also create one module and several actions. Both ways do the job pretty w

[symfony-users] Re: Choices Grouping

2010-09-18 Thread ScherlOMatic
lidatorPropelChoice(array('model' => 'Curriculo', 'column' => 'id')), >       'qualificacao_interesse_id' => new > sfValidatorPropelChoice(array('model' => 'QualificacaoInteresse', 'column' > => '

[symfony-users] Re: Choices Grouping

2010-09-17 Thread ScherlOMatic
Hello! You are using the wrong widget. Take a look at the 'select' widgets. One possibility would be: $this->setWidgets(array( 'name' => new sfWidgetFormSelect(array( 'choices' => self::$choices, 'multiple' => true, )) )); And please try to post code

[symfony-users] Re: Doctrine Form filter // getRelatedModelName

2010-09-16 Thread ScherlOMatic
Hello! I think there is more than one solution for your problem. Try to overwrite the '_toString()' method in the model (TrackerManagerTable.class.php). Or create some own method and call it from whereever you want. Why are you implementing this logic in the filter class? BR On 16 Sep., 12:3

[symfony-users] Re: Equivalent to setPeerCountMethod in Doctrine

2010-09-14 Thread ScherlOMatic
Hi! I took a look on the api (http://www.symfony-project.org/api/1_4/ sfDoctrinePager) and as you can see there is no equivalent. Maybe you could give us some more information about what you want to do, because it's been nearly a year since I worked with Propel. Ciao On 14 Sep., 13:43, Social

[symfony-users] General question about how to realize Internationalization

2010-09-14 Thread ScherlOMatic
Hello! I'm looking for a nice solution how to refractor a dirty code snippet which runs threw the code. The actual state: My symfony project runs on two dedicated servers. The first server hosts the site for the tld 'at' and the second one for 'de' and 'ch'. So all of them are german based websit

[symfony-users] Re: How to remove "send.x" and "send.y" parameters from GET url?

2010-09-09 Thread ScherlOMatic
rd parameter. > Send.x and send.y are sent by the browser to indicate where the user > clicked the image. > > On Thu, Sep 9, 2010 at 21:10, ScherlOMatic > > wrote: > > You are right. I'm using an image button. But that shouldn't be a > > problem, corre

[symfony-users] Re: How to remove "send.x" and "send.y" parameters from GET url?

2010-09-09 Thread ScherlOMatic
' => 'send', 'class' => 'send', 'type' => 'image')); Because I need to see the url parameters for search engine optimation. Thx On 9 Sep., 21:05, Pietrino Atzeni wrote: > On 09/09/2010 21.01, ScherlOMatic wrote: > > > > >

[symfony-users] How to remove "send.x" and "send.y" parameters from GET url?

2010-09-09 Thread ScherlOMatic
Hello! I'm looking for a solution to remove unnecessary parameters from an url. I created a form with a few widgets and a template which renders the form as a GET call. Here is the result: http://www.domain.com/module/action?widget1=&widget2=&_csrf_token=dcf135ef1e52edc5b8f314a2553407fd&send.x=3

[symfony-users] Re: Flag form invalid command ?

2010-03-14 Thread ScherlOMatic
Hello! What's the reason for setting a form invalid? Because it should be checked after the "submit" request... You could try this: $this->form = new MyForm() $this->form->isBound = false; or maybe rewriting the isValid() function could help: public function isValid() { if (!$this->isBound

[symfony-users] Re: help il list

2010-03-12 Thread ScherlOMatic
Hello! What's the problem? Building forms, rendering in your template file or writing doctrine queries? first of all you need to customize your JobForm.class.php: sfWidgetFormDoctrineChoice() please give us more details and you will get more feedback. Ciao On 13 Mrz., 01:02, Belgacem TLILI w

[symfony-users] Re: flot ajax json

2010-03-07 Thread ScherlOMatic
Success.json.php. symfony will automatically set the right > content type. See factories.yml in symfony/lib/config/config  ( json: > [application/json, application/x-json] ) > On Mar 6, 7:33 pm, ScherlOMatic wrote: > > > Hello! > > > I tried to include the flot javasc

[symfony-users] flot ajax json

2010-03-06 Thread ScherlOMatic
Hello! I tried to include the flot javascript (http://code.google.com/p/ flot/) library to get a nice look and fell for my statistics. The only problem is that i can't send my data values to my javascript function. Action: $statisticData = array("119646360" => "10", "119655000" => "20");

[symfony-users] Re: sfJqueryReloaded Plugin in Symfony 1.4

2010-03-04 Thread ScherlOMatic
heName'); > > or in settings.yml : >     standard_helpers:       [Partial, Cache, I18N, IDontKnowTheName] > > to be able to access from a template. > > You should not access from a form. > (If you have too .. you could use sfLoader::loadHelpers() to load the > helper) > > On Mar

[symfony-users] sfJqueryReloaded Plugin in Symfony 1.4

2010-03-03 Thread ScherlOMatic
Hello! Unfortunately I'm having a minor problem with this plugin. I installed it with the "plugin:install" command, did "publish-assets" and everything went fine. It has been enabled in my ProjectConfiguration and the web dir has also been created successfully. Now I'm calling one of the helper

[symfony-users] Re: doctrine & schema.yml

2010-02-13 Thread ScherlOMatic
Hey Maxime! First I have to say to you that doing relations with symfony and doctrine is a little bit tricky. Unfortunately there is just one nice tutorial which I can recommend: http://www.symfony-project.org/more-with-symfony/1_4/en/06-Advanced-Forms Another good hint is reading the doctrine d

[symfony-users] Re: Couldn't find class JobeetAffiliate

2010-01-17 Thread ScherlOMatic
Try this, symfony doctrine:build --all --and-load Bye On 16 Jan., 22:46, asuarez wrote: > Hi everybody! > > I finished day 7 of the jobeet tutorial but I'm getting this error: > Base table or view not found: 1146 Table 'jobeet.jobeet_category' > doesn't exist. > > There are no tables in the da

[symfony-users] Re: Symfony forms

2010-01-13 Thread ScherlOMatic
Hello! Is there a question in your post? I can't find one. Bye On 13 Jan., 04:47, Gabo wrote: > Help!! > > I have 1 form (document_note); in the form exist: > > 1. id_documento : new sfWidgetFormDoctrineChoice(array('model' => > 'document', 'add_empty' => true)), > 2.note: FCKeditor > 3.created

[symfony-users] Re: approve comments clicking on checkboxes using AJAX - should I use Symfony forms ?

2009-12-28 Thread ScherlOMatic
Hi, maybe you could explain us a little bit more, cause I couldn't imagine what you want to do. So please describe the scenario. On 28 Dez., 09:42, dziobacz wrote: > I would like to approve comments clicking on checkboxes using AJAX > (without refreshing page). > Screen is here:http://forum.s

[symfony-users] swift mailer multiple servers

2009-12-19 Thread ScherlOMatic
Hello everybody! This is my first post and I'm glad if somebody could help me. Sorry if I there will be some spelling errors, buts it's been a while I've spoken English. Problem: I need to have multiple mail servers (exactly 2 servers) and I'm not sure if it's possible to realize it in symfony 1.

[symfony-users] Re: Doctrine Form - multiple/recursive embedRelation -> Apache

2009-12-19 Thread ScherlOMatic
I'm not sure but I guess there's a problem with your apache version. Maybe you could try to update or to use xampp package instead. I'm developing on Windows as well and I never expected problems with the embedRelation() function. Sincerly, Stefan On 17 Dez., 15:21, Tobias wrote: > Hello, > > I

[symfony-users] Re: Doctrine Form - multiple/recursive embedRelation -> Apache

2009-12-19 Thread ScherlOMatic
I'm not sure, but i guess there's a problem with your apache version. I am developing with Windows as well and i never expected problems with the embedRelation() function. Maybe you could try the Xampp package from apachefriends. It works like charming. Sincerly, Stefan On 17 Dez., 15:21, Tobias