DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: Ships Management

refresh:60
Created:2004-03-23T11:00:59
Changed by:David Denicolò
Changed:2004-04-14T11:13:35
Author:David Denicolò - InteRa s.r.l. - Ravenna - Italy
Email:davdenic@intera.it
Info 3:InteRa s.r.l.
Info 4:Ravenna - Italy

EXT: Ships Management

Extension Key: ship_mgm

Copyright 2000-2002, David Denicolò - InteRa s.r.l. - Ravenna - Italy, <davdenic@intera.it>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.com

Table of Contents

EXT: Ships Management 1

Introduction 2

What does it do? 2

Screenshots 2

Users manual 3

Installation 3

Add Ships Management plugin to your page 3

Add Ship 3

Configuration 4

Date format 4

Plugin Template 4

Language (localization) 4

Flags 4

Known problems 5

To-Do list 5

Introduction

What does it do?

This Extension is is able to manage Ships supply.

Screenshots

The List view :

img-1

Users manual

Installation

To Use the Extension, get it from the EXTENSION REPOSITORY into your extension manager and install it by clicking the "plus" Icon.

Add Ships Management plugin to your page

Simply add a new content, with the wizard, and select the ship management plugin:

img-2

Add Ship

To add a ship simply add a new content record (left-click on page icon, then click on new, then click on Ship supply):

img-3 Fill all fields:

img-4

Configuration

Date format

In the ext_typoscript_setup.txt file you can set the date format:

::

ext_typoscript_setup.txt

plugin.tx_shipmgm_pi1 {
   date_format = d/m/Y
}

Use the php date format string.

Plugin Template

The plugin template is inside the class.tx_shipmgm_pi1.php file.

I've used this css style classes which are automaticaly included in pages:

::

ext_typoscript_setup.txt

# Example of default set CSS styles (these go into the document header):
plugin.tx_shipmgm_pi1._CSS_DEFAULT_STYLE (

 .tx-shipmgm-pi1 { margin-top: 0px; margin-bottom: 0px; } /* main plugin css */

 .tx-shipmgm-pi1 .tx-shipmgm-pi1-H_ship_owner { text-align: center; color: #0066CB; text-transform : uppercase; background-color: #CCEBFF; padding:8 1 8 1; border: 1px solid #ebebeb}
 .tx-shipmgm-pi1 .tx-shipmgm-pi1-H_ship_name { text-align: center; color: #0066CB; text-transform: uppercase; background-color: #CCEBFF; padding:5 1 5 1; border: 1px solid #ebebeb}
 .tx-shipmgm-pi1 .tx-shipmgm-pi1-H_flag { text-align: center; color: #0066CB; text-transform: uppercase; background-color: #CCEBFF; padding:5 1 5 1; border: 1px solid #ebebeb}
 .tx-shipmgm-pi1 .tx-shipmgm-pi1-H_mooring { text-align: center; color: #0066CB; text-transform: uppercase; background-color: #CCEBFF; padding:5 1 5 1; border: 1px solid #ebebeb}
 .tx-shipmgm-pi1 .tx-shipmgm-pi1-H_start_forniture { text-align: center; color: #0066CB; text-transform: uppercase; background-color: #CCEBFF; padding:5 1 5 1; border: 1px solid #ebebeb}

 .tx-shipmgm-pi1 .tx-shipmgm-pi1-ship_owner { text-align: center; color: #686868; background-color: #FFFFFF; padding:5 1 5 1; border: 1px solid #ebebeb}
 .tx-shipmgm-pi1 .tx-shipmgm-pi1-ship_name { text-align: center; color: #686868; background-color: #FFFFFF; padding:5 1 5 1; border: 1px solid #ebebeb}
 .tx-shipmgm-pi1 .tx-shipmgm-pi1-flag { text-align: center; color: #686868; background-color: #FFFFFF; padding:5 1 5 1; border: 1px solid #ebebeb}
 .tx-shipmgm-pi1 .tx-shipmgm-pi1-mooring { text-align: center; color: #686868; background-color: #FFFFFF; padding:5 1 5 1; border: 1px solid #ebebeb}
 .tx-shipmgm-pi1 .tx-shipmgm-pi1-start_forniture { text-align: center; color: #686868; background-color: #FFFFFF; padding:5 1 5 1; border: 1px solid #ebebeb}

)

For a complete css reference: http://www.w3.org/Style/CSS/

Language (localization)

Every words are correctly located in locallang files.

Plus, there is a file called country_flag.php

Flags

All flags are stored in the flag folder, if you add or delete some flags, you have to modify the country_flag.php file too.

Known problems

Use of the template inside the class may cause some difficulty when you try to adapt it to your templates.

I tried to write this in a simple way, using css classes and simple html tags.

To-Do list

Make an external template like the tt_news template is a good thing.

img-5 EXT: Ships Management - 5