hostxls Posted August 2, 2016 Share Posted August 2, 2016 Hello, In my Admin I have open the posibility to use Twitter but since then I notes that the client frontpage is no longer occupy by the Announcements but by the Twitter Lates Tweets. https://hostxls.com/clients/ https://hostxls.com/clients/announcements.php How do I change that? I would like that the announcements (News) should become the clients first ad page and if it is possible that the tweets come part of the announcements I would be thankful. Can someone help me with this. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 2, 2016 Share Posted August 2, 2016 I would like that the announcements (News) should become the clients first ad page and if it is possible that the tweets come part of the announcements I would be thankful. to remove the tweets from the homepage, you'd need to edit homepage.tpl and change... {if $twitterusername} <h2>{$LANG.twitterlatesttweets}</h2> <div id="twitterFeedOutput"> <p class="text-center"><img src="{$BASE_PATH_IMG}/loading.gif" /></p> </div> <script type="text/javascript" src="templates/{$template}/js/twitter.js"></script> {elseif $announcements} to... {if $announcements} to add your tweets to the announcement page would require adding the code you've removed from homepage.tpl to announcements.tpl... {if $twitterusername} <h2>{$LANG.twitterlatesttweets}</h2> <div id="twitterFeedOutput"> <p class="text-center"><img src="{$BASE_PATH_IMG}/loading.gif" /></p> </div> <script type="text/javascript" src="templates/{$template}/js/twitter.js"></script> {/if} you might need to play with the output styling, but that's basically how to do it, 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.