Code
<div class="post_head">
<h2 id="post-<!--[$info.sid]-->"><!--[$info.title]--></h2>
<p class="postmetadata"><!--[pnml name=_PARTOF]--> <a href="user.php?op=userinfo&uname=<!--[$info.informant]-->"><!--[$info.informant]-->'s</a> <!--[pnml name=_ADVENTUREIN]--> <a href="index.php?name=News&topicid=<!--[$info.topicid]-->"><!--[$info.topictext]--></a> <!--[articleadminlinks sid=$info.sid]--></p>
</div>
<h2 id="post-<!--[$info.sid]-->"><!--[$info.title]--></h2>
<p class="postmetadata"><!--[pnml name=_PARTOF]--> <a href="user.php?op=userinfo&uname=<!--[$info.informant]-->"><!--[$info.informant]-->'s</a> <!--[pnml name=_ADVENTUREIN]--> <a href="index.php?name=News&topicid=<!--[$info.topicid]-->"><!--[$info.topictext]--></a> <!--[articleadminlinks sid=$info.sid]--></p>
</div>
to display this:
Part of admin's adventure in Name_Of_Topic [ Edit | Delete ]
Now, I just need to know the correct usage for displaying the category instaed of topic. I know this is wrong but here is what I have in travelogue/templates/modules/News/news_user_index.htm:
Code
<div class="post_head">
<h2 id="post-<!--[$info.sid]-->"><a href="<!--[$links.fullarticle]-->" rel="bookmark" title="<!--[pnml name=_PERMALINK]--> <!--[$info.title]-->"><!--[$info.title]--></a></h2>
<p class="postmetadata"><!--[pnml name=_PARTOF]--> <a href="user.php?op=userinfo&uname=<!--[$info.informant]-->"><!--[$info.informant]-->'s</a> <!--[pnml name=_ADVENTUREIN]--> <a href="index.php?module=News&func=display&sid=<!--[$info.sid]-->"><!--[$info.cattext]--></a> <!--[articleadminlinks sid=$info.sid]--></p>
</div>
<h2 id="post-<!--[$info.sid]-->"><a href="<!--[$links.fullarticle]-->" rel="bookmark" title="<!--[pnml name=_PERMALINK]--> <!--[$info.title]-->"><!--[$info.title]--></a></h2>
<p class="postmetadata"><!--[pnml name=_PARTOF]--> <a href="user.php?op=userinfo&uname=<!--[$info.informant]-->"><!--[$info.informant]-->'s</a> <!--[pnml name=_ADVENTUREIN]--> <a href="index.php?module=News&func=display&sid=<!--[$info.sid]-->"><!--[$info.cattext]--></a> <!--[articleadminlinks sid=$info.sid]--></p>
</div>
Any help? Where do I look? I've been through all of the news templates and can't find my bearings...
--
[ stevencopley.com ]
