2013-01-02, 00:24:12
Yeh it's giving me a 404
From within the loop:
If I output the array as above I get:
Array ( [url] => blog-item-1 [pubDate] => Wed, 19 Dec 2012 16:03:06 +0000 [title] => Blog Item 1 [meta] => these are the keywords [metad] => Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis. [menu] => News Item 1 [menuOrder] => 0 [menuStatus] => [template] => blog-item.php [parent] => blog [private] => [author] => admin [returnpage] => Image [slug] => blog-item-1 [filename] => blog-item-1.xml )
... you can see "Image" is there. But yeh I can't seem to output it...
[/php]
From within the loop:
PHP Code:
foreach ($newsPages as $page) {
print_r($page);
}
If I output the array as above I get:
Array ( [url] => blog-item-1 [pubDate] => Wed, 19 Dec 2012 16:03:06 +0000 [title] => Blog Item 1 [meta] => these are the keywords [metad] => Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis. [menu] => News Item 1 [menuOrder] => 0 [menuStatus] => [template] => blog-item.php [parent] => blog [private] => [author] => admin [returnpage] => Image [slug] => blog-item-1 [filename] => blog-item-1.xml )
... you can see "Image" is there. But yeh I can't seem to output it...
[/php]
(2013-01-01, 12:42:29)jason.dixon.email Wrote:Quote:Sorry if I am being confusing sir
No problem! I feel like I'm missing the obvious, haha.
"insert_page_content( "blog->image" ); Should output the tab directly.
"return_page_content( "blog->image" ); Should return the content to the script so you can do something with the html.
If you go into the plugins settings (under the settings menu) and turn on "show errors". Do you get an error popping up when viewing the page? You do have a tab named "image" on the blog page, right?