Customizing the Courseware Menu & Paging Question
I didn’t want to make a mess and open two separate topics. Hope you don’t mind!
#1: CUSTOMIZE COURSEWARE MENU
I was wondering if there was a way to inject CSS class names into the courseware menu items. I would like to hide “Schedule” and maybe “Course Description” to reduce unused and redundant information.
#2: PAGING QUESTION
Is there a way to take the paging feature that allows you to jump between Previous and Next lectures and turn it into a series of tabs, or rather numeric pagination, to replace the Previous and Next?
EXAMPLE: Instead of:
“Previous Article & Next Article”
Can we have: 1 2 3 4 5 6 7 8 to represent the number of lectures currently setup in the active group/course?
I would recommend you this small plugin to achieve #1.
The point of next and previous navigation was to eliminate lecture skips, a set of lectures is not like a blog where you read what you like, the ordering is mandatory.
Still to add a pagination, take a look at this hook:
Anything you want to hook to it, should go right below the lecture content.
Thanks for the help! I’ll take a look at those and let you know if I have questions.
I agree with you about the pagination, but the client wants the ability to skip around in our setup. They have spoken!
With that plugin you sent for my first issue, how could I alter that to include other menu items? If I want to hide Schedules AND Course Description AND maybe Assignments? I can kind of read the code, but it’s not immediately clear as to where a mod might be inserted.
For the second issue, pagination, I appreciate the code hook. Unfortunately I’m not very good at reading and hooking into that stuff. Any extra feedback from anyone would be greatly appreciated. I admit, it’s pretty severe hand holding, I won’t lie! But while I hope to be able to understand this eventually, I don’t have a lot of time to spend on it right now as we’re on a deadline.
- The topic ‘Customizing the Courseware Menu & Paging Question’ is closed to new replies.