.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ======================================= Add adresses and RgGooglemap to TT News ======================================= :Author: Kasper Skårhøj :Created: 2002-11-01T00:32:00 :Changed by: Lina Wolf :Changed: 2011-02-06T01:16:02.750000000 :Classification: lonewsaddress :Description: Enables TT_News for RgGooglemap, adds additional markers for adress output. :Keywords: tt_news, addresses, news, googlemaps, rggooglemap :Author: LinaWolf :Email: 2010@lotypo3.de :Info 4: :Language: en |img-1| |img-2| Add adresses and RgGooglemap to TT News - lonewsaddress .. _Add-adresses-and-RgGooglemap-to-TT-News: Add adresses and RgGooglemap to TT News ======================================= Extension Key: lonewsaddress Language: en Keywords: tt\_news, addresses, news, googlemaps, rggooglemap Copyright 2000-2009, LinaWolf, <2010@lotypo3.de>, `http://www.typo3-blog.net `_ Developed for `http://www.magenband-op.info `_ 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.org .. _Table-of-Contents: Table of Contents ----------------- `Add adresses and RgGooglemap to TT News 1 <#1.Add%20adresses%20and%20RgGooglemap%20to%20TT%20News|outline>`_ **`Introduction 3 <#1.1.Introduction|outline>`_** `What does it do? 3 <#1.1.1.What%20does%20it%20do_|outline>`_ `Screenshotst 3 <#1.1.2.Screenshotst|outline>`_ `References 4 <#1.1.4.References|outline>`_ **`Installation 5 <#1.2.Installation|outline>`_** `Without the use of rggooglemap 5 <#1.2.1.Without%20the%20use%20of%20rggooglemap|outline>`_ `With use of rggooglemap 5 <#1.2.2.With%20use%20of%20rggooglemap|outline>`_ **`Users manual 6 <#1.3.Users%20manual|outline>`_** **`Administration 7 <#1.4.Administration|outline>`_** `Configuration 7 <#1.4.1.Configuration|outline>`_ `Usage 7 <#1.4.2.Usage|outline>`_ **`Template Markers 8 <#1.5.Template%20Markers|outline>`_** `Creating userdefined markers by typoscript 8 <#1.5.1.Creating%20userdefined%20markers%20by%20typoscript|outline>`_ **`Known problems 9 <#1.6.Known%20problems|outline>`_** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ - This Extension adds additional fields to tt\_news that can be used for adress and contactdata of new sauthor / place where the news happened or other cases where it is desred to add addressdata to new. - In opposite to the excisting extensions adding adressdata to tt\_news this extension also enables backend-geocoding if rggooglemap was installed. - All new markers are fully configurable by typoscript. - Adds hCard and vCard Support see: `http://de.wikipedia.org/wiki/Vcard `_ just add ###VCARD\_LINK### marker to your tt\_news template .. _Screenshotst: Screenshotst ^^^^^^^^^^^^ .. _Screenshots-Backend: Screenshots Backend """"""""""""""""""" |img-3| |img-4| .. _References: References ^^^^^^^^^^ The following web pages are using the extension. If you want your web site to be listed here, send me a message. `http://www.magenband-op.info `_ .. _Installation: Installation ------------ .. _Without-the-use-of-rggooglemap: Without the use of rggooglemap ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ First install tt'\_news. Then just upload the extension in the extension manager and install. Include the static templates in your template. .. _With-use-of-rggooglemap: With use of rggooglemap ^^^^^^^^^^^^^^^^^^^^^^^ First install tt\_news. After tt\_news is uploaded and installed properly upload and install lonewsaddress. Then install tt\_address, even if you dont need this extension, rggooglemaps will require it. Then properly install rggooglemap, see the corrsponding documentation under `http://wiki.typo3.org/index.php/Rggooglemap `_ . At this time rggooglemap has no manual in the TER yet. .. _Register-tt-news-with-rggooglemap-in-Extension-Manager: Register tt\_news with rggooglemap in Extension-Manager """"""""""""""""""""""""""""""""""""""""""""""""""""""" Now you have to tell the rggooglemap-Extension, that you added a new table. Go to the Extension-Manager, click on rggooglemap, then you find the configuration of the extension. There is a field "Supportet tables, be careful!", here you have to fill in the name of your table “tt\_news” (comma seperated). This step is very important, otherwise theautomatic backend-geocoding won't work. |img-5| .. _Import-the-static-templates: Import the static templates """"""""""""""""""""""""""" Import the static templates of lonewsaddress in your root-template or page-template. Done. .. _Users-manual: Users manual ------------ The users just have to insert the additional adressdata with theire news. |img-6| If rggooglemap is not installed geocodes ca be inserted by hand in the corresponding tab, otherwise they will be genererated the first time the map is called: |img-7| If it is installed the coordinates will usually fill in automatically. Otherwise you can choose the position by clicking on the x beside the coordinates just as known from rggooglemap |img-8| .. _Administration: Administration -------------- .. _Configuration: Configuration ^^^^^^^^^^^^^ Up to now all configuration can be done by Typoscript. Please check the existing typoscript. .. _Template-Markers: Template Markers ---------------- The template markers can be fully configured by typoscript where all tt\_news fields are availible as fields. The markers can be used whereever a single news record is displayed. The following Markers are predefined: - ###VCARD\_LINK### Link to vCard Download - ###HCARD### Adress Output as hCard - ###ADDRESS### Street +Number - ###ZIP### - ###CITY### - ###CONTACT\_FORM### A link to a contact formular if defined as constant - ###LNG### geoccoding longditude - ###LAT### and latitude - ###MINI\_LOGO### - ###MAPKEY### Key to use for googlemaps - ###MAPICON### - ###ZOOM### - ###RAWLINK### the link to the company, not linked - ###S\_STANDART### Markers prefixed with S are just styled different to be better displayed in single view - ###S\_ADDRESS### - ###S\_ZIP### - ###S\_CITY### - ###S\_EMAIL### - ###S\_PHONE### - ###S\_HOURSs### - ###S\_URL### - ###S\_LOGO### .. _Creating-userdefined-markers-by-typoscript: Creating userdefined markers by typoscript ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Defining additional markers is easy. They can be defined by typoscript in plugin.tt\_news.lonewsaddress.marks. All fields belonging to tt\_news weather, originally or added by extensions, can be used. Example. Lets say you want a marker to display a link to the company, opening in a new window. :: plugin.tt_news.lonewsaddress { marks { FULL_LINK = TEXT FULL_LINK { field = tx_companyextension_companyname typolink.parameter.field = tx_lonewsaddress_url typolink.target = _blank } } } Thereafter the marker ###FULL\_LINK### can be used in the templates. .. _Updating: Updating -------- As from now on the plugin witch formerly created Goole Maps was removed. It was to buggy to maintain. Please use the maps provided by rggooglemap. 9 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. |img-2| image:: img-2.png .. :border: 0 .. :height: 21 .. :hspace: 9 .. :id: Grafik2 .. :name: Grafik2 .. :width: 87 .. |img-3| image:: img-3.png .. :align: left .. :border: 0 .. :height: 422 .. :id: Grafik1 .. :name: Grafik1 .. :width: 476 .. |img-4| image:: img-4.png .. :align: left .. :border: 0 .. :height: 349 .. :id: Grafik5 .. :name: Grafik5 .. :width: 669 .. |img-5| image:: img-5.png .. :align: left .. :border: 0 .. :height: 417 .. :id: Grafik4 .. :name: Grafik4 .. :width: 665 .. |img-6| image:: img-6.png .. :align: left .. :border: 0 .. :height: 350 .. :id: Grafik7 .. :name: Grafik7 .. :width: 474 .. |img-7| image:: img-7.png .. :align: left .. :border: 0 .. :height: 160 .. :id: Grafik3 .. :name: Grafik3 .. :width: 414 .. |img-8| image:: img-8.png .. :align: left .. :border: 0 .. :height: 223 .. :id: Grafik6 .. :name: Grafik6 .. :width: 531