Recommend this page to a friend! |
Download .zip |
Info | Screenshots | View files (23) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2005-12-08 (10 years ago) | Not enough user ratings | Total: 884 | All time: 3,821 This week: 1,016 |
Version | License | Categories | ||||
links 1.0 | GNU Lesser Genera... | Databases, Content management |
Description | Author | ||||||||||||||
This package provides an administration interface to manage a collection of link URLs stored in a database. |
|
Links admin readme ------------------ A class by Mick Sear, eCreate, utilising my own simple templating class and db connection class as well. Installation: 1) Copy files to a folder within your web root. 2) Create a database (if required) 3) Edit config.php to add in database connection details 4) Import the following SQL to create the necessary tables: CREATE TABLE channels ( id int(5) NOT NULL auto_increment, name varchar(50) NOT NULL default '', description text, PRIMARY KEY (id) ); CREATE TABLE links ( id int(10) NOT NULL auto_increment, url varchar(254) default NULL, description varchar(254) default NULL, rating int(1) default NULL, channel varchar(50) default NULL, keywords text, published int(1) NOT NULL default '1', PRIMARY KEY (id) ); insert into channels(id, name, description) values('', 'general', 'General Links'); 5) Change the authentication mechanism if necessary, and templating if necessary. This way, this system can easily be integrated into your own system. Basic form authentication is included. 6) Point your browser at http://yourdomain/somefolder/login.php 7) Log in with username 'admin', password 'password', create a few channels, and add links! 8) Use the snippets getLinksByKeyword.php and getLinksByChannel.php as a basis for your front-end code. |
Screenshots | ||
Files |
File | Role | Description | ||
---|---|---|---|---|
classes (4 files) | ||||
images (9 files) | ||||
templates (2 files) | ||||
config.php | Conf. | DB Config | ||
getLinksByChannel.php | Example | Display links based on channel name | ||
getLinksByKeyword.php | Example | Display links based on keyword metadata | ||
login.php | Appl. | Admin page | ||
manage_channels.php | Appl. | Admin page | ||
manage_links.php | Appl. | Admin page | ||
readme.htm | Doc. | READ ME - instructions | ||
style.css | Data | Stylesheet for admin |
Files | / | classes |
File | Role | Description |
---|---|---|
Channels.php | Class | Channel class |
Database.php | Class | DB class |
Links.php | Class | Links class |
Templater.php | Class | Templater class |
Files | / | images |
File | Role | Description |
---|---|---|
0_stars.gif | Icon | Image used on front-end |
1_stars.gif | Icon | Image used on front-end |
2_stars.gif | Icon | Image used on front-end |
3_stars.gif | Icon | Image used on front-end |
4_stars.gif | Icon | Image used on front-end |
5_stars.gif | Icon | Image used on front-end |
amber.gif | Icon | Image used in admin interface |
green.gif | Icon | Image used in admin interface |
red.gif | Icon | Image used in admin interface |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|