Sujith Haridasan
73d604369d
MDL-71062 core: Step 1 deprecation of print_error function
2022-07-13 08:20:54 +05:30
Mihail Geshoski
8d0ca00e95
MDL-74386 navigation: Remove redundant set_secondary_navigation() calls
...
Removes $PAGE->set_secondary_navigation(false) calls which certain pages
were using to prevent displaying secondary navigation menu in the system
context. This logic is now generally handled within the secondary
navigation class.
2022-04-08 15:11:31 +08:00
Jun Pataleta
1e533995dd
Merge branch 'MDL-73233-master' of https://github.com/sarjona/moodle
2022-03-18 00:35:11 +08:00
Sara Arjona
31ed9a6c2f
MDL-73233 my: Disable /my page depending on setting
...
When $CFG->enabledashboard will be disabled, the /my page
will redirect to a different page or display an error message.
2022-03-16 11:35:08 +01:00
Jun Pataleta
6937d87ddd
MDL-72481 admin: Render the site admin navigation menu as tablist
...
only render the secondary nav as tablist if it is for the site admin tabs
Co-authored-by: Shamim Rezaie <shamim@moodle.com>
2022-03-15 12:48:21 +11:00
Bas Brands
62fadb8ddb
MDL-73906 core_my: default dashboard page header
2022-03-01 14:12:22 +01:00
Bas Brands
5e8b258cac
MDL-73114 theme_boost: show page title on Dashboard page
...
replace the page title when the welcome message is shown
2022-01-19 17:36:54 +01:00
Bas Brands
a8b6912e44
MDL-73274 theme_boost: add block/activity styling
2021-12-15 14:46:45 +01:00
Bas Brands
946fd915e2
MDL-72095 theme_boost: max width for activity pages
2021-12-08 17:29:49 +01:00
Mathew May
b983003e2e
MDL-70197 navigation: Remove old navigation elements and migrate behat
2021-11-29 15:47:42 +08:00
Shamim Rezaie
045ca2f1f0
Merge branch 'MDL-72689-master' of https://github.com/sharidas/moodle
2021-10-11 20:11:44 +11:00
Mathew May
dba47e8641
MDL-72091 Navigation: Update navigation to match designs
2021-10-11 12:20:34 +08:00
Sujith Haridasan
28f4ab461e
MDL-72689 core_navigation: Respect homepage preference
...
If defaulthomepage is set to Dashboard then Site home link
in the primary navigation should point to "/?redirect=0"
2021-10-08 10:46:40 +05:30
Sujith Haridasan
bd12395717
MDL-72396 core: Fix the primary active tab for my/index.php
...
Fix the primary active tab for my/index.php
2021-10-01 13:24:10 +02:00
Eloy Lafuente (stronk7)
a665ad27d2
Merge branch 'MDL-72396-master' of https://github.com/sharidas/moodle
2021-09-30 20:12:39 +02:00
Bas Brands
a0bb51622c
MDL-71610 theme_boost: remove edit button from Boost
2021-09-29 09:25:36 +02:00
Sujith Haridasan
c1a2df7f64
MDL-72396 core: Allow setting of active tab
...
Allow easy setting of active tab for the navigation
views.
2021-09-17 12:37:42 +05:30
Shamim Rezaie
6df239900e
MDL-70173 core: Use a meaningful first level header
2021-02-09 16:16:09 +11:00
Shamim Rezaie
d74a826829
MDL-68076 core: display call to feedback on user dashboard
2020-06-04 11:38:49 +10:00
Stephen Bourget
94c7e9f1de
MDL-45753 Events: Add view and reset events for the dashboard
2016-07-20 22:50:55 -04:00
Russell Smith
1fcf0ca8a5
MDL-35628 performance: Remove dirname() where possible.
...
dirname() is a slow function compared with __DIR__ and using
'/../'. Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code. This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
Dan Poltawski
8930d28254
MDL-50663 blocks: minor style fixes
2015-07-21 15:42:34 +01:00
Skylar Kelty
56af0fbda8
MDL-50663 blocks: Fix /my/ page when in non-user context
2015-06-29 11:37:10 +01:00
Frederic Massart
94e6f38fa6
MDL-50038 my: Redirect admin users to the notifications page when needed
2015-04-29 18:56:56 +08:00
Adrian Greeve
d9926e8664
MDL-49689 navigation: Allow the user to set their homepage.
...
Part of MDL-45774.
2015-04-13 15:54:24 +08:00
Frederic Massart
26a50547f0
MDL-49819 my: Display correct tag title on the dashboard
2015-04-13 15:31:22 +08:00
Adrian Greeve
45367bdf0c
MDL-49688 navigation: First review fixes and version bump.
...
Part of MDL-45774.
2015-04-10 17:18:03 +08:00
Adrian Greeve
0ef6c85115
MDL-49688 navigation: Update to overview report and my index.
...
Part of MDL-45774.
2015-04-10 17:17:32 +08:00
Adrian Greeve
f495187da7
MDL-48935 navigation: Update the user nav breadcrumbs.
...
Part of MDL-45774.
2015-04-10 17:17:07 +08:00
Adrian Greeve
880c50731f
MDL-48930 navigation: Using user headers in user pages.
...
Pages that are percieved to be in a user context are now
using a user context for the header.
Part of MDL-45774
2015-04-10 17:17:07 +08:00
Sam Hemelryk
225c418fd2
MDL-41511 blocks: improved how custom block regions were being rendered.
...
There is a new theme property 'blockrendermethod' that can be set by the
theme in its config.php and tells Moodle what method it is using to render
blocks in the layout files.
Either blocks, or blocks_for_region.
Then when adding custom block regions to a page content we ensure we use
the same method the theme is using elsewhere.
This is really a hack becuase we (I) didn't properly deprecate
blocks_for_region when I added the blocks method.
2014-04-06 15:17:47 +12:00
Damyon Wiese
ff77d601d5
MDL-26680: Reset my moodle page - add sesskey check.
2014-01-22 10:00:43 +08:00
Michael Aherne
41dcfbf1af
MDL-26680 my page My Moodle "reset to default" button
2014-01-21 22:36:24 +00:00
Itamar Tzadok
110831ceaa
MDL-35216 My Moodle - Admin setting for controlling guest access to my moodle
2012-09-18 15:04:45 +08:00
Itamar Tzadok
613921c6bf
MDL-32688 My Moodle - Fixed fatal error in guest access to My Moodle
2012-09-14 15:17:19 -04:00
Ankit Agarwal
bf0f06b1be
MDL-34471 libraries: Replace all uses of get_context_instance() with respective context_XXXX::instance() method
2012-08-02 15:37:38 +08:00
Sam Hemelryk
4766a50c19
navigation MDL-22425 Restructured navigation for the nth time plus performance tweaking and course display limit
2010-05-13 09:57:43 +00:00
Martin Dougiamas
03d9401e7d
My Moodle MDL-19124 New version of My Moodle, User profiles and Course profiles, all with block support
...
Thanks very much to Remote Learner Canada, especially Hubert Chathi and Olav Jordan, for their work on the bulk of this code, and also Mike Churchward for supporting them. I worked on it after that (actually simplified it by removing a feature temporarily: multiple pages) to bring it more to what I was imagining, and to provide a base to build on and get all the navigation perfect.
There's still work to do. Some blocks don't quite work as expected, and some of the code still needs upgrading to bring it fully into line with 2.0. We also could use a much better course overview block and better CSS styling of the profile pages. But it's definitely more usable this it was, I think.
2010-05-04 13:04:35 +00:00
Sam Hemelryk
3406acdef9
navigation MDL-22044 Major navigation structure changes.
...
Navigation has now been re-ordered in accordance with http://docs.moodle.org/en/Development:Navigation_2.0_structure .
This has led to several changes in the way in which navigation is generated included API changes, most notably using the
navigation_nodes add method now returns the newly added node rather than the key.
At the same time the global_navigation_tree block has been renamed to navigation and settings_navigation_tree to settings.
2010-04-19 06:30:30 +00:00
Petr Skoda
4f0c2d0009
MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too
2010-03-31 07:41:31 +00:00
Petr Skoda
a685593466
MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions
2010-01-16 15:39:56 +00:00
Petr Skoda
5c2ed7e215
MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements
2010-01-03 15:46:14 +00:00
Petr Skoda
244a32c617
MDL-21119 lang menu and login info now handled by themes
2009-12-29 17:26:29 +00:00
Petr Skoda
191b267bcd
MDL-20790 more page layouts -see base theme for full list; also added new css body class for describing current layout; base layout is now default for beter BC; require_login() now sets 'incourse' layout automatically
2009-12-27 12:02:04 +00:00
Petr Skoda
78946b9bdb
MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks
2009-12-16 18:00:58 +00:00
Petr Skoda
1d42298086
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 12:22:45 +00:00
ericmerrill
e84a97b83c
My Moodle: MDL-19089 Course limit for My Moodle not propperly obeyed. Fixing so that it obeys mycoursesperpage and propperly displays '...'
2009-10-07 16:30:07 +00:00
samhemelryk
1a198dde7d
core MDL-19791 Replaced deprecated functions, added set_url calls
2009-09-25 06:17:38 +00:00
samhemelryk
96db467adb
lib MDL-19799 Updated print_header_simple and build_navigation to OUTPUT and PAGE equivalents
2009-09-08 01:39:12 +00:00
samhemelryk
609adb68d4
lib MDL-19799 Upgraded print_header and build_navigation calls to OUTPUT/PAGE equivilants
2009-09-04 07:24:58 +00:00