Re: [symfony-users] Admin Generator Yaml Merging

2010-10-03 Thread Serkan Koyuncu
I think the most Symfony way is overriding that module's
ModuleGeneratorConfiguration::getFormDisplay() method.

S.

2010/9/22 Kevin Dew k...@dewsolutions.co.uk

 Hello all.

 I'm having a bit of a problem having a module of a plugin where the
 module uses the admin generator. The problem i'm having is that the
 arrays in the generator.yml file are being merged with the parent file
 and thus i can't seem to unset fields to view.

 e.g.

 in plugin module generator.yml
config:
  list:
display: [=name, description, created_at, updated_at]

 in app module generator.yml
config:
  list:
display: [=name, created_at]

 which then ends up being parsed as:  [=name, created_at, created_at,
 updated_at]

 i was wondering if there was a way to override this fully or a better
 technique? I've managed to get it working as i intended by just
 duplicating fields so it's the same lenght of array and dupe fields
 are ignored, but this feels a bit dirty.

 Thanks

 --
 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 email to symfony-users@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Application Desktop

2010-08-23 Thread Serkan Koyuncu
Hi,
Couple of years ago I used one of sourceforge projects, but sorry I forgot
its name :(

S.

2010/8/23 Jochen Daum jdau...@gmail.com

 Hi,

 On Mon, Aug 23, 2010 at 6:26 PM, Christopher Schnell
 christopher.schn...@mda.ch wrote:
  Hi,
 
 
 
  could you name some of those commercial solutions?
 

 I'm unsure if you want me to repeat my email or are you looking for
 other options?

 Kind Regards,

 Jochen



 
 
  Regards,
 
  Christopher.
 
 
 
  Von: symfony-users@googlegroups.com [mailto:
 symfony-us...@googlegroups.com]
  Im Auftrag von Benoit Montuelle
  Gesendet: Freitag, 20. August 2010 16:22
 
  An: symfony-users@googlegroups.com
  Betreff: RE: [symfony-users] Application Desktop
 
 
 
  You could achieve this with various commercial solutions, like those
 quoted
  by Jochem. Others exists but as far as I know none for free or
 opensource.
 
  Another option is to go with a redistribuale VM (appliance) or create a
  custom ubuntu bootable cd that start servers and browser...
 
  Good luck
 
 
  
 
  From: Jochen Daum jdau...@gmail.com
  Sent: vendredi 20 août 2010 12:05
  To: symfony-users@googlegroups.com
  Subject: Re: [symfony-users] Application Desktop
 
  Hi,
 
 
 
  On Fri, Aug 20, 2010 at 7:43 PM, Christopher
  Schnell christopher.schn...@mda.ch wrote:
 
  This would be also very interesting to me.
 
 
 
  What I like to know is: Is there a way to transfer a symfony app (online
  running on apache with MySQL) with small efford to a small local
 webserver
  distributed on cd with sqlite or something? has someone done such a thing
  already?
 
 
 
  I've used Microweb http://www.indigostar.com/microweb.php in 2001 for
 this
  purpose. Well worth the money for the developer licence and super easy to
  set up.
 
 
 
  The biggest problem was to get DNS sorted for the CD, in the end we
 settled
  to run on 127.0.0.1
 
 
 
  Hope this helps,
 
  --
  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 email to symfony-users@googlegroups.com
  To unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en
 
  --
  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 email to symfony-users@googlegroups.com
  To unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en
 
  --
  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 email to symfony-users@googlegroups.com
  To unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en
 

 --
 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 email to symfony-users@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: Frameworks CSS

2010-07-12 Thread Serkan Koyuncu
+1 for YUI Grids

2010/7/12 gordonslondon jules.boussek...@gmail.com:
 Hi,

 i have used 2 css frameworks:

 GRID 960
 benefits:
 - very simple, for small projects
 disadvantages:
 - you only havee one template (960 px large)
 - there is NO fluid template (no percentage only px), so if you want
 to have a backend template completely fluid, you will have to hack the
 css


 YUI GRID CSS
 benefits:
 - build for big projects (like Yahoo Health), fully customizable
 - zoom is availlable for all browsers
 - no pixel for grids only em and percentage
 disadvantages:
 - you cannot grab only the CSS components, you have to take it in the
 YUI library


 Jquery UI isn't really a full css framework,
 with full cms framework i talk about grids,
 grids are very usefull for many reasons:
 - improve productivity (less work)
 - work one most browsers (save you a headache)
 - is good for SEO (less HTML = more interesting content)
 - can improve javascripts performence when finding the DOM (ex: $
 ('div') selector);


 i just discovered Yui grid css so i might have forgotten some great
 features,
 i think the best choice between both is YUI GRID CSS framework for his
 complementarity

 --
 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 email to symfony-users@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Plugin post install processing

2010-06-14 Thread Serkan Koyuncu
Hello,
I think, you have to create another task which user should run after
installing your plugin.
And you should write this on Readme on something.

Regards,
Serkan



2010/6/14 Stéphane ERARD stephane.er...@gmail.com:
 Hi list,

 I'm creating a plugin. When user installs it, I need my plugin to do
 some processing.
 How do I do that ?

 I've seen the plugin.post_install event, but where do I put the
 connect ?


 Thank you !

 --
 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 email to symfony-users@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Translation request

2010-06-04 Thread Serkan Koyuncu
Hello Denis,
It is in Turkish:

Tamam, basit Türkçe ile:
- Biz symfony programcıları arıyoruz.

Regards,
S.K.

2010/6/4 Денис Горбачев denis.gorbac...@trueoffice.ru:
 Hello everybody!

 I want my banner to be available in all languages. I ask you to translate
 the banner message from English into your native language. Currently, we
 have Russian and German translations. All contributions are greatly
 appreciated.

 Thanks in advance!

 --
 Денис Горбачев,
 Начальник отдела Web-разработок ЗАО «ТруОфис»
 http://www.trueoffice.ru/
 +7 929 619-35-88

 --
 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 email to symfony-users@googlegroups.com
 To unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


-- 
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 email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] How to delete uploaded images when deleting records

