nemosucker Posted October 4, 2010 Share Posted October 4, 2010 Hello there, i did upgrade my ver, from 4.1.2 to 4.3.1 now i got something differnt on announcements display in the old ver he show just 1 announcements in homepage now in the new ver i got 3 announcements display at my homepage now the code has change too look like now {if $twitterusername} <div id="twitterfeed"> <p><img src="images/loading.gif"></p> </div> {literal}<script language="javascript"> $(document).ready(function(){ $.post("announcements.php", { action: "twitterfeed", numtweets: 3 }, function(data){ $("#twitterfeed").html(data); }); }); </script>{/literal} {elseif $announcements} {foreach from=$announcements item=announcement} <p>{$announcement.date} - <a href="{if $seofriendlyurls}announcements/{$announcement.id}/{$announcement.urlfriendlytitle}.html{else}announcements.php?id={$announcement.id}{/if}">{$announcement.title}</a><br />{$announcement.text|strip_tags|truncate:100:"..."}</p> {/foreach} {/if} so what i have to do to let just 1 announcements display at my homepage again plz any one help me 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.