back to Modules

How to make Glossary work with WYSIWYG editor?

Cyberman provided this solution:

  1. Open Glossary.module.php with your favourite editor
  2. Go to line 1186
  3. Find the following Code:
    $this->smarty->assign('input_field_definition',$this->CreateTextArea(false, $id, $def, 'definition'));
  4. Change it to Code:
    $this->smarty->assign('input_field_definition',$this->CreateTextArea(true, $id, $def, 'definition'));
  5. Save and upload it.


CMSMS 1.0.2 : DECEMBER 2006

STEP 1

Create a new page called FAQ [or whatever you like], and paste this code in the Content box [you can change layout, style etc later]:

{cms_module module='Glossary'}

Click SUBMIT to save the page.


STEP 2

In the Main Menu, select CONTENT - scroll down to GLOSSARY to start adding stuff:

You will be taken to a page where you can:

  • Manage Terms
  • Manage Categories
  • Manage Templates
  • Manage Admin Preferences

You will see a few sample items already there. You can delete these by clicking the DELETE icon at the right of each Item Name.


STEP 3
  • Create a couple of Categories - if you would like them to appear in a specific order, you might wish to number them when you name them, e.g. "1. Getting Started"
  • Create a couple of Glossary Items and assign Categories to them - if you would like them to appear in a specific order, you might wish to number them when you name them, e.g. "a. First Step!"


STEP 4 - Changing Template/Stylesheets

If you need to change the way they 'look' on the page, you can do so by clicking the link MANAGE TEMPLATES, and specifying a different STYLESHEET in the Admin Prefs.

TIP: You can change the Template on Glossary Link as well as Glossary Page 'tabs'.

This isn't the definitive guide, but it's a start.

--WebGirl 01:36, 4 December 2006 (CST)


back to Modules


This page in: English - Deutsch - Español - Français - Italiano - Lietuvių - Nederlands - Norsk - Polski - Česky - Русский - Svenska - Tiếng Việt - عربي - 日本語 简体中文

User Handbook/Admin Panel/Extensions/Modules/Glossary

From CMSMS

Arvixe - A CMSMS Partner