v2.7 Code for Easy Edit News Box
EASY EDIT NEWS BOX
Place the following code anywhere in a .tpl file where you would like the NEWS BOX to appear (usually after {insert name=advertise adv_name='home_right_box'} on index.tpl):
Code:
<div class="section bg2 clearfix">
<div class="hd">
<div class="hd-l">What's New!</div>
<div class="hd-r"></div>
</div><div style="padding:5px;">{php} include 'news.txt' {/php}</div>
</div>
With NOTEPAD, create news.txt and enter your news items. To make it look nice, you should have a little html knowledge and use it in this document...then upload it to your vShare root (the same place where your index.php resides). Any time you want to change your news, just edit the news.txt document and upload.
Enjoy :D
If it's not fun, stop doing it!
Bookmarks