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();
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
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
~~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
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
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
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
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.
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:
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
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
11 matches
Mail list logo