LunpaCMS Whipping your website into shape! Introducing Lunpa, our mascot.  Her mother was a hamster and her father was Chilean M00se.  Oddly, neither smelt of elderberries.


LunpaCMS Map Manager Documentation

A Quick Introduction

LunpaCMS is built on a simple mapping structure and Map Manager organizes that framework for your website. When initially starting with LunpaCMS, you will find that many of your websites toggles & switches are listed under Map Manager. You can add new maps that can be shorthand for lengthy programming gestures, or simple switches that tie into another program. You will find by reviewing the Map Manager that many of the other LunpaCMS Managers have settings & features controlled through Map Manager. Overall, you can think of Map Manager as similar to Windows Registry; while you can certainly play around with it, it is best to know what you are doing before you start changing things.

What does it all mean?

Many of the default maps will be described under the Managers they refer to or tie into. Altering these can have unexpected and awkward results, if you do not understand what you are changing. The simpler maps are quite innocuous, such as "webtitle", "default_face" or "title_face". These can be changed at your whim and obviously tied into your websites local stylesheet (see Color Manager Documentation).

You can add as many Maps to the Manager as you require to tailor the site to your requirements. Thus, if you create a map as a shorthand for a lengthy set of code that repeats through the site in irregular ways such as "LengthyCode", you merely need to add :::map_LengthyCode::: at the required locations. And if the shorthand needs to be shorter, simply rename the map to "LC" and use it where needed as :::map_LC:::.

As a review of Map Manager attests, a map can contain map references. Thus, if you have a couple of locations where your LengthyCode needs to be bracketed slightly augmented code, you can create a map called "[LC]" (used at the required location as :::map_[LC]:::), which calls :::map_AugmentedCode1::::::map_LC::::::map_AugmentedCode2:::.

What's all this then?

You will find that many of the variable below are fairly self-explanatory. Items whose names mention Template Manager, User Manager, or other Managers, have particular relations with those LunpaCMS modules.
EXAMPLE MAP MANGER CODES
LOCAL_STYLESHEETLunpaCMS.template
LOCAL_COOKIE_REQUIRED0
LOCAL_COOKIE_TO_TESTApache
LOCAL_COOKIE_ERROR_TEMPLATEcookie_error
LOCAL_METANULL
LOCAL_META_KEYWORDSNULL
LOCAL_META_DESCRIPTIONNULL
LOCAL_HEAD_ADDITIONSNULL
LOCAL_DOCTYPE
ENABLE_AUTO_META1
title_faceverdana,arial,helvetica,sans-serif
default_facetimes%20new%20roman,times,georgia,serif
webtitleLunpaCMS - A CMS Framework for building Perl Websites
LOCAL_AUTO_SCREENSIZE1
LOCAL_SCREENSIZE_TEMPLATEscreensize
LOCAL_LIBRARYLibrary_lunpacms
LOCAL_LIBRARY_PATH:::map_LOCAL_BASE_PATH:::/lib
LOCAL_DOMAINlunpacms.org
LOCAL_PRIMARY_WEBSITE_URLhttp://www.:::map_LOCAL_DOMAIN:::/
LOCAL_SESSION_COOKIEsession
LOCAL_REDIR_ON_ERROR:::map_LOCAL_PRIMARY_WEBSITE_URL:::
LOCAL_BASE_PATH/htdocs/:::map_LOCAL_DOMAIN:::/html
LOCAL_ADMIN_MENUON
LOCAL_ADMIN_MENU_TEMPLATENULL
LOCAL_ALT_TEMPLATE_DIR:::map_LOCAL_BASE_PATH:::/templates
backgroundNULL
LOCAL_CARRYOVER_VAR_LIST"partner", "action", "category", "item_id",

Above are some of the viscera of LunpaCMS.

LOCAL_MAPMANAGER_VER4.3
LOCAL_MAPMANAGER_MAIN_BEGIN_TEMPLATEmain-begin
LOCAL_MAPMANAGER_MAIN_END_TEMPLATEmain-end
LOCAL_MAPMANAGER_ALT_TEMPLATE_DIR:::map_LOCAL_BASE_PATH:::/templates

