Any ideas?
<edit>I have other PW sites working on the same web server without any problems.</edit>
Edited by DaveP, 16 March 2012 - 08:19 AM.
Posted 16 March 2012 - 07:27 AM
Edited by DaveP, 16 March 2012 - 08:19 AM.
Posted 16 March 2012 - 09:31 AM
what kind of field? does it work on other templates?
another template and the PW admin both correctly show the field's contents
Posted 16 March 2012 - 10:00 AM
var_dump($page->field);
Posted 16 March 2012 - 10:20 AM
Posted 17 March 2012 - 07:51 AM
Posted 17 March 2012 - 08:33 AM
Posted 17 March 2012 - 08:48 AM
@somartist | modules created | support me, flattr my work flattr.com
Posted 17 March 2012 - 08:49 AM
Posted 17 March 2012 - 11:44 AM
In your code where you are examining the value with var_dump(), is there anything that occurs before it? Or is this at the very top of your template file?
<title><?php
echo $page->get("headline|title");
if($page->template = 'mytemplate') echo ', '.$page->parent->title;
?> | mysitename</title>The page hierarchy at this point in skyscraper terms is /new-york-city/chrysler-building/ so what I'm trying to do is build a nice SEO friendly page title of 'Chrysler Building, New York City | mysitename'.Posted 17 March 2012 - 01:01 PM
Posted 17 March 2012 - 02:29 PM
Posted 18 March 2012 - 08:25 AM
0 members, 0 guests, 0 anonymous users