2009-12-23 Thread Serkan Koyuncu
Hi,
If you're using Doctrine, you can create

public function postDelete($event) {

@unlink(sfConfig::get('sf_upload_dir').'/immobili/original/'.$this-fotoPrincipale);

@unlink(sfConfig::get('sf_upload_dir').'/immobili/big/'.$this-fotoPrincipale);
}

in your model file.
If you're using Propel, you can extend delete method of your model
file or create another behaviour.

Thanks.


2009/12/23 ilcaduceo ilcadu...@gmail.com:
 Hi all, I've a simple form with sfFormWidgetInputFileEditable for
 simple upload of photos:

 $this-validatorSchema['fotoPrincipale'] = new sfValidatorFile(array(
                'required'   = false,
                'path'       = 
 sfConfig::get('sf_upload_dir').'/immobili/original',
                'mime_types' = 'web_images',
                'validated_file_class' = 'sfResizedFile'
 ));

 $this-widgetSchema['fotoPrincipale'] = new
 sfWidgetFormInputFileEditable(array(
      'label'     = 'Foto principale',
      'file_src'  = '/uploads/immobili/big/'.$this-getObject()-
getFotoPrincipale(),
      'is_image'  = true,
      'edit_mode' = !$this-isNew(),
          'with_delete' = false,
      'template'  = 'div%file%br /%input%br /%delete%
 %delete_label%/div'
 ));

 I've also an admin generated backend interface, but I want to delete
 the photo uploaded when the record is deleted.

 How to this? Thanks for help me...

 --

 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 more options, visit this group at 
 http://groups.google.com/group/symfony-users?hl=en.




--

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 more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Fatal error: Class 'sfInflector' not found

