Jump to content

Show annoucements on front page


Bucket

Recommended Posts

How do I show the announcements on a front page for the V3.8.2?

 

I tried this code:

{if $announcements}
<h2>{$LANG.latestannouncements}</h2>
<p>{$announcements.0.date} - <a href="{if $seofriendlyurls}announcements/{$announcements.0.id}/{$announcements.0.urlfriendlytitle}.html{else}announcements.php?id={$announcements.0.id}{/if}">{$announcements.0.title}</a><br />{$announcements.0.text|strip_tags|truncate:100:"..."}</p>
{/if}

 

But when I reload the page, it shows a blank page on my homepage?

 

Can someone tell me the code to make it work with 3.8.2!

 

Please do not post "Just upgrade to V4, it already has it integrated..."

 

I know that, but I do not want to do it...

Link to comment
Share on other sites

I think Y ppls are not responding is because most are running V4 and really don't have to bother with that anymore plus you posted

Please do not post "Just upgrade to V4, it already has it integrated..."

 

So ppls are not gonna answer but what I would suggest is to upgrade to V4. :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated