Main > Programming > Libraries >

HTML::Widgets::Index 0.6

HTML::Widgets::Index 0.6

Sponsored Links

HTML::Widgets::Index 0.6 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.064 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 800
Date added: 2007-08-15

HTML::Widgets::Index 0.6 description

HTML::Widgets::Index is a Perl module for creating web indexes and menus.

This module renders the index of a document tree using the data stored in a MySQL database generated by anxova. It has a flexible set of render options that gives the webmaster many options on the menu item layout.

Table

The tree data must be in a table in a database. The fields of this table should be:

id: int identifies the entry
uri: varchar(150) link of the entry
text: varchar(150) text displayed in the screen
id_parent: int the parent of the current entry. The root is 0
ordern: int menu item position on the menu

Data

Say you have a document tree like this:

a
a1.html
a2.html

b
b1.html
b2
b21.html
b22.html
b3.html

c
c1.html

Then you must enter this in the table :

; First the directory A
INSERT INTO index_items (id,id_parent,uri,text)
VALUES (1,0,a,dir A);

; Now the docs of the a dir
INSERT INTO index_items (id,id_parent,uri,text)
VALUES (2,1,a1.html,A first);
INSERT INTO index_items (id,id_parent,uri,text)
VALUES (3,1,a2.html,A 2nd);
; Now the directory B INSERT INTO index_items (id,id_parent,uri,text) VALUES (4,0,b,dir B); INSERT INTO index_items (id,id_parent,uri,text) VALUES (5,4,b1.html,B first);

; The directory B has subdirs INSERT INTO index_items (id,id_parent,uri,text) VALUES (6,4,b2,B second section);
INSERT INTO index_items (id,id_parent,uri,text)
VALUES (7,6,b21.html,B 2 1 doc);

Notice the uri field is relative, not absolute. You dont need to specify all the path to a document. So you can move docs in the directory, then just change the parent in the table.

The items are sorted alphabetically, if you want to change the order displayed in the html, just add the field ordern when you do the insert:

INSERT INTO index_items (id,id_parent,uri,text,ordern)
VALUES (5,4,b1.html,B first,2);

INSERT INTO index_items (id,id_parent,uri,text)
VALUES (6,4,b2,B second section,1);

HTML::Widgets::Index 0.6 Screenshot

Advertisements

HTML::Widgets::Index 0.6 Keywords

Bookmark HTML::Widgets::Index 0.6

Hyperlink code:
Link for forum:

HTML::Widgets::Index 0.6 Copyright

WareSeeker periodically updates pricing and software information of HTML::Widgets::Index 0.6 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of HTML::Widgets::Index 0.6 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
HTML-Widgets-NavMenu is a Perl module to generate navigation menus and control site flow. Free Download
HTML::Widgets::DateEntry is a Perl module that creates date entry widgets for HTML forms. Free Download
HTML::Widgets::NavMenu is a Perl Module for Generating HTML Navigation Menus. Free Download
HTML::Adsense is a Perl module that can create adsense widgets easily. Free Download
HTML Objects is a Perl module library for turning HTML tags into Perl objects. Free Download
HTML::GenToc is a Perl module that generate a Table of Contents for HTML documents. Free Download
MySQL wrapped is a very small collection of classes that hides the MySQL C API. Free Download
HTML::DWT is a Perl module with DreamWeaver HTML Template. Free Download