Code Box

Version 1.0

Description

A chunk of random text or code to insert into lists, menus or bars

Configuration

Below are the list of settings that the user can choose from for each configured data object of the Code Box module.

Configurable Settings
Number Configurable Variable Description Input Type Input Rules
1 Name The Name of this Code Box. - This will also appear as the HTML title on top of the browser and will appear as part of the page title in search engine listings - keep it short and meaningful! text Mandatory Field. Plain Text Only.
2 Description A short description of this Code Box. - This will be added into the HTML meta tag for the page in question and is important for search engines, so use several specifically descriptive words that match the content of the object. This will also appear on the management screens for this site. It is a good idea to give a brief description which will enable you to quickly identify which entries are which in lists of objects. textarea Mandatory Field. Plain Text Only.
3 Image An icon file associated with this Code Box. - This allows you to link to the Code Box with an image instead of a text string. Enter the name of a valid local file. text Optional Field. Plain Text Only.
Code Box Basic Information
4 PHP Code The contents of the code box - Whatever you want to appear can go here really! The code box is designed to allow you to drop small pieces of text and code into other elements to get the finishing touch that you need! textarea Mandatory Field. HTML / PHP input allowed.
Access Control for this Code Box
Protect this Code Box from unauthorised users and from being used in other sections of the site
5 Protected Should This Code Box be hidden from the public? - Check this box if you want this Code Box to be only visible to editors on the site. This can be useful for keeping certain pages hidden from public view. checkbox On / Off
6 Shared? Should This Code Box be available to add to menus etc on other sections of this site? - Shared Data Objects can be added to menus, lists, pages and so on throughout the site, no matter what section the page that includes them is from. Objects that are not shared are only available within the site section where they are owned. checkbox On / Off

Display Modes

  1. Contents

Bugs

To do List and requested features

--Oscailt Auto-generated Documentation 09 Jan 2006
Topic revision: r2 - 09 Jan 2006, ChekovFeeney
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback