Jonathon Menz
78a5aefbad
Fixed some styling issues
2024-02-20 11:03:53 -08:00
Ed Wilde
fb86781725
Improved accessibility and tooling ( #65 )
...
* Updated text contrast to meet WCAG 2.1 AA standard
* Added semantic elements and some Aria markup
* Replaced compass with modern tooling
* Replaced bitmap sprite with a vector sprite
2023-11-07 13:07:31 -08:00
Jono Menz
15f0171e51
Update README.md
2023-06-22 16:28:47 -07:00
Jono Menz
d40ee44938
Update README.md
2023-06-22 16:17:36 -07:00
Florian Thoma
5e99263c33
add namespace to config, fixes #63
2023-06-22 15:53:53 -07:00
Chris Penny
f9304b3441
Move templates into JonoM namespaces
2023-02-27 20:44:46 -08:00
Chris Penny
71a3ce1327
Add support for Silverstripe 5
2023-02-27 20:44:46 -08:00
Callan Stretton
aaa76deba0
added null coalescing operator to fix deprecation error
2022-11-22 16:10:08 -08:00
Ed Chipman
507632fd39
Improved flexibility around enabling better navigator and edit link ( #56 )
...
* Added ability for extension to be applied to non-SiteTree objects by moving the `isAPage()` check in to the `showBetterNavigator()` method, which can be overidden.
* Added ability for edit link to be enabled via a permission code check, configurable on a per-controller basis.
* Switched to using getField/setField for caching whether better navigator should be displayed or not.
* Adjusted readme around using custom logic to control the display of the navigator.
2022-07-14 13:08:08 -07:00
Howard Grigg
92416eceef
Fix Edit link not defined if no CMS access ( #57 )
...
In the situation that a user has draft site access but no CMS access they received a '$editLink not defined error'. This corrects that by defining it as false.
2022-07-06 10:51:07 -07:00
James Cocker
f55bcdadd8
Adds ability to override "Edit in CMS" link ( #55 )
...
Adds ability to override the "Edit in CMS" link, e.g. to make it jump to editing a DataObject, instead of the page.
2021-09-09 13:54:01 -07:00
Jono Menz
8df13dce17
Update README.md
2021-01-11 13:11:59 -08:00
Jono Menz
966109c7e3
Fix yml indentation in Readme
2021-01-11 13:08:40 -08:00
3Dgoo
96558495be
New: Position and translucency options ( #52 )
2020-12-14 14:10:20 -08:00
3Dgoo
83172d6da6
Brought images and ReadMe up to date ( #50 )
...
* Updated Readme to use new Silverstripe capitalisation without second capital s
* Updated demo image to look like the latest version (using words like "live" instead of "published")
* Optimised images
2020-11-30 16:37:42 -08:00
Andreas Lang
19eb60bd62
Added i18n support ( #48 )
2020-11-20 15:10:34 -08:00
Jonathon Menz
02e84d7b99
Fix conditional rendering
...
Ensure scripts and css are only loaded with navigator markup is present, and support HTTPResponse as input. Fixes #46
2020-08-27 11:43:54 -07:00
Jonathon Menz
d037dc8ebd
Added sponsorship info
2020-05-27 10:02:22 -07:00
Bram de Leeuw
da6e75c1b1
Fix injection on Form posts
...
In use with Silvershop, a form post from the AddProductForm would pass the form trough the `afterCallActionHandler` as the `$result`. This causes the `getValue` to error. By checking if the result is an instance of `DBHTMLText` this error can't happen anymore.
2019-09-04 11:01:10 -07:00
Jonathon Menz
1c61f86f36
Update URL debugging tools
...
* Only show if in dev mode
* Updated collection to match what is in docs
2019-08-23 11:00:52 -07:00
Jonathon Menz
01b41ac1a0
Fix logout form return destination
2019-08-23 11:00:52 -07:00
Jonathon Menz
4aed34ddb0
Updated ReadMe to in line with v5 changes
...
* script and CSS are hard-coded now
* updated external debugging tools recommendation
2019-08-23 11:00:52 -07:00
Aaron Carlino
a5e3f0d88f
NEW: Auto-injection into template ( #43 )
...
* `$BetterNavigator` no longer required in template
* Uses locally scoped render for navigator
* Added shouldShowBetterNavigator() method
2019-08-23 10:10:19 -07:00
wernerkrauss
db3c7d8e39
Fix potential "undefined index" notice ( #41 )
...
CMSLink might not be set on RedirectorPage for example
2018-04-06 15:41:08 -07:00
Ed Chipman
cd9c2083c8
Conversion to a Vendor Module ( #40 )
2018-03-20 12:24:06 -07:00
Jason Korth
39d1aed274
Don't upgrade logout link if form doesn't exist ( #39 )
...
Fixes #38
2018-03-19 15:15:46 -07:00
Jonathon Menz
bfa6a310b6
Update login functions for SS4
...
Fixes #35
2017-11-20 11:30:11 -08:00
Jonathon Menz
e23a257b37
Remove source map
...
Fixes #29
2017-11-20 11:28:52 -08:00
Michal Kleiner
132a98be68
Support async script loading
...
Use addEventListener to schedule BN initialisation only if document is still loading (#34 )
2017-11-20 09:58:24 -08:00
Jonathon Menz
2a9df8695d
Fix composer autoload error
2017-04-24 10:33:16 -07:00
Andrew Aitken-Fincham
79a585eda4
Update to be compatible with SS4 ( #27 )
...
plus some code tidying
2017-04-24 10:17:09 -07:00
Jonathon Menz
63f16e4054
Correct heading formatting
2017-03-22 16:39:21 -07:00
3Dgoo
4ad75cc564
Fix links when site is in a sub url ( #28 )
2017-03-22 16:34:49 -07:00
Jonathon Menz
58fe5c8dd6
Function without <base> tag
...
Closes #23
2016-07-22 15:26:01 -07:00
Jonathon Menz
1a02603fb4
Removed redundant config declaration
...
Still using ‘BetterNavigator’ namespace for config despite class name change
2016-07-22 14:55:19 -07:00
Mell
da14f4c614
FIX: Now compatible with PHP7
...
Changed name of extension to be compatible with PHP7, due to conflict with method name
2016-07-22 14:36:16 -07:00
Jono Menz
e0a82db467
Merge pull request #22 from sb-relaxt-at/member-unique-identifier
...
Added support for a different unique field of Member in developer config
2016-02-10 09:31:37 -08:00
Stephan Bauer
59ca054ba6
Added support for a different unique field of Member to be used in developer config
2016-02-10 00:04:12 +01:00
Jonathon Menz
a050d926de
Better permission management
...
Closes #11
2015-12-17 19:34:13 -08:00
Jonathon Menz
7c78a7e2ed
Better support for archived state
2015-12-17 17:25:04 -08:00
Jonathon Menz
068c4cf26c
Style tweaks
2015-12-17 17:19:11 -08:00
Jonathon Menz
23c8bc6de9
PSR-2 conversion
2015-12-17 15:58:50 -08:00
Jono Menz
fce6ffa85e
Merge pull request #18 from helpfulrobot/add-standard-editorconfig-file
...
Added standard .editorconfig file
2015-12-17 15:16:34 -08:00
helpfulrobot
1c34af6b3e
Added standard .editorconfig file
2015-12-18 07:15:21 +13:00
Jono Menz
4f92851547
Merge pull request #17 from 3Dgoo/feature/escape-ampersands
...
Escaping ampersands in link hrefs
2015-07-31 09:01:03 -07:00
3Dgoo
a49c3cd34a
Escaping ampersands in link hrefs
...
Making links valid html by escaping ampersands in link hrefs.
2015-07-31 09:34:51 +09:30
Jono Menz
d606d8c841
Merge pull request #15 from anselmdk/ie8-compat
...
IE8 compatibility
2015-03-03 09:11:07 -08:00
Anselm Christophersen
67ccc1c38f
IE8 Compatibility
2015-03-03 09:53:31 +01:00
Jonathon Menz
fdd895ef9d
Separated Page and BetterNavigator template data
...
Fixes #8
2014-11-22 10:28:06 +10:30
Jonathon Menz
2251008ae4
Clockwork shout-out
2014-11-22 09:26:02 +10:30