Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:entwickler:make_your_plugin_compatible_to_admidio_4 [2020/07/10 16:32]
fasse
en:entwickler:make_your_plugin_compatible_to_admidio_4 [2020/09/20 22:54] (current)
fasse
Line 20: Line 20:
  
 ''$page->hideMenu();'' is replaced by ''$page->setInlineMode();'' ''$page->hideMenu();'' is replaced by ''$page->setInlineMode();''
 +
 +==== Changed methods ====
 +The HtmlPage constructor has become a new necessary parameter:
 +<code php>$page = new HtmlPage('My Headline');
 +// must now be
 +$page = new HtmlPage('admidio-page-id', 'My Headline');</code>
 +
 +New method to open the modal window. Just add a class and a data-href:
 +<code html><a class="openPopup" href="javascript:void(0);" data-href="http://www.example.com">My Link to a modal window</a></code>
  • en/entwickler/make_your_plugin_compatible_to_admidio_4.txt
  • Last modified: 2020/09/20 22:54
  • by fasse