0
votes

I am using Typo3 6.2.31

I have created an html content on a page. The html code is a Modal Popup with my own styling, which consists of a title, subtitle, main content and background image.

The goal I want to achieve is :

  • Create a form on the backend which I can use to fill (title, subtitle, content, background img)
  • use the filled form's value to define my html content (title etc). so anytime someone wants to change the content on the popup modal, it can be done trough the backend form.

Creating an extension seems much effort,
using the existing popup modal extensions has limited flexibility to adjust based on the modal popup design I made. (or is there anyone can refer to a adjustable modal extension?)

So, how can I achieve that goal?
I would love to hear any possible solutions from typo3 users/expert out there :)

1
You can use DCE extension available in the TER. This will help you to create an Dynamic element. Here is the link. you can get the reference for quick start from the documentation. - GNB
please verify your used version of TYPO3. there is no Version 6.3 released. current versions are: 7.6.21 and 8.7.4 - Bernd Wilke πφ
@GhanshyamBhava apparent DCE is only compatible on 7 & 8 LTS . Tried to install it but the compatibility issue occurred. maybe I'll try older version - Pragmaticoder
@BerndWilkeπφ it is 6.2.31 - Pragmaticoder
I have tried DCE, but apparently I had a problem fluid templating, since my html consist of bunch of java script and separate css, I could not find a way to converting my HTML to Fluid based template. - Pragmaticoder

1 Answers

0
votes

There are multiple ways to build your own contentelements (=CEs).
and with the help of some extensions it is not complicated, you do not need to be a programmer.

One of the easiest and cleanest[1] solutions is the combination of the two extensions "ext:mask" and "ext:mask_export".
While you can create new CEs with ext:mask (which can be used at once), you can export your CE-definition as an own extension with ext:mask_export, so your new CEs can be used without ext:mask installed.
You can define the rendering of FE or BE preview with fluid.

[1] many tools for defining new CEs use the possibilities to store data as XML in the special field pi_flexform. This is easy to handle as TYPO3 supports it, but this data handling has it's drawbacks: without your own fields the access is slow and complicated. e.g. queries for records containing special values in a field.
With ext:mask you can (re)use the existing fields of the tt_content record (representing a CE) or add real database fields to that record.