not sure if google swallowed my reply but here is the gist: "$html->link() works just fine in 1.3. "
Not quite true, especially if like me you have a lot of calls to HtmlHelper with parameters that were removed in 1.3. HtmlHelper::meta() no longer has an $inline parameter. It has been merged with the $options array. HtmlHelper::link() no longer has an $escapeTitle parameter. Use $options['escape'] instead. HtmlHelper::para() no longer has an $escape parameter. Use $options['escape'] instead. HtmlHelper::div() no longer has an $escape parameter. Use $options['escape'] instead. HtmlHelper::tag() no longer has an $escape parameter. Use $options['escape'] instead. HtmlHelper::css() no longer has an $inline parameter. Use $options['inline'] instead. Trying to use any of those will throw errors, and it becomes much more than a simple find/replace. I don't recall those parameters being deprecated in 1.2 either otherwise I wouldn't have even used them. On Sep 10, 12:44 am, nurvzy <[email protected]> wrote: > $html->link() works just fine in 1.3. Migration to 1.3 from 1.2 is > fairily painless. follow the migration guide and you'll be done within > an hour. It's well worth it, the flushed out plugin system is all > win. > > http://book.cakephp.org/view/1561/Migrating-from-CakePHP-1-2-to-1-3 > > Hope that helps, > Nick > > On Sep 9, 9:52 pm, "j.blotus" <[email protected]> wrote: > > > > > I am running a few sites with cake right now, some at 1.2, some at > > 1.3. I have considered upgrading the 1.2 sites to 1.3 but I don't > > think it is worth the time to rewrite all my $html->link()'s etc etc, > > as it is a fairly large application. I think I am going to wait for > > Cake2 and then start migrating those sites, especially considering the > > amount of migration that appears is going to be necessary from 1.x to > > 2.x > > > Anyone else have thoughts on this? 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
