5121 Posts in 1527 Topics by 1119 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 663 Views |
-
Silverstripe book - "showing related page recipe"

11 May 2011 at 2:15pm
In the code section of 11.7.4 Finding Pages bykeyword there is a statement
$pageKeywords = explode(',',$this->getContextNavKeywords());
Am I right in thinking that getContextNavKeywords is a function that hasn't been included in the sample code?
-
Re: Silverstripe book - "showing related page recipe"

12 May 2011 at 1:47pm
There is now a couple SilverStripe books out. Which one are you reading?
-
Re: Silverstripe book - "showing related page recipe"

12 May 2011 at 10:14pm
Silverstripe: The Complete Guide to CMS Development. Schommer and Broschart 2009
-
Re: Silverstripe book - "showing related page recipe"

13 May 2011 at 3:08am
As far as I can see that function isn't included in sample code, but it looks like its just a simple function that grabs the text from inside the variable "ContextNavKeywords" in the static $DB (see listing 11.26, 3 pages back)
@Willr What other Silverstripe books are out there?
| 663 Views | ||
|
Page:
1
|
Go to Top |



