Community Add-Ons

Maintainers: natewlew
Add file to this package
Top » Features

News Blog V 1.0
for osCommerce Online Merchant v2.2

This contribution is sort of a news blog. You can make new articles from the admin section of Oscommerce. Users can add comments to your articles. You have complete editing control in the admin section.
Every article is sorted by date in the store and the admin section. I used the mysql SELECT DISTINCT function to sort the dates. It has a static automatic RSS feed function. When you write a new article all you have to do click "Create RSS" and your done. Users will always be up to date. See the preview pics in the preview folder.

Support Thread:

http://forums.oscommerce.com/index.php?showtopic=246811

Legend:  Download   Report
Expand All / Collapse All
Tweak per-50kata + WISIWYG aagun2006 9 Feb 2008  

masukan script ini di catalog/includes/functions masukan sebelum ?>

//BOF:cuplikArtikel
function cuplikArtikel($konten,$url)
{
$maxKata=BANYAKNYAKATA; //max kata dalam cuplikan artikel --> silahkan diganti sesuai kebutuhan
$pecahArtikel=explode(' ',$konten); //pecah artikel menjadi array of string

if(count($pecahArtikel) > $maxKata)
{
$cuplik='';
for($a=0;$a<$maxKata;$a++)
{
$cuplik.=$pecahArtikel[$a]." " ;
}
echo"$cuplik . . . .<br><a href=$url>";
echo SELENGKAPNYA;
echo " &raquo; </a>";
}
else
{
echo $konten;
}
}
//EOF:cuplikArtikel

Subtitle tweak sean4u 10 Jan 2008  
News BLog V 1.4 natewlew 29 Jan 2007  
Blog V 1.4 natewlew 24 Jan 2007  
Blog V 1.4 natewlew 24 Jan 2007  
News Blog V 1.0 with Update natewlew 23 Jan 2007  
News Blog V 1.2 natewlew 22 Jan 2007  
News Blog V 1.0 natewlew 19 Jan 2007