2009-12-16 Thread Serkan Koyuncu
Hello Berker,
This happening when you install turkish version of ubuntu (or not english)
On tr_TR local, strtolower function is not working as expected.
(symfonylibfolder/autoload/sfCoreAutoload.class.php at function
getClassPath @ line 116)
?php echo strtolower('sfInflector'); // result is: sfInflector ?

Solution is, in symfonylibfolder/autoload/sfCoreAutoload.class.php
please find this line (probably in line 440)
'sfinflector' = 'util/sfInflector.class.php',
and replace with
'sfInflector' = 'util/sfInflector.class.php',

It should work now.
Hope it helps.

Umarım yardımcı olabilmişimdir :)

Best Regards,
Serkan Koyuncu


2009/12/16 Berker Peksağ berker.pek...@gmail.com:
 Hi,

 I'm trying install symfony 1.4.1 on Ubuntu 9.04 but I'm getting this
 error:

 ber...@berker-desktop:/home/sfproject$ php lib/vendor/symfony/data/bin/
 symfony -V

 Fatal error: Class 'sfInflector' not found in /home/sfproject/lib/
 vendor/symfony/lib/task/sfTask.class.php on line 274

 Thanks.

 --

 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 more options, visit this group at 
 http://groups.google.com/group/symfony-users?hl=en.




--

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 more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




Re: [symfony-users] Re: var_dump Doctrine_Record

2009-12-09 Thread Serkan Koyuncu
Could you please post your schema?

Regards,
S.

2009/12/9 Salim salim.semao...@gmail.com:
 PS : I am using Symfony 1.2 with Doctrine 1.1

 On 9 déc, 17:03, Salim salim.semao...@gmail.com wrote:
 Hi all,

 After inspecting several doctrine records on my project, I realized
 that every field of these records was casted into strings whatever the
 type declared for the column in the schema.yml file.

 Is it a known issue, or am I missing something ?

 Thank's in advance for your help

 --

 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 more options, visit this group at 
 http://groups.google.com/group/symfony-users?hl=en.




--

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 more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Re: url problem

2009-09-10 Thread Serkan Koyuncu
Hi,
Can you please check settings.yml file.

prod:
  .settings:
no_script_name: on

Turn it off to see backend.php in links.

Regards
Serkan.


2009/9/10 Falko deadfal...@googlemail.com


 hello everyone,

 i have  a little website running, with both a frontend and backend
 module. the backend is only generated code to administer the database.
 I basically used symfony generate-admin for all the tables, which is
 good for now. the problem is, since it is the backend.php all the
 links from the generated code to edit tables point to /something/
 edit/... for instance to:
 http://androidmashup.org/extratype/edit/id_extratype/1
 but it should point to
 http://androidmashup.org/backend.php/extratype/edit/id_extratype/1
 so the backend.php is missing...

 http://androidmashup.org/backend is missing also, it would be fine if
 the links are relative to that url as well.

 what do i need to change, so that the admin module has correct links?

 thx alot

 falko

 


--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: global functions: where do I put it?

2009-09-01 Thread Serkan Koyuncu
You don't need to extend from anything. Just to be sure if file name is
emailChecker.class.php, then your class should be named as
class emailChecker { }

Symfony will load it for you if it under /lib folder.
Just call it like that anywhere in your project:

$checker = new emailChecker();



Regards,
S.


