[symfony-users] Re: Using setDistinct with sfPropelPager

2008-05-11 Thread Nicolas Perriault
On Sun, May 11, 2008 at 10:14 AM, orkestra [EMAIL PROTECTED] wrote: $c = new Criteria(); $pager = new sfPropelPager('Product', 5); // specifying the select columns $c-addSelectColumn(ProductI18nPeer::NAME); $c-setDistinct();

[symfony-users] Using setDistinct with sfPropelPager

2008-05-11 Thread orkestra
Hello all, I'm trying to display a paginated product catalog. The catalog itself will only display the product image and name. When you click on the image/name, you will be taken to the product page. Each product is available in a number of sizes/fragrances, but I want the product to appear

[symfony-users] Re: Using setDistinct with sfPropelPager

2008-05-11 Thread orkestra
Dear Nicolas, I didn't expect a reply so fast!! :D Am I meant to use: $c-addSelectColumn(ProductI18nPeer::NAME); along with your solution? Because with the code that you suggested, it uses distinct, but with all the columns, which kinda defeats the purpose. And when I did try to include the

[symfony-users] Motivational Quote of the Day!~ [11 May 2008]

2008-05-11 Thread Sonia
~~Happy Mother's Day~~ http://www.myeverydaypage.com/ I LOVE YOU MOM! http://www.myeverydaypage.com/ Mom's smiles can brighten any moment, http://www.myeverydaypage.com/ Mom's hugs put joy in all our days, http://www.myeverydaypage.com/ Mom's love will stay with us forever

[symfony-users] Re: routing

2008-05-11 Thread markchicobaby
There should be no need to play with .htaccess. Are you sure you configured /web to be the root correctly? Check this article: (is relevant even if you don't use suexec. Also see the book chapter 19.) http://trac.symfony-project.com/wiki/SymfonyPHPsuexec If you're still having trouble post

[symfony-users] Re: oracle dates error on insert sql

2008-05-11 Thread orkestra
Dear Richix, Instead of date('d-m-Y H:i:s'), try time(). I looked at the model classes, and found that this is what's used to update the updated_at, created_at columns. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[symfony-users] Re: routing

2008-05-11 Thread CX
thanks for your reply... I didn't set /web to be the root of my website because I do not have access to the httpd.conf file but I figured it out at the control panel. so, it was really simple, set the root path of my website to /web and that's it. thank you! On May 11, 6:10 am, markchicobaby

[symfony-users] Re: Reports

2008-05-11 Thread Bernhard Schussek
Hello Bruno! I'm currently using FPDF with symfony 1.0. AFAIK the sfFPDFPlugin doesn't work with 1.1 yet though. FPDF is pretty nice and has a nice and mighty API. Getting it to work with Unicode is a little tricky as it is not supported by default, but all in all I can only recommend the tool.

[symfony-users] Re: [RESOLVED] Symfony 1.1, Admin generator, and build-schema xml

2008-05-11 Thread Alex Fernandez
Never mind. I figured out what the problem was. Propel failed to generate my models because of the default date values for my date fields. Alex - Original Message From: Alex Fernandez [EMAIL PROTECTED] To: symfony-users@googlegroups.com Sent: Sunday, May 11, 2008 5:16:13 PM Subject:

[symfony-users] Custom helpers - version 1.0 vs 1.1 and how to write?

2008-05-11 Thread Gould, Adrian
Hi everyone I am struggling with the Helpers... I am finding the official documentation a little hard to roll into a practical example. Has anyone got a small example they can show to assist this? Maybe a good contribution to the docs? Is Symfony 1.1 using the same principle for helpers as

[symfony-users] sfDoctrinePlugin and SF 1.1 admin generator

2008-05-11 Thread Alex Fernandez
Jonathan, I checked out the sfDoctrinePlugin from trunk and pulled doctrine lib from 0.11. I already have my database designed in MySQL using InnoDb tables. Some of my tables have foreign keys defined. But when I ran the doctrine task to build the schema, I saw no mention of foreign