ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Defalt folder page


  • 2014-08-04 05:09:24

    Defalt folder page

    Hi,

    I'm setting up an aTutor site and adding course material.

    I was just wondering if it is possible to have a 'default' page of some sort in the folders, so that if you click on a folder, instead of it just expanding the content in the navigation, it actually takes you to a page. I'd like to create index pages that explain the content sections an link through to the content in that section.

    Many Thanks

    John.

  • 2014-08-04 08:23:39

    Re: Defalt folder page?

    As a student, folders act only as a toggle to open and close a section of content, and for instructors a folder properties page opens.

    You would not be able to set a folder as a default page. They are intended to work like folders in a desktop file manager, and a requirement specified by IMS standards.

  • 2014-08-12 07:11:32

    Re: Defalt folder page?

    Hi Greg,

    Thanks for the reply,

    That's a shame, I was hoping it would work more like website folders, so you could put in an index file ,say, and that would be the default.

    I ask, because during testing, my (admittedly small number of) testers did ask me why clicking on a folder 'didn't do anything'

    Could it be possible to modify the theme (Blumin i think) with an OnClick event on the folder link to open up a file? essentially add a javascript redirect.

    I'd have a go, but I don't really know the aTutor themes at all.

    Many thanks

    John.

  • 2014-08-12 09:04:57

    Re: Defalt folder page?

    That would be part of the core code, rather than theme, and it would not be a simple adjustment. You can find the code for the folder links in:

    ATutor/include/classes/ContentManager.class.php

    Search the file for getInitMenuJS().

  • 2014-08-12 09:08:05

    Re: Defalt folder page?

    Great, Thanks

    I don't really like the idea, but is the best (also quickest!) way to modify the core, or would it be possible to do with a plugin?

  • 2014-08-12 09:08:06

    Re: Defalt folder page?

    Great, Thanks

    I don't really like the idea, but is the best (also quickest!) way to modify the core, or would it be possible to do with a plugin?

  • 2014-08-12 09:22:17

    Re: Defalt folder page?

    Unless you have a skilled developer to do the work, its not something I'd recommend doing.

    There would be broad implication of changing the content structure. You'd need to change the way import/export works, how backups work, and how to set folder properties, and other things I'm sure.