2009/9/2 jarthel jart...@gmail.com


 if I create it as a class, do I need to extend anything?

 thanks again

 On Sep 1, 3:33 pm, Stefan Koopmanschap stefan.koopmansc...@symfony-
 project.com wrote:
  Hi,
 
  The best way to do this in my opinion is to create a class in the lib/
  folder (or in a subfolder, for instance lib/jarthel) where you put the
  method. So for instance you might get an EmailChecker class with your
  checkMailFormat() method. Though what you are doing sounds like
  validation, so you could also put it in the form of a validator of
  course (having said that, you might want to look at symfony's e-mail
  validator:http://www.symfony-project.org/api/1_2/sfValidatorEmail)
 
  Stefan
 
  On Sep 1, 8:13 am, jarthel jart...@gmail.com wrote:
 
   I have an email address format checker that I found in the net. It's
   straight PHP with a function inside.
 
   I'm a bit unsure on where to put it. I thought of putting it somewhere
   in project-here/lib/vendor. Is it as simple as using require_once to
   include the files?
 
   Thank you
 


--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: 1.2 v. admin generator impossible to set up

2008-12-01 Thread Serkan Koyuncu
are you using multiple versions of symfony? 1.0 w 1.2?



2008/12/1 PaulM [EMAIL PROTECTED]


 Let me ask you this:

 1.1 Documents show :

 propel:
  blog_article:
_attributes: { phpName: Article }
 id:
title:   varchar(255)
content: longvarchar
created_at:
  blog_comment:
 _attributes: { phpName: Comment }
id:
 article_id:
author:  varchar(255)
content: longvarchar
created_at:


 and 1.2 documents show:

 propel:
  blog_article:
id:  ~
title:   varchar(255)
content: longvarchar
created_at:  ~
  blog_comment:
id:   ~
blog_article_id:  ~
author:   varchar(255)
content:  longvarchar
created_at:   ~

 which one is workable with 1.2 admin generator?

 On Dec 1, 10:12 am, Nicolas Perriault [EMAIL PROTECTED] wrote:
  On Mon, Dec 1, 2008 at 4:09 PM, PaulM [EMAIL PROTECTED] wrote:
   Fatal error: Class 'ArticleFormFilter' not found in E:\www\symf\cache
   \backend2\dev\modules\autoArticle\lib
   \BaseArticleGeneratorConfiguration.class.php on line 210
 
  You need to run ./symfony propel:build-filters
 
  Then symfony cc
 
  ++
 
  --
  Nicolas Perriaulthttp://prendreuncafe.com-http://symfonians.net-
 http://sensiolabs.com
  Phone: +33 660 92 08 67
 


--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: AJAX execution of a component

2008-11-27 Thread Serkan Koyuncu
No, IMHO it is good idea and I think everybody is doing same thing.

Regards
Serkan,

2008/11/28 Sumedh [EMAIL PROTECTED]


 Was this thought foolish...no one replied? :|

 On Nov 27, 2:13 pm, Sumedh [EMAIL PROTECTED] wrote:
  Hi Friends...
 
  I am using Symfony 1.0...
 
  I have a requirement where I want to load some dynamic content on a
  tab switch via AJAX...
 
  For small content, we can directly send simple CSV or JSON...
 
  But here, I want to code that tab as a separate component
  ideally...and then send back the HTML result of that component...and
  set that content in the innerHTML of a DIV in the JS callback
  function...
 
  Is this the right approach?
 


--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Which IDE do you use?

2008-09-09 Thread Serkan Koyuncu

@sumedh:

Last month I had similar problem on my EclipsePDT (SuSE 11).
I suggest you to remove all projects from eclipse and delete all
.cache
.settings
.project
file  folders from each projects' root folder.
Now you can create new projects.

I hope it helps.

By the way, I use VI and EclipsePDT on Linux, DW and EclipsePDT on Windows.

Regards
Serkan Koyuncu



2008/9/9 Eno [EMAIL PROTECTED]:

 On Tue, 9 Sep 2008, Jacob Coby wrote:

 There is a textmate clone for Windows called E.  http://www.e-texteditor.com/

 I don't know how good E is compared to TextMate, but TM is a great
 editor.  I just wish it had Vim bindings :)

 We had a co-worker using E for awhile - he switched to vim eventually...



 


--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: regarding where condition in query

2008-07-11 Thread Serkan Koyuncu

Hi Kusum,
I hope this can be useful:

http://propel.jondh.me.uk/

Regards;
Serkan


