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

issue with referencing parent pages #22

Open
richard-ostrochovsky opened this issue Dec 27, 2020 · 3 comments
Open

issue with referencing parent pages #22

richard-ostrochovsky opened this issue Dec 27, 2020 · 3 comments

Comments

@richard-ostrochovsky
Copy link

Hello,

I have an issue, page (e.g. space:subspace:page) won't load in popup when referenced from child page (e.g. space:subspace:page:subpage).

Just loading bar:
image

Shall this work? May I help somehow actively, to help with issue resolution (if it is software issue and not some user mistake :) )?

Thank you.

Richard

@richard-ostrochovsky
Copy link
Author

richard-ostrochovsky commented Dec 27, 2020

Correction: now I found, this problems seems to be present also in other scenarios, not only referencing parent from its child, so maybe I need to investigate it yet more. But the main thing is, that the same {{popup>...}} definitions are somewhere functional and somewhere not. Do you have any troubleshooting ideas for me?

Thank you.

@gamma
Copy link
Member

gamma commented Dec 27, 2020

I do not yet have an idea about it - just that it used to work one way or the other - jumping form popup to pop. Are you using absolute or relative links?

I haven't checked the code for some time - links in the popup have to be updated using javascript when opening the popup. Maybe something is wrong there?

@richard-ostrochovsky
Copy link
Author

richard-ostrochovsky commented Jan 1, 2021

I was trying absolute and relative, but with the same result. I was also trying to use various forms of:

  • {{popup>path:to:page|click here}}
  • {{popup>%path:to:page%|click here}}
  • {{popup>[[path:to:page]]|click here}}

But I found something in downloaded page source:

  1. this works:

<a href="/doku.php?id=minecraft:public:community:players:slavik" data-popupviewer="{&quot;id&quot;:&quot;minecraft:public:community:players:slavik&quot;}" class="wikilink1 popupviewer" >Slavik</a>

  1. this not:

<a href="/lib/exe/fetch.php?media=minecraft:public:community:worlds:aeria:sites:slavik" data-popupviewer="{&quot;isImage&quot;:true,&quot;id&quot;:&quot;minecraft:public:community:worlds:aeria:sites:slavik&quot;}" class="wikilink1 popupviewer" >Slavik&#039;s Kingdom Territory</a>

I don't understand, why in the first case, there is doku.php, and in second fetch.php, as it is not picture, but page, and this seems to me as intermediary cause of page content load failure in the popup.

One diference I see is, that minecraft:public:community:players:slavik is just "leaf" page, but minecraft:public:community:worlds:aeria:sites:slavik is the page (with normal page content - text / table / picture), but also a namespace of other page(s), currently just: minecraft:public:community:worlds:aeria:sites:slavik:kingdom, which contains both hyperlinks above.

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

No branches or pull requests

2 participants