Skip to content

Commit

Permalink
[TASK] Support TYPO3 9 LTS (Related to #62)
Browse files Browse the repository at this point in the history
Updated documentation
  • Loading branch information
jonathanheilmann committed Dec 10, 2018
1 parent cab2717 commit db64202
Show file tree
Hide file tree
Showing 10 changed files with 105 additions and 14 deletions.
2 changes: 2 additions & 0 deletions Documentation/Administration/GlobalAjax/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Global Ajax

Available since version 0.3.0:

Global ajax is deprecated and will be removed in EXT:jh_magnificpopup version 3.0.0.

With the global ajax option enabled (plugin.tx_jhmagnificpopup.type.ajax.enableglobal) and eID for method ajax enabled (plugin.tx_jhmagnificpopup.useEidForAjaxMethod), it's possible to open every content-link in a Magnific Popup lightbox.

To enable the lightbox for a content-link add class "mfp-ajax-link".
Expand Down
1 change: 1 addition & 0 deletions Documentation/BreakingChanges/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Breaking changes
:titlesonly:
:glob:

Version2000000/Index
Version1000000/Index
Version060/Index
Version050/Index
Expand Down
33 changes: 33 additions & 0 deletions Documentation/BreakingChanges/Version2000000/Index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
.. include:: ../../Includes.txt


Version 2.0.0
^^^^^^^^^^^^^

Dropped support of dedicated styling extensions
"""""""""""""""""""""""""""""""""""""""""""""""
As supporting multiple styling extensions like css_styled_content, fluid_styled_content and bootstrap_package and their
dedicated versions, support of these extensions has been dropped.
Instead of that EXT:jh_magnificpopup provides it's own styles to solve this.
If you adapted the old extensions templates, please read next passage "Compatibility mode".


Compatibility mode
""""""""""""""""""
As the templates has been reworked, there may be some breaking changes with your custom template adaptions.
To make your life easier, there is a compatibility mode, which will activate the old processing of data before passing
them to the template. Also the old paths will be used.

To enable compatibility mode set `plugin.tx_jhmagnificpopup.compatibilityMode` in Constant Editor category
`PLUGIN.TX_JHMAGNIFICPOPUP`

eID
"""
Usage of eID (ajax hooks) is marked as deprecated and will be removed in EXT:jh_magnificpopup version 3.0.0 as usage is
not as simple and popular as expected.
If you still require support, please contact me.

type ajax
"""""""""
Connected to deprecation of eID, type ajax is marked as deprecated, too. In default mode, the plugin falls back to type
inline, within compatibility mode, type ajax is available and the extension uses the deprecated classes.
6 changes: 6 additions & 0 deletions Documentation/Changelog/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ ChangeLog
:Changes:
Changes

- :Version:
2.0.0

:Changes:
\* [TASK] #62 Support TYPO3 9 LTS

- :Version:
1.1.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,9 @@ TypoScript Constants – magnificpopup
.. container:: table-row

Property
support
image

Data type
arpe
array

Description
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,58 @@ TypoScript Constants – magnificpopup
boolean

Description
Since version 0.3.0: Activate to use eID for Magnific Popup type ajax instead of pageNum
| Since version 0.3.0: Activate to use eID for Magnific Popup type ajax instead of pageNum
| Deprecated and will be removed in EXT:jh_magnificpopup version 3.0.0.
Default
0


.. container:: table-row

Property
compatibilityMode

Data type
boolean

Description
Stay compatible to templates/partials from extension version 1.x

Default
0


.. container:: table-row

Property
commonCss

Data type
string

Description
Since version 2.0.0: Path to common css (empty to include no css)

Default
EXT:jh_magnificpopup/Resources/Public/css/common.css


.. container:: table-row

Property
jhStImg

Data type
string

Description
Path to jh-st-img

Default
EXT:jh_magnificpopup/Resources/Public/Vendor/jh-st-img/jhstimg.js


.. container:: table-row

Property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
TypoScript Constants – magnificpopup.type.ajax
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Type ajax is deprecated and will be removed in EXT:jh_magnificpopup version 3.0.0.

This constants-array is used for Display type “Content-Reference” and
“Inline-Content” with Method “ajax”. Some important constants may be
overwritten inside the plugin-setup by flexform-settings.
Expand Down
4 changes: 3 additions & 1 deletion Documentation/Development/AjaxHook/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
Ajax Hook
^^^^^^^^^

(Available since version 0.3.0)
Available since version 0.3.0

Ajax hooks are deprecated and will be removed in EXT:jh_magnificpopup version 3.0.0.

Use this hook if you want to add your own type to be opend as ajax lightbox.

Expand Down
4 changes: 2 additions & 2 deletions Documentation/Settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
; you can use in 'conf.py'

project = Magnific Popup
version = 1.1
release = 1.1.0
version = 2.0
release = 2.0.0
t3author = Jonathan Heilmann
copyright = 2013-2018, Jonathan Heilmann, <[email protected]>

Expand Down
16 changes: 8 additions & 8 deletions Documentation/UsersManual/Plugin/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,22 @@ Select "Display type" (Link, Inline-Content or Content-Reference) and "Link type

:Description:
| Available if Link type is "Text":
| The text that is displayed to the user
| The text displayed to the user
- :Field:
Link image

:Description:
| Available if Link type is "Image":
| The image that is displayed to the user
| The image displayed to the user
- :Field:
Link target

:Description:
The Link target ( `http://www.you-domain.tld <http://www.you-
domain.tld/>`_ ). This could be a website, a youtube-movie or
everything else.
anything else.


.. ###### END~OF~TABLE ######
Expand All @@ -69,20 +69,20 @@ Select "Display type" (Link, Inline-Content or Content-Reference) and "Link type

:Description:
| Available if Link type is "Text":
| The text that is displayed to the user
| The text displayed to the user
- :Field:
Link image

:Description:
| Available if Link type is "Image":
| The image that is displayed to the user
| The image displayed to the user
- :Field:
Method

:Description:
Select the way the content is loaded.Inline renders the content when
Select the way the content is loaded. Inline renders the content when
opening the page with the link, ajax loads the content when the user
opens the link.

Expand Down Expand Up @@ -113,14 +113,14 @@ Select "Display type" (Link, Inline-Content or Content-Reference) and "Link type

:Description:
| Available if Link type is "Text":
| The text that is displayed to the user
| The text displayed to the user
- :Field:
Link image

:Description:
| Available if Link type is "Image":
| The image that is displayed to the user
| The image displayed to the user
- :Field:
Method
Expand Down

0 comments on commit db64202

Please sign in to comment.