2008/7/11 kusum [EMAIL PROTECTED]:

 hi,

 $c1=new Criteria();
  $c1-add(ListingPeer::SALE_TYPE,'N',Criteria::NOT_EQUAL);
  $c1-add(ListingPeer::SALE_TYPE,'S',Criteria::NOT_EQUAL);
  $c1-add(ListingPeer::PRICE,NULL,Criteria::ISNOTNULL);
  $c1-addAscendingOrderByColumn('RAND()');
  $c1-setLimit(4);
  $this-listingrecordnew1=ListingPeer::doSelect($c1);


 and generated query on webdebug is


 SELECT listing.ID, listing.OWNER_ID, listing.BUILDER_PROPERTY_ID,
 listing.LISTING_TYPE, listing.SALE_TYPE, listing.SOURCE,
 listing.PROPERTY_CATEGORY, listing.PROPERTY_TYPE, listing.ADDRESS,
 listing.AREA, listing.CITY, listing.STATE, listing.ZIP, listing.BEDS,
 listing.FULL_BATHS, listing.HALF_BATHS, listing.COVERED_AREA,
 listing.LOT_SIZE, listing.PRICE, listing.PRICE_NEGOTIABLE,
 listing.ADDL_ROOMS, listing.YEAR_BUILT, listing.AGE,
 listing.NUM_FLOORS, listing.PROP_ON_FLOOR, listing.PARKING_SPOTS,
 listing.CAR_PARKING, listing.AIR_CONDITIONED, listing.FURNISHINGS,
 listing.FLOORING, listing.VASTU_COMPLIANT, listing.NUM_LIFTS,
 listing.FIRE_ALARM, listing.BURGLAR_ALARM,
 listing.ADDITIONAL_FEATURES, listing.EXTERNAL_FEATURES,
 listing.LANDMARK_NEARBY, listing.SCHOOL_NEARBY,
 listing.HOSPITAL_NEARBY, listing.DISTANCE_AIRPORT,
 listing.DISTANCE_RAILWAYS, listing.DATE_POSTED, listing.DESCRIPTION,
 listing.THUMB_URL, listing.PHOTO_URL, listing.LATITUDE,
 listing.LONGITUDE, listing.DISPLAYABLE, listing.FEATURED,
 listing.HIGHLIGHTED, listing.CLAIMED_AT, listing.CLONED_AT,
 listing.CLONED_LISTING_ID, listing.DELETED_AT, listing.CREATED_AT,
 listing.UPDATED_AT FROM listing WHERE  listing.SALE_TYPE'S' ORDER BY
 RAND() ASC LIMIT 4

 it is giving only one condition on sale_type column



 how should i write this query
 


--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sfGuard redirect after logout

2007-09-05 Thread Serkan Koyuncu
Hi,


If you want to redirect the user to his profile after a success login or
define a logout site. You can change the redirect values in app.yml:

all:
  sf_guard_plugin:
success_signin_url:  @my_route?param=value # the plugin
use the referer as default
success_signout_url: module/action # the plugin
use the referer as default

Regards,
Serkan

2007/9/5, Kostas Papadimitriou [EMAIL PROTECTED]:


 How can i configure sfGuard to redirect to a custom module/action after
 the logout action instead of redirecting to the refferer.
 Also when im visiting a secure page without being logged in i get a 404
 page, is that correct ?
 shouldn't i get the not enough credentials page ?

 


--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: trouble with Apache 2.2.3 and .htaccess in production environment

2007-06-01 Thread Serkan Koyuncu
Hi Matthias,

on php 5  win xp  AMD processor , apache 2.x series mod_rewrite doesnt
work.
May be this is problem,

Regards


2007/6/1, Matthias Nothhaft [EMAIL PROTECTED]:


 Hi,

 I have troubles with Apache 2.2.3 and .htaccess in prod environment.

 It does not work anymore. Apache 1.3 had no problems using the same
 default configuration from symfony.

 I can display the homepage but I cannot access any modules like user/login

 In that case I get a 404 error: The requested URL /user/login was not
 found on this server.

 In dev it works.

 Anyone here who can help?

 Regards,
 Matthias



 


--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---