Hi
@wendy : youcan find the original joomla componant
glossary.
@MadeMyDay : are you sure that use the Modx document structure is a good idea?
Dragon show me a glossary of 1145 words. I don’t know; but a document tree with more than 1200 item will be too heavy, no?
Suggestion :
Create a special table : glossary
`id` int(9) unsigned NOT NULL auto_increment,
`is_category` enum('0','1') NOT NULL default '0',
`parent` int(9) unsigned NOT NULL default '1',
`name` varchar(255) NOT NULL default '',
`desc` text NOT NULL,
`Published` enum('0','1') NOT NULL default '1',
`date_edit` datetime NOT NULL default '0000-00-00 00:00:00',
`date_create` datetime NOT NULL default '0000-00-00 00:00:00',
during installation create one category "Global" with id "1" . All new word will be save in this category if the user do not use categories
Config :
$showcategories = "0/1";
$beginwith = "all";
$autopublish = "0/1";
$perpage = "25";
$characters = array("A","B","C","D","E","F","G", ... "3", "4", "5", "6", "7", "8", "9");
- Create administration webpage to create, edit, delete categories and word’s definition
- Create a Glossaryview snippet to :
Show the categories list if $showcategories = "1";
Show the word list with pagination and characters menu : All , $chracters, Other
Your point of view ?
Aour