Jump to content


latest posts inside dynamic content box


  • You cannot reply to this topic
No replies to this topic

#1 lazywolfy

    Newbie

  • Members
  • Pip
  • 3 posts

Posted 09 April 2008 - 02:53 PM

I would like to take the latest news (small version) and place it one of the div tabs of a dynamic content box like this one but i'm having some trouble with the code. I can get the dynamic content box inside a custom content block easily and it works great, but when I add the latest posts code I just get a bunch of parse error messages. I'm assuming because it's not meant to be in a block like that.

Can somebody telll me how to edit the code to be able to use it in a block or dynamic content box?
maybe you can tell me if I'm even using the right code....
thanks

here's the code at Look&Feel --> skin --> edit template html --> skin_uportal -->latest_posts_row:

<fieldset>
	<a href='{$this->ipsclass->base_url}showtopic={$fetch['tid']}&view=getnewpost'>{$fetch['title']}</a><br/>
	<b>{$this->ipsclass->lang['in']}:</b> 
	<a href='{$this->ipsclass->base_url}showforum={$fetch['forum_id']}'>{$fetch['name']}</a><br/>
	<b>{$this->ipsclass->lang['by']}: </b>
<if="$fetch['id'] == 0">
{$fetch['guest_last_poster_name']}
<else />
<a href='{$this->ipsclass->base_url}showuser={$fetch['id']}'>{$fetch['members_display_name']}</a>
</if>

</fieldset>






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users