I have made a news mod and it is based on the company mod by jerome. It is very simple but with the right skills it is easy to make more advance but my skills are low.
Here you can help
The first thing I need is someone who want to test it and to make better replacement tag for it.
Right now the only replacement tags that work is :
Replacement tags
{NM:AUTHOR_NAME:news_title}
{NM:CATEGORY:news_title}
{NM:STORY:news_title}
The replacement tags is controlled in this file:
news.func.inc
Installation:
only 5 minutes to install
only 2 files to edit
good instruction included
Functions:
Let you add:
Title
Categori
Author
Story via wysiwug editor based on the settings in you conf.inc.php
Deleting news
Edit old news
Images:
Download:
http://www.frold.dk/news_mod/mod_news_beta2.zip
First thing to do
Better replacement tag
Auto adding of day added
Code: Select all
############################################################################################
## MOD Title: phpwcms News Mod
## MOD Author: Based on Company MOD by Jerome < spam@jerome-gamez.de > (Jerome Gamez) http://jerome-gamez.de/
## MOD Co-Author: Company MOD modified be Frold
## MOD Description: Adds a news function to phpwcms
## MOD Version: BETA TESTING
##
## Installation Level: Easy
## Installation Time: 5 Minutes
##
## Requirements: - phpwcms V1.1-RC2 2003-04-04 (only tested on that version)
## - or RC3
## - or RC4
##
## Files To Edit: phpwcms.php
## include/inc_front/content.func.inc.php
##
###########################################################################################
## For Security Purposes, Please Check http://www.phpwcms.de/forum/viewtopic.php?p=8790
## for the latest version of this MOD. Downloading this MOD from other sites could cause
## malicious code to enter into your phpwcms-installation. As such, phpwcms will not
## offer support for MOD's not offered at: http://www.phpwcms.de/forum/
###########################################################################################
## Author Notes:
##
## WARNING: The deletion of entries is hard. That means, unlike the usual
## phpwcms behavior, the entries are completely deleted from the
## database and not just marked as "deleted".
###########################################################################################
## MOD History:
##
## 2004-04-10 BETA TESTING
## * For phpwcms V1.1-RC2 2003-04-04
## 2004-04-25 Testet if it work with RC3 and it does + better installing instructions
## 2004-04-26 Minor bud fix in news.functions.inc missing DB_PREPEND
## 2004-05-06 Change in news.list.tmpl so the newest news is listed first
## Add a news_mod.php - now you can browse news in the frontend...
##
###########################################################################################
## Before Adding This MOD To Your phpwcms, You Should Back Up All Files Related To This MOD
###########################################################################################