Above are some of the Map Manager related controls.

LOCAL_COLORS_TABLEcolors
LOCAL_COLORMANAGER_VER5.12

Above are some of the Color Manager related controls.

LOCAL_MAIN_BEGIN_TEMPLATEmain-begin
LOCAL_MAIN_END_TEMPLATEmain-end
LOCAL_ADMIN_MAIN_BEGIN_TEMPLATEadmin_main-begin
LOCAL_ADMIN_MAIN_END_TEMPLATEadmin_main-end
LOCAL_TEMPLATEMANAGER_ROWS28
LOCAL_TEMPLATEMANAGER_COLS120
LOCAL_TEMPLATEMANAGER_VER4.0
LOCAL_TEMPLATEMANAGER_BASE_CGI/base.cgim
LOCAL_TEMPLATEMANAGER_WIDTH_MULTIPLIER_1024.08
LOCAL_TEMPLATEMANAGER_WIDTH_MULTIPLIER_1280.08
LOCAL_TEMPLATEMANAGER_WIDTH_MULTIPLIER_800.09
LOCAL_TEMPLATEMANAGER_ENABLE_WYSIWYG_EDITOR1

Above are some of the Template Manager related controls.

LOCAL_USERMANAGER_VER1.42
LOCAL_USERMANAGER_DB_HASHNULL
LOCAL_USERMANAGER_UPDATE_DB_HASHNULL
LOCAL_USERMANAGER_ADD_DB_HASHNULL
LOCAL_USERMANAGER_TRACK_LAST_VISITNULL
LOCAL_USERMANAGER_POST_DELETE_USERNULL
LOCAL_USERMANAGER_POST_ADD_USERNULL
LOCAL_USERMANAGER_POST_UPDATE_USERNULL
LOCAL_USERMANAGER_OLD_PASSWORD_TAG
LOCAL_USERMANAGER_SINGLE_CASE_ALL_PASSWORDS0
LOCAL_USERMANAGER_USER_SITE_LOGON_DISABLEDNULL
LOCAL_USERMANAGER_USER_CREATE_DISABLED1
LOCAL_USERMANAGER_CONFIRM_EMAIL1
LOCAL_USERMANAGER_LAST_SESSION_PURGE2011-11-04 02:22:58
LOCAL_USERMANAGER_SYSTEM_EMAILdo-not-reply@:::map_LOCAL_DOMAIN:::

Above are some of the User Manager related controls.

LOCAL_NEWSMANAGER_MAIN_BEGIN_TEMPLATEmain-begin
LOCAL_NEWSMANAGER_MAIN_END_TEMPLATEmain-end
LOCAL_NEWSMANAGER_POPUP_MAIN_BEGIN_TEMPLATEmain-begin
LOCAL_NEWSMANAGER_POPUP_MAIN_END_TEMPLATEmain-end
LOCAL_NEWSMANAGER_ALT_TEMPLATE_DIR:::map_LOCAL_ALT_TEMPLATE_DIR:::
LOCAL_NEWSMANAGER_VER4.96
LOCAL_NEWSMANAGER_CACHE_ENABLED
LOCAL_NEWSMANAGER_CUSTOM_NEWS_OUTPUTNULL
LOCAL_NEWSMANAGER_RANDOM_IMAGE_DISPLAY1
LOCAL_NEWSMANAGER_TAB_ENABLED1
LOCAL_NEWSMANAGER_POPUP_WIDTH700
LOCAL_NEWSMANAGER_POPUP_HEIGHT500

Above are some of the News Manager related controls.

