No, that won't work.
getPageContent displays the content for a given slug, not for a dynamically generated page.
I understand that you want to replace a certain page content by NM's output for a certain tag. I suppose you don't want to have "/news/tag/kultur" in the URL, but e.g. "/xxsliugxx"
I think this could be done with a .htaccess rewriterule like this:
(If you browse "/example" you will get the content for "/news/tag/kultur")
PS I've just made a new template tag/function nm_list_recent_by_tag that lists posts for a given tag (only titles, for use in the sidebar like nm_list_recent). I think I'm going to include in News Manager 2.5
getPageContent displays the content for a given slug, not for a dynamically generated page.
I understand that you want to replace a certain page content by NM's output for a certain tag. I suppose you don't want to have "/news/tag/kultur" in the URL, but e.g. "/xxsliugxx"
I think this could be done with a .htaccess rewriterule like this:
Code:
RewriteRule ^example/?$ index.php?id=news&tag=kultur [L]
(If you browse "/example" you will get the content for "/news/tag/kultur")
PS I've just made a new template tag/function nm_list_recent_by_tag that lists posts for a given tag (only titles, for use in the sidebar like nm_list_recent). I think I'm going to include in News Manager 2.5