Installation

The coordinates field can be easily added to any content element via TCA.

Add new table

A new column must be created so that the coordinates field can be displayed and the coordinates can be saved later.

Add the following lines to your ext_tables.sql:

CREATE TABLE tt_content
(
    tx_cs_image_point varchar(255) DEFAULT '0;0' NOT NULL,
);

Then register the new column in the backend:

  1. Go to Admin Tools > Maintenance
  2. Select “Analyze database” from ‘Analyze Database Structure’
  3. Add the new column and confirm with Save