-
Notifications
You must be signed in to change notification settings - Fork 790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Topics that need documenting... #356
Comments
|
htaccess documented: 8d168d1 |
Expanded on System Config documentation: ac42d1d |
In regards to "Cookbook" -> "Tutorial on how to create a split menu system (vertical menu?)", is the idea to split menu items by category, subcategory, and item? Ie., a hierarchical menu. |
I forgot to add before submitting that PR, but really think a link to the page object details in the theme variable section is much needed here. I remember that was hard to find at first. Also, completed documentation task in getgrav#356.
I forgot to add before submitting that PR, but really think a link to the page object details in the theme variable section is much needed here. I remember that was hard to find at first. Also, completed documentation task in #356.
In regards to the split menu cookbook entry @OleVik, what i had in mind was the main menu shows only the 1st level items. Then when you click on say 'services' top level, and it has a series of items under there: 'consulting', ' development', etc, those show up underneath as a horizontal menu. This is what I consider a 2 level split-menu. |
Dashboard options documented: https://learn.getgrav.org/admin-panel/plugin-options |
Documented Tools Menu Option for Direct Install: https://learn.getgrav.org/admin-panel/tools |
Includes * #356: Added inline CSS and JS via Asset manager getgrav/grav#1377 * Add missing documentation on configuration options * Add an overview section * Move "Static Assets" to the bottom
default seems to be the default thumbnail from system folder for media type e.g. page is taken from the media folder with pattern media is the (image) medium itself |
Offline Mode Documented d473200 |
Update: decent examples are provided under blueprints as it happens. Having missed this completely when I needed it, perhaps we should be talking about better cross-referencing of shared content between the blueprints and user forms sections. |
On my wishlist:
@mahagr and @RyanMPierson know a lot about this process, and I imagine there are some underused abilities of blueprints that would allow for easier debugging of structure and implementation, which is a sticky, reoccurring issue people ask for help with. |
- [x] Document optional collection ordering PHP flags getgrav/grav#1640 - Added under /content/collections#php-collections - [x] Added cache_control system and page override getgrav/grav#1591 - Added reference-link to /basics/grav-configuration#pages - Added /content/headers#cache-control - [x] clear_images_by_default cache option getgrav/grav#1481 - Clarified description in /basics/grav-configuration#pages - [x] Collection::intersect() getgrav/grav#1605 - Added under /content/collections#collection-object-methods - [x] Collection::merge() method - Added under /content/collections#collection-object-methods - [x] Page::collection() filtering - Added under /content/collections#complex-collections, with a bit of cleanup - [x] Document EXIF support in Grav (and in capabilities) - Clarified /themes/twig-filters-functions#exif - Added note at the end of /cookbook/general-recipes#creating-a-simple-gallery - [x] document not being able to scroll caused by cloudlare. getgrav/grav-plugin-admin#808 (comment) - Done in getgrav#397 - Duplicated under Admin Plugin and Cookbook headers - [x] Document adding custom form fields with examples.. - Done in getgrav#401 - [x] Document range field - Done in [7e0dcbc](getgrav@7e0dcbc) - [x] Tutorial on how to create a split menu system (vertical menu?) - Duplicated under Cookbook header - [x] Tutorial walkthrough covering going from and HTML site/design to Grav theme - Duplicated under Cookbook header getgrav#356 needs some cleanup to remove completed tasks, they're not really needed.
Added CloudFlare workaround via getgrav/grav-plugin-admin#808 (comment) |
Covers [`reply_to` in topics to be documented](getgrav#356 (comment)).
|
Covers [`reply_to` in topics to be documented](#356 (comment)).
- [x] Document optional collection ordering PHP flags getgrav/grav#1640 - Added under /content/collections#php-collections - [x] Added cache_control system and page override getgrav/grav#1591 - Added reference-link to /basics/grav-configuration#pages - Added /content/headers#cache-control - [x] clear_images_by_default cache option getgrav/grav#1481 - Clarified description in /basics/grav-configuration#pages - [x] Collection::intersect() getgrav/grav#1605 - Added under /content/collections#collection-object-methods - [x] Collection::merge() method - Added under /content/collections#collection-object-methods - [x] Page::collection() filtering - Added under /content/collections#complex-collections, with a bit of cleanup - [x] Document EXIF support in Grav (and in capabilities) - Clarified /themes/twig-filters-functions#exif - Added note at the end of /cookbook/general-recipes#creating-a-simple-gallery - [x] document not being able to scroll caused by cloudlare. getgrav/grav-plugin-admin#808 (comment) - Done in #397 - Duplicated under Admin Plugin and Cookbook headers - [x] Document adding custom form fields with examples.. - Done in #401 - [x] Document range field - Done in [7e0dcbc](7e0dcbc) - [x] Tutorial on how to create a split menu system (vertical menu?) - Duplicated under Cookbook header - [x] Tutorial walkthrough covering going from and HTML site/design to Grav theme - Duplicated under Cookbook header #356 needs some cleanup to remove completed tasks, they're not really needed.
The message API is not documented or mentioned anywhere:
|
Should be added here: --> I've document this thing, however I dont know what else the object is used for, maybe there are other permissions worth to document. Also I dont know if this is still valid for 1.7. |
Above does not work, it never has. You should not be using |
GRAV_VERSION is not documented: |
From a suggestion I made in the Discord server: I'm seeing the blueprint admin fields available in the docs, then if we want to find text field information we have to navigate to frontend fields, I think it would be best to just list all fields that are available for the admin and create another table column to denote which ones are only available in the admin. That way the dev doesn't have to navigate back and forth from frontend/admin fields. Something like this: I was told this was the case before but that there were "issues". I'd be interested to know if they couldn't be addressed while still, what I feel is improving this page. |
In
This feature should be documented in https://learn.getgrav.org/17/basics/grav-configuration#images |
Please submit a pull request by clicking "edit" button on the docs site. |
These are some topics I have on my big-list-of-grav-things that need to get documented in the docs. Some are clarifications, some are new features that have been added to the Grav core and just not documented yet.
Please consider digging in and helping to knock these out. It's an easy way you can contribute back to Grav :)
Grav Core
Full breakdown of each item
system.yaml
that explains each in more detail rather than just the copy of the file we currently have.system.errors.verbosity
needs more detailed explainationBetter
.htaccess
help. Bolt has some great docs in this regard: https://docs.bolt.cm/3.0/howto/making-sure-htaccess-worksProvide explanation on how to get a Grav running 100% correctly with 775/664 permissions including a PHP
umask()
call insetup.php
Document
template_format: json
in page frontmatterDocument
login_redirect_here: false
in page frontmatter (for login page redirect control)Retina images and derivatives need a detailed rewrite and explanation with examples of each type. - Added ability to pass an array of explicit widths to ImageMedium#derivatives grav#1133
Document ContentMeta. Used in Shortcode Plugin, e.g.
$page->addContentMeta('shortcodeMeta', $meta);
Document new media streaming capabilities via Markdown and Twig.
{ media['user://media/bird.png'].resize(50, 50).rotate(90).html() }}
Provide more in depth documentation for
Browser
object.More in depth documentation and examples of Multi-site usage including examples of stream setups with
setup.php
Document ability to be run with built-in PHP webserver utilizing
router.php
Document improved Theme variables - Feature/theme dev improvements grav#1232
Document
hash
page check type - Add 'hash' configuration option for cache check method grav-plugin-admin#923Document new
never_cache_twig
system and page option.Document using Wellington app to compile/watch SCSS
Document how media methods generally 'reset' previous actions. so either assign to a varable, or pass
false
- Problem when outputting images with twig. Incorrect url. grav#1247Update nginx.conf entries with updated value from webserver-configs
Document the new
allow_webserver_gzip
option and implicationsDocument page collection
order.custom
andorder.sort_flags
on Collections pageDocument Redis + Memcached server/port options
Document how to run the Grav tests (and add new tests) ->
vendor/bin/codecept run
Document honeypot field for forms
Document
debugger: false
in the page frontmatterDocument in languages section, the ability to get current logged in user
{{ grav.user.username }}
etc.Added inline CSS and JS via Asset manager Adding the ability to inline CSS and Js code via Asset Manager grav#1377
Added
isajaxrequest
twig funciton add function isajaxrequest() grav#1400Quickly add twig function - https://github.com/getgrav/grav-plugin-star-ratings/blob/develop/star-ratings.php#L166-L171
Document
media_directory
,vardump
, andbase32
,base64
twig functions/filtersDocument
media
twig object and accessing arbitrary images as media:Document optional collection ordering PHP flags Strange behavior on ordering collection grav#1640
New methods:
Twig::addPath()
andTwig::prependPath()
Document
expires:
in page frontmatterDocument
gaussianBlur
media methodDocument issues with W3C and Linkedin that are fixed with gzip - Linkedin, Wayback Machine, and W3C Validator issues - no indexing grav#1639
Added
cache_control
system and page override set headers by page grav#1591clear_images_by_default
cache option Avoid to delete images/ folder after using GPM grav#1481Collection::intersect()
Add option to use AND rather than OR for multi-item collections grav#1605Collection::merge()
methodPage::collection()
filteringDocument EXIF support in Grav (and in capabilities)
Document
Pages::baseUrl()
,Pages::homeUrl()
andPages::url()
functionsMore video control options Add more controls over HTML5 video attributes (autoplay, poster, loop, controls) grav#1442
Document Page ancestor methods Ancestor and Inherited functions for Page & Pages grav#1362
Document Page cache id method
Pages::getPagesCacheId()
Document how to use Cache object in plugins
Core Events
onPageFallbackUrl()
onFallbackUrl()
onMarkdownInitialized()
onMediaLocate()
onGetPageTemplates()
onGetPageBlueprints()
onTwigLoader
onActionX
onPageActionX
onTaskX
Admin Plugin
Document how to extend
site.yaml
and others with config blueprint override https://gist.github.com/rhukster/89429cc5738b9201c4fd5a6057fe1596Document how to create and use a custom page blueprint to provide "Custom Page Types" functionality
Document how to create a custom field
Document the Dashboard and Notifications setting with explanation on how to stop the notifications requests to be sent by disabling the 4 places it's needed. (fix to in admin to support this is pending)
Document the volatile nature of APCu/Xcache and how you can't populate cache from CLI because these are destroyed after every CLI php call. File works best, but memcached/redis should also be fine (after Grav 1.1.16 which has the fix)
document not being able to scroll caused by cloudlare. Can't scroll on any of the admin panel pages grav-plugin-admin#808 (comment)
Update user profile screenshot documentation to mention user-uploadable avatar
Document new "Tools" menu option for direct install
Document
fieldset
form field for admin: Add fieldset form field grav-plugin-admin#210Document
parents
field which extends pages - https://gist.github.com/rhukster/6df3bdb106e2b06242b10ae549e5e021Document the
security:
option on Section and Tab field to limit accessDocument the password REGEX requirements
Document
$this->grav['twig']->plugins_quick_tray
viaonAdminMenu
eventDocument icon quick-tray and how to use it in plugins
Mention offline mode?
Document
multilevel
andmediapicker
fieldAdmin Events
onAdminTaskExecute()
onAdminCreatePageFrontmatter()
onAdminAfterSave
onAdminAfterSaveAs
onAdminAfterDelete
onAdminAfterMedia
onAdminAfterDelMedia
Forms
Explain how to enable inline errors in forms (inline_errors: true in form.yaml or form definition)
Custom error message support in
validate: message:
Disable client validation with
client_side_validation: false
in form.yaml or in form definitionDocument adding custom form fields with examples..
Document adding custom actions with examples..
Document
conditional
- https://gist.github.com/rhukster/7e83c40e906e92a5acf91a80303c034dDocument
fieldset
fieldsDocument missing file options
random_name
andavoid_overwriting
- AdminBaseController line 218Document Taxonomy field: Add support for 'default' and 'options' for taxonomy field grav-plugin-admin#1364
Document classes in forms: https://gist.github.com/rhukster/09b8841087e2376f962bf9adf2745d85 - Another example: https://gist.github.com/rhukster/13b0232c29482f3f473168f6b98110e5 - Perhaps an example that styles forms to bootstrap would be good?? Also with a Twig variables to set them once: https://gist.github.com/rhukster/133b1576d190cfe8d38058bc2dd32ff4
Document
range
fieldDocument
remember
action - Remembered fields feature grav-plugin-form#200Document how to properly setup a YAML field (
yaml: true
andvalidate: type: yaml
) - See media.yaml blueprint example.Document the
array
field (just like in admin)Cookbook
Tutorial on how to create a split menu system (vertical menu?)
Tutorial on how to create a split menu system (vertical menu?)
Tutorial walkthrough covering going from and HTML site/design to Grav theme
Tutorial walkthrough covering going from and HTML site/design to Grav theme
How to add a page specific CSS file via a custom page template - block stylesheets, parent(), then
{% do assets.addCss('theme://css/custom-page.css') %}
Add simple CSS stylesheet to the simple gallery example.
Simple plugin/events to get all users in
accounts/
and add them as a twig variable for use on frontend.Custom select field - How to add whole countries select list in grav forms grav-plugin-form#187 (comment)
Document not being able to scroll caused by cloudlare. Can't scroll on any of the admin panel pages grav-plugin-admin#808 (comment)
Hosting
Tutorial on best custom hosting with VPS + Serverpilot.io
Add Runcloud to Hosting?
The text was updated successfully, but these errors were encountered: