Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Add plugin.[pluginName].view.defaultPid #697

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Documentation/TopLevelObjects/Plugin.rst
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,27 @@ view.pluginNamespace
arguments from other extensions by setting this option to their namespace.


.. _setup-plugin-view-defaultPid:

view.defaultPid
~~~~~~~~~~~~~~~

.. container:: table-row

Property
view.defaultPid

Data type
"auto" | :t3-data-type:`integer`

Description
This can be used to specify a default target page ID. If this value is
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This can be used to specify a default target page ID. If this value is
This setting can be used to specify a default target page ID. If this value is

set, this value will be used as target page ID. If :typoscript:`defaultPid`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this value, this value etc. Sounds strange

is set to :typoscript:`auto`, a pid is determined by loading the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
is set to :typoscript:`auto`, a pid is determined by loading the
is set to :typoscript:`auto`, a PID is determined by loading the

:sql:`tt_content` record that contains this plugin. An error will be
thrown if more than one record matches the :sql:`list_type`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't get why we talk about the listtype here suddenly?



.. _extbase_typoscript_configuration-mvc:

MVC
Expand Down
Loading