Moodle Plugins directory: sitenavigation: Versions: 2.3.02, (Build: 2013070401) | Moodle.org
sitenavigation
Blocks ::: block_sitenavigation
Maintained by
Rosario Carcò
A block to navigate through all categories and subcategories of Moodle sites merged with my own previous myCourses Block to navigate own courses.
sitenavigation 2.3.02, (Build: 2013070401)
Moodle 2.3
Released: Friday, July 5, 2013, 2:54 AM
This is a block for Moodle 2.3.x
This block is for easy navigation. See features list in this thread:
http://moodle.org/mod/forum/discuss.php?d=103703
Install by unzipping everything to a local directory.
Then copy everything into your Moodle/blocks/sitenavigation directory.
Finally use your internet browser to log into Moodle as Administrator and click on the NOTIFICATIONS link to load the block.
NOTE that the yourMoodle/blocks/sitenavigation directory must be all lower case.
If you installed a previous version of this block try this:
- first delete the block in your Moodle GUI Modules->Blocks->Manage blocks
- then rename the directory from siteNavigation to sitenavigation on your server's file system
- be sure to delete all mdl_config records with the name block_siteNavigation, otherwise you will not be able to save the new ones. You may use phpMyAdmin or the mysql command line shell.
- ALTERNATIVELY you may rename those entries to block_sitenavigation all lower case
- finally click on NOTIFICATIONS in your Moodle GUI to load the new block and configure its admin options
There are a lot of admin options you can choose from.
All version numbers from 1.9.08 and 2.3.01 upwards relate to this enhanced line which offers:
- display in popUp-Windows OR inline in the block
- merged previous myCourses and siteNavigation Blocks into one block
All version numbers with 1.9.07 or below relate to a previous line, when myCourses and siteNavigation were TWO distinct Blocks. You will find the 07 line in its thread here:
http://moodle.org/mod/forum/discuss.php?d=67494
And you will find the corresponding siteNavigation block here:
http://moodle.org/mod/forum/discuss.php?d=103703
NOTE that in order to use the popUp-Window display you have to CREATE THE sitenavigationtemp DIRECTORY INSIDE THE
yourMoodle/local
directory and make your Apache user and group to be the owner of that directory, otherwise this php-code has no write access to the directory!
Unfortunately this was necessary, as in Moodle 2.3 file.php can no longer be used to serve files out of the /data directory. Implementing the whole new file API would be an alternative but we would have to keep track of all the user session-files and delete them from time to time. I will think about this.
NOTE also, that after toggling one of the buttons in mycourses you will probably have to refresh/reload the page with right-click->REFRESH/RELOAD PAGE, as otherwise you will get it from the Browsers Memory/Cache.
NOTE to be sure to set up a cron job that deletes the session files from time to time, eg. every night in that temp-directory unless you do it manually. In the next version I will try to delete files older than 24 hours automatically based on filectime().
For a detailed version history see the header in the block_sitnavigation.php file.
Enjoy and send me bug reports either to rosario.carco{atOurDomain}fhnw.ch or commenting directly in the Modules & Plugins Database.
This block is for easy navigation. See features list in this thread:
http://moodle.org/mod/forum/discuss.php?d=103703
Install by unzipping everything to a local directory.
Then copy everything into your Moodle/blocks/sitenavigation directory.
Finally use your internet browser to log into Moodle as Administrator and click on the NOTIFICATIONS link to load the block.
NOTE that the yourMoodle/blocks/sitenavigation directory must be all lower case.
If you installed a previous version of this block try this:
- first delete the block in your Moodle GUI Modules->Blocks->Manage blocks
- then rename the directory from siteNavigation to sitenavigation on your server's file system
- be sure to delete all mdl_config records with the name block_siteNavigation, otherwise you will not be able to save the new ones. You may use phpMyAdmin or the mysql command line shell.
- ALTERNATIVELY you may rename those entries to block_sitenavigation all lower case
- finally click on NOTIFICATIONS in your Moodle GUI to load the new block and configure its admin options
There are a lot of admin options you can choose from.
All version numbers from 1.9.08 and 2.3.01 upwards relate to this enhanced line which offers:
- display in popUp-Windows OR inline in the block
- merged previous myCourses and siteNavigation Blocks into one block
All version numbers with 1.9.07 or below relate to a previous line, when myCourses and siteNavigation were TWO distinct Blocks. You will find the 07 line in its thread here:
http://moodle.org/mod/forum/discuss.php?d=67494
And you will find the corresponding siteNavigation block here:
http://moodle.org/mod/forum/discuss.php?d=103703
NOTE that in order to use the popUp-Window display you have to CREATE THE sitenavigationtemp DIRECTORY INSIDE THE
yourMoodle/local
directory and make your Apache user and group to be the owner of that directory, otherwise this php-code has no write access to the directory!
Unfortunately this was necessary, as in Moodle 2.3 file.php can no longer be used to serve files out of the /data directory. Implementing the whole new file API would be an alternative but we would have to keep track of all the user session-files and delete them from time to time. I will think about this.
NOTE also, that after toggling one of the buttons in mycourses you will probably have to refresh/reload the page with right-click->REFRESH/RELOAD PAGE, as otherwise you will get it from the Browsers Memory/Cache.
NOTE to be sure to set up a cron job that deletes the session files from time to time, eg. every night in that temp-directory unless you do it manually. In the next version I will try to delete files older than 24 hours automatically based on filectime().
For a detailed version history see the header in the block_sitnavigation.php file.
Enjoy and send me bug reports either to rosario.carco{atOurDomain}fhnw.ch or commenting directly in the Modules & Plugins Database.
Version information
- Version build number
- 2013070401
- Version release name
- 2.3.02, (Build: 2013070401)
- Can be updated from
- 2.3.01, (Build: 2012112201) (2012112201)
- Maturity
- Beta
- MD5 Sum
- 699c90886a459167a71b934a4cc87dc9
- Supported software
- Moodle 2.3
- Latest release for Moodle 2.3
Default installation instructions for plugins of the type Blocks
- Make sure you have all the required versions.
- Download and unpack the block folder.
- Place the folder (eg "myblock") in the "blocks" subdirectory.
- Visit http://yoursite.com/admin to complete the installation
- Turn editing on in any home or course page.
- Add the block to the page
- Visit the config link in the block for more options.