LOCAL_PHOTOMANAGER_SET1_FILES_DIR:::map_LOCAL_BASE_PATH:::/pictures
LOCAL_PHOTOMANAGER_SET1_THUMBNAIL_LINKS0
LOCAL_PHOTOMANAGER_SET1_ALT_ADMINNULL
LOCAL_PHOTOMANAGER_SET1_THUMB_COLS5
LOCAL_PHOTOMANAGER_SET1_GALLERY_COLS3
LOCAL_PHOTOMANAGER_SET1_DISPLAY_WIDTH870
LOCAL_PHOTOMANAGER_SET1_LINK_FROM_THUMB_MAX_WIDTH540
LOCAL_PHOTOMANAGER_SET1_LINK_FROM_THUMB_MAX_HEIGHT450
LOCAL_PHOTOMANAGER_SET1_BORDERNULL
LOCAL_PHOTOMANAGER_SET1_IMAGE_PARAMS&border_1_size=1&border_1_color=:::color_table_bor...
LOCAL_PHOTOMANAGER_SET1_SORT_BYNAME
LOCAL_PHOTOMANAGER_SET1_SORT_ORDERASC
LOCAL_PHOTOMANAGER_SET1_LISTING_SORT_BYDATE
LOCAL_PHOTOMANAGER_SET1_LISTING_SORT_ORDERDESC
LOCAL_PHOTOMANAGER_SET1_GALLERY_SORT_BYNAME
LOCAL_PHOTOMANAGER_SET1_GALLERY_SORT_ORDERASC
LOCAL_PHOTOMANAGER_PHOTO_VIEW_WIDTH400
LOCAL_PHOTOMANAGER_PHOTO_VIEW_HEIGHT400
LOCAL_PHOTOMANAGER_ALLOW_UPSCALE1
LOCAL_PHOTOMANAGER_CORRECT_ORIENTATIONenabled
LOCAL_PHOTOMANAGER_ALT_TEMPLATE_DIR:::map_LOCAL_BASE_PATH:::/templates
LOCAL_PHOTOMANAGER_VER2.24

Above are some of the Photo Manager related controls.

LOCAL_UPLOADMANAGER_VER1.0
LOCAL_UPLOADMANAGER_ALLOWED_DIRSimages/; pdfs/
LOCAL_FILELISTER_VER1.22
LOCAL_FILELISTER_COLUMN_COUNT3
LOCAL_FILE_LISTER_SET1_DIRNULL
LOCAL_FILE_LISTER_SET1_INTRODUCTIONNULL
LOCAL_FILE_LISTER_SET1_NAMENULL
LOCAL_FILE_LISTER_SET1_CLOSINGNULL
LOCAL_FILE_LISTER_SET1_COLUMN_COUNT3

Above are some of the Upload Manager & Filelister related controls.

LOCAL_EVENTMANAGER_EVENTS_TABLEevents
LOCAL_EVENTMANAGER_EVENTS_CAT_TABLEevent_cat
LOCAL_EVENTMANAGER_EVENTS_TYPE_TABLEevent_type
LOCAL_EVENTMANAGER_EVENTS_TO_EVENT_CAT_TABLEevents_to_event_cat
LOCAL_EVENTMANAGER_VER6.2

Above are some of the Event Manager related controls.

LOCAL_STOREMANAGER_VER1.12
LOCAL_STOREMANAGER_STORE_NAMEStore
LOCAL_STOREMANAGER_FEATURESNULL
LOCAL_STOREMANAGER_GOOGLE_MAPS_API_KEYNULL
LOCAL_STOREMANAGER_GOOGLE_MAPS_CENTER_LATITUDE38.8479545
LOCAL_STOREMANAGER_GOOGLE_MAPS_CENTER_LONGITUDE-77.3439283
LOCAL_STOREMANAGER_GOOGLE_MAPS_WIDTH650
LOCAL_STOREMANAGER_GOOGLE_MAPS_HEIGHT460
LOCAL_STOREMANAGER_GOOGLE_MAPS_MARKER_ICON_SCRIPT

Above are some of the Store Manager related controls.


Add Your Comment


(Only a limited set of HTML tags such as <b>, <i>, <u> are allowed. Embedded flash video from Youtube or Vimeo are also supported.)


Copyright © 2018 Peregrine Computer Consultants Corp. All rights reserved.

About Lunpa, our mascot. Her mother was a hamster and her father was an ill-tempered Chilean M00se. Oddly, neither smelt of elderberries.
The artist is Jennifer Lomax.