History log of /plugin/struct/action/output.php (Results 1 – 25 of 26)
Revision Date Author Comments
# 5e29103a 11-Dec-2023 annda <annda@users.noreply.github.com>

�� Automatic code style fixes


# 7fe2cdf2 13-Sep-2023 Andreas Gohr <andi@splitbrain.org>

apply #670 and manually cleanup afterwards

fixes some failing tests
uses sexplode over array_pad
reformats multiline arrays


# 7234bfb1 13-Sep-2023 splitbrain <splitbrain@users.noreply.github.com>

�� Automatic code style fixes


# 17a3a578 13-Jan-2022 Andreas Gohr <andi@splitbrain.org>

Manual code style adjustments


# 0549dcc5 13-Jan-2022 Andreas Gohr <andi@splitbrain.org>

PHP code sniffer autofixes


# 23f770ed 11-May-2021 Anna Dabrowska <dabrowska@cosmocode.de>

dw2pdf replacement: apply field format to dates (#576)


# 8a30dd7d 18-Apr-2021 Frieder Schrempf <34034373+fschrempf@users.noreply.github.com>

Add config option to show data on the top of the page (#550)

* Add config option to show data on the top of the page

Currently the default behavior is to show the data below the first
heading if

Add config option to show data on the top of the page (#550)

* Add config option to show data on the top of the page

Currently the default behavior is to show the data below the first
heading if it is found, or else on the top of the page.
In addition to the existing option to always show the data on the
bottom, let's also add an option to show it always on the top.

As we want to stay compatible with existing setups that use the
'bottomoutput' option we add another boolean 'topoutput'. The former
takes precedence over the latter and only if both are unset, the
default behavior of showing the data below the first heading is used.

Signed-off-by: Frieder Schrempf <dev@fris.de>

* fixup! Add config option to show data on the top of the page

show more ...


# c2ad3895 08-Jun-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Simplify branching code


# e6a2e26b 08-Jun-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Option to display page data at the bottom

Resolves issue #371


# 748e747f 09-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Manual coding style fixes

Method and variable visibility, camel case method names. Some exclusions due to inheritance


# d6d97f60 09-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Automatic coding style fixes


# d4897163 06-Apr-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Fix revision handling in output (struct data for a page)


# 3851b2fb 16-Jan-2020 Anna Dabrowska <dabrowska@cosmocode.de>

Enable using page struct data in dw2pdf templates


# 9007da58 24-Apr-2018 Michael Große <grosse@cosmocode.de>

Fix PHP notices


# 0e4a3e7c 01-Mar-2017 Michael Große <grosse@cosmocode.de>

Render only in show but parse in every mode

It might happen that a page is parsed in other modes than show and the
result might be cached, so it should contain the struct instruction.
However we onl

Render only in show but parse in every mode

It might happen that a page is parsed in other modes than show and the
result might be cached, so it should contain the struct instruction.
However we only want to display the output when viewing a page and not
for example in a edit session.

show more ...


# e30a68df 27-Feb-2017 Michael Große <grosse@cosmocode.de>

fix: Add struct instruction to all pages

There was a bug when using struct on a page together with log and
include plugin. The unintended behavior: the struct data would not be
shown after the first

fix: Add struct instruction to all pages

There was a bug when using struct on a page together with log and
include plugin. The unintended behavior: the struct data would not be
shown after the first heading of the page, but after the first include
if present, or not at all.
The reason for this behavior was that the log-plugin caused the $ID == $this->lastread
check to fail.

This solution removes this check altogether and leaves it to the
renderer to decide if the data should be rendered or not.

SPR-634

show more ...


# 87050b53 14-Jun-2016 Michael Grosse <grosse@cosmocode.de>

Ensure that struct output is only rendered once

SPR-491


# 1dfe5343 24-Mar-2016 Andreas Gohr <gohr@cosmocode.de>

another safe guard when adding our instruction. closes #79


# 9c2b81b5 17-Mar-2016 Andreas Gohr <gohr@cosmocode.de>

fix struct output for page in namespaces. #73

misread the event documentation. there is no full page ID passed but
namespace and page separately.


# 881e940c 16-Mar-2016 Andreas Gohr <gohr@cosmocode.de>

use new heuristic to decide on rendering output

To avoid that our output is added to instructions that are not the main
page's instructions we now check what wiki page was read from disk last.
We on

use new heuristic to decide on rendering output

To avoid that our output is added to instructions that are not the main
page's instructions we now check what wiki page was read from disk last.
We only render on instruction creation immeadiately after that event and
ignore all others. This should also allow us to ignore the current
action when deciding if we want to add to the instructions.

We have to see if this works out in real life.

show more ...


# 28b818ce 10-Mar-2016 Andreas Gohr <gohr@cosmocode.de>

nicer strut output (and moved to top). closes #55


# a8db5950 27-Feb-2016 Andreas Gohr <andi@splitbrain.org>

fix heisenbug related to splitbrain/dokuwiki#1484


# f94f4c4f 25-Feb-2016 Andreas Gohr <gohr@cosmocode.de>

fixed a bunch of minor things found by IntelliJ Idea


# 02481400 24-Feb-2016 Andreas Gohr <gohr@cosmocode.de>

do not add instructions to non existing pages


# 5a1eab78 24-Feb-2016 Andreas Gohr <gohr@cosmocode.de>

restyle the inpage output #20 SPR-320

The data is now added as a new section and the table styled more
minimalistic.

This works, however people might not like it. Also this adds a new
section editi

restyle the inpage output #20 SPR-320

The data is now added as a new section and the table styled more
minimalistic.

This works, however people might not like it. Also this adds a new
section editing button that loads an empty editor. On the other hand it
makes sure the real section before has it's own edit button.

How all this works on export is still untested and probably broken.

show more ...


12