Search the Community
Showing results for tags 'tables'.
-
Here are some questions that crossed my mind while reading Chapter 5 (Version 0.5) Page 86 The book states, "If you also set a requiredValue attribute for the item in question, your error message can indicate what the required value is via {value}." My question: Larry, could you please provide an example showing how the value of {value} would be set? Page 91 Please show the code I would need to "create user-related scenarios for changing passwords". Also, in which circumstances would I set a scenario on an existing instance, as opposed to creating a new user? Page 93 Why is it neces
- 1 reply
-
- requiredvalue
- scenarios
-
(and 8 more)
Tagged with:
-
Gii Model Generator Shows Only 1 Of 5 Tables For Yii_Cms
KeepLearning posted a topic in The Yii Book
How can I get all the tables to appear when generating models in Chapter 4? (p 71, version 0.5) When I click the Preview button, the Model Generator shows just one table. In contrast, the book shows 5 tables. How can I get all 5 tables to appear in the Model Generator list? More info: When I open the database in the MyPhpAdmin Designer view, I can see all 5 tables -- and their relationships -- so I know they exist. (I can also see 3 other tables, all starting with "auth".) My yiicdemo files are here: D:\xampp\htdocs\yiicdemo My framework folder is here: D:\xampp\framework Th -
I am using the scripts in the 2nd edition and am trying to call records from the mysql dbase and arrange them into a table with three records to each row. I hope it is possible but all the suggestions I have found so far dont work. (maybe because the suggestions are for more advanced versions of php?). I can display records one row at a time (and am even using the pagination script to paginate every 6 records) however every time I try and get three records on the same row I fail. The following is from a script that is working great (used to be script 13.6 ) - but only shows one re
- 12 replies