Jump to content
Larry Ullman's Book Forums

Is There An Errata Page?


Recommended Posts

Is there, or shouldn't there be, a place to post potential Errata for the Yii2 book? I've stumbled across a few things here and there and don't see them mentioned in the forum. For instance, on page 684 (as of the PDF versioin I have which I just dowloaded) there are references to the "protected/views/site/pages/company" path. But the Yii2 book and the documentation specify that the "protected" folder has been eliminated.This just leads to confusion in what can be an already-confusing quest for a MVC and Yii noobie.


Link to comment
Share on other sites

You could post your information here or send Larry an email directly.  The idea of having an ebook that is released in multiple stages is that the mistakes you find, can be corrected in the next release.


Everyone benefits.



Ok I'll quote what the current version says toward the end the Static Pages section( page 208 in my PDF, page 122 in my nook: "“You can also create a nested directory structure. For example, say you wanted to have a series of static files about the company, stored within the views/site/pages/company directory. To refer to those files, just prepend the value of $_GET['view'] with "company/": /site/page/view/company/board would display the protected/views/site/pages/company/board.php page.”. Since the yii 2 docs say they've eliminated the 'protected' directory, I'm confused why it's referenced here. Just wanted to bring attention to it.
Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...