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

plugin:data dataentry not displayed #83

Open
desasta opened this issue Nov 4, 2011 · 4 comments
Open

plugin:data dataentry not displayed #83

desasta opened this issue Nov 4, 2011 · 4 comments
Labels

Comments

@desasta
Copy link

desasta commented Nov 4, 2011

When including a page with a plugin:data dataentry block it is not shown.

@michitux
Copy link
Member

This is intentional in order to prevent duplication of the data block data as it is also done for the discussion and the tag plugin. What do you want, should the data block be only shown or should the data be really duplicated? Duplicating the data might also be a problem when you include more than one page with a data block as long as the data plugin doesn't support more than one block per page. You could include the data entry by deleting or commenting out line 320 in helper.php (see https://github.com/dokufreaks/plugin-include/blob/master/helper.php#L320)

@samwilson
Copy link

I agree that the dataentry block from the other page should not be included. It doesn't make sense: it defines metadata for the other page, not the one that is going the including.

Perhaps just a new note in the FAQ is all that's required to close this issue.

@virk
Copy link

virk commented Mar 15, 2015

I do not understand why the data entry block is not shown. In my opinion the data block should be shown but not be duplicated.
The combination of include-plugin and data-plugin should enable to have more data sets on a set of pages, which is displayed via the include-plugin.

@Chris75forumname
Copy link

Chris75forumname commented Jul 13, 2022

This is intentional in order to prevent duplication of the data block data as it is also done for the discussion and the tag plugin. What do you want, should the data block be only shown or should the data be really duplicated? Duplicating the data might also be a problem when you include more than one page with a data block as long as the data plugin doesn't support more than one block per page. You could include the data entry by deleting or commenting out line 320 in helper.php (see https://github.com/dokufreaks/plugin-include/blob/master/helper.php#L320)

Hi,
I would also want to SHOW the dataentry block, NOT duplicate it to the current page. This should be the expected behaviour of the include plugin, anyways. It does that with all of the included data. Wiki markup is also not copied. It is only viewed, but edited on the original page.
What lines of code would be necessary to achieve this feat?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants