Two Questions About Documentation Module

Ceri Shaw
Ceri Shaw
@ceri-shaw
5 years ago
84 posts
I am trying to utilize the Documentation module to develop an online language course (in Cymraeg). I have two questions:-

1. I have removed some of the module tabs by adding {jrProfile_disable_module_tabs} to the templates. This works on some pages/templates and not on others. Is there a way to make it universal?

2. Is it possible to develop a custom sidebar for the entire module? I imagine this would involve designing a new template and calling it from the other module templates?

Here are two pages from the module as currently amended. One with and one without module tabs.

https://americymru.net/americymru/documentation/nouns (no tabs)
https://americymru.net/americymru/documentation/verbs/345/anghofio-to-forget (still got tabs)

updated by @ceri-shaw: 06/25/19 01:03:18AM
brian
@brian
5 years ago
10,148 posts
We'll have to see how the detail page for the docs is being processed and see if that is possible to fix up. We'll check it out.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Ceri
Ceri
@adolygwr
5 years ago
370 posts
Many thanks.


--
Ceri Shaw - AmeriCymru
Ceri
Ceri
@adolygwr
5 years ago
370 posts
Did anyone get a chance to look in to this yet?


--
Ceri Shaw - AmeriCymru
brian
@brian
5 years ago
10,148 posts
Ceri:
Did anyone get a chance to look in to this yet?

I tested this and don't see any issue - make sure and place:

{jrProfile_disable_module_tabs}

At the top of the doc_section_header.tpl file.

Let me know if that helps.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Ceri
Ceri
@adolygwr
5 years ago
370 posts
Tried that....doesn't seem to work. I even tried adding the above code to the doc_section_text_and_image.tpl. SO the jrProfile_disable_module_tabs code is in both the:-

doc_section_text_and_image.tpl

doc_section_header.tpl

-: templates but the buttons are still there.

Also, did you get a chance to consider the sidebar question? I just want to know how to replace the sidebar template with a custom template for this module. The idea is to show relevant course based links, ads etc in the left hand sidebar on the module. Overall the idea is to make the module (since it is a self contained language course somewhat unrelated to the rest of the mainly English language text on the rest of the site) almost a site within a site. Consequently users could follow the course without distractions from the other site content.


--
Ceri Shaw - AmeriCymru

Tags