2017-04-30, 20:18:58
(2017-04-30, 17:06:24)Shasaar Wrote: getPageContent and getSpecialPageContent doesn't work.
That should be get_page_content() for the main content text and get_special_field($name) for the contents of a special field. See: http://mvlcek.bplaced.net/get-simple/i18nspecialpages for the other options.
If the Special Page 'View' field is empty and you have selected, for example, the default template, there will be no difference between the display of a special page and a normal page. The main content text will be displayed; the special fields will not be displayed.
If there is something in the 'View' field, that code will be used in place of the get_page_content() in the template.
I have never used the View feature of Special Pages in a production site, so there is almost certainly more to it than this. I just tried it out on a test site and this was the result of my observations.
--
Nick.
Nick.