Thank you again Jeremy for the warning. There are not many books available about CakePHP and I borrowed this one from a friend. I guess I'll stick with the online examples. Alper
On Fri, Mar 26, 2010 at 12:07 PM, Jeremy Burns <[email protected]> wrote: > Something looks wrong with your implementation; I'd expect to see > http://localhost/quickwall/questions/show/1 (assuming you've set this up > in the quickwall folder). > > It's a personal thing, but I'm not a fan of that book. Some of the code > samples are wrong and it doesn't stick to conventions (show => view?). > > Jeremy Burns > [email protected] > > > On 26 Mar 2010, at 10:01, Alper K. Tunç wrote: > > > Hi all, > > I'm going over the QuickWall example in CakePHP Application > > Development book by Ahsanul Bari and Anupom Syam. > > > > In the example, there is a line where the questions are produced: > > <?php e($html->link($question['Question']['question'].'?', > > array('action' => 'show', $question['Question']['id']))); ?> > > > > The strange thing is that this code produces the following link: > > http://localhost:777/index.php/questions/questions/show/1 > > > > where it should be > > http://localhost:777/index.php/questions/show/1 > > > > Why do you think am I missing? > > Thank you. > > Alper > > > > Check out the new CakePHP Questions site http://cakeqs.org and help > others with their CakePHP related questions. > > > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<cake-php%[email protected]>For > > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > > > > To unsubscribe from this group, send email to cake-php+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > > To unsubscribe from this group, send email to cake-php+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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/cake-php?hl=en To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
