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

The someinstancesetting won't show up #4

Open
MatthiasCz opened this issue Sep 29, 2017 · 1 comment
Open

The someinstancesetting won't show up #4

MatthiasCz opened this issue Sep 29, 2017 · 1 comment

Comments

@MatthiasCz
Copy link

Hi Justin,

I justed watched your video this morning, it is great! After I installed your plugin as instructed in your video (Using moodle 3.3.2; replacing a lot of placeholders; copying the folder into mod; installing the plug in via notifications; adding the rugby activity module to a course) I wasn't able to see the $someinstancesetting content when i opened the module. I assume it is because of the renderer, since I was able to print out $someinstancesetting before line 125 in view.php before this command is called "$renderer = $PAGE->get_renderer('mod_rugby');".

Do you have an idea why it is not able to "echo $renderer->show_something($someinstancesetting)
someinstancesetting);" ?

Many thanks in advance!

Best regards,
Matthias

@justinhunt
Copy link
Owner

echo $renderer->show_something($someinstancesetting);
should work, I looked at the code and could not see an obvious problem.

I have not used the template for some time now and can not try it out today. Can you confirm that you still have this problem before I do that?

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