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

Generico Dataset not working properly within tabs #20

Open
behoof opened this issue Aug 5, 2019 · 2 comments
Open

Generico Dataset not working properly within tabs #20

behoof opened this issue Aug 5, 2019 · 2 comments

Comments

@behoof
Copy link

behoof commented Aug 5, 2019

I'm using the Generico dataset for reusing content from a moodle page:

SELECT content FROM cgi_page WHERE course = 386 AND name = ?

This works nice, but not within tabs:

When I have two generico's on the same output page embedded in tabs, the content of the second dataset is not shown, but the first one is shown twice.

{%:X}{GENERICO:type="Block-Page-Content",name="1564807600"}{%}
{%:YYY}{GENERICO:type="Block-Page-Content",name="1564807601"}{%}

This happens whether I use Moodle Tab Plugin, The Generico Tabs or Bootstrap Tabs.

Would be very nice when we can embed the generico datasets in tabs.

I'm using moodle 3.5

Best regards,

Bert

@behoof
Copy link
Author

behoof commented Aug 5, 2019

Unpredictable output. It now seems something to do with building the page. When I refresh I get sometimes correct content...until I switch tabs

@justinhunt
Copy link
Owner

Can you post your template bundle here?

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