'post_pretty_url' is the name for my URI, yes. and the second
parameter (according to the jobeet tutorial) is supposed to be an
array of values needed for the url. See here
http://www.symfony-project.org/jobeet/1_2/Doctrine/en/05#chapter_05_object_route_class
for the section of tutorial I got this from.

I will attempt Jeremys solution in a little while.

Thanks for the help

     -MrGlass

On Sep 10, 7:45 am, Eno <[email protected]> wrote:
> On Wed, 9 Sep 2009, MrGlass wrote:
> > *in the following code, $posts is an array of post objects returned by
> > a doctrine query*
>
> >    <?php foreach ($posts as $post): ?>
> >            <tr>
> >                    <td class="Title"><a href="<?php echo 
> > url_for('post_pretty_url',
> > $post) ?>">
>
> Code above looks a little odd: is 'post_pretty_url' an internal URI? Also
> the second parameter of url_for() should be true or false but you're
> passing in the object instead??
>
> --
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to