forked from trongate/trongate-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
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
update #1
Merged
Merged
update #1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
removed double equal sign
…were generating errors. Now, the model file does not run if the DATABASE value in config is empty. This means that it's now possible to have Trongate websites that do not have a database.
…to the bootstrap.php file. Since they never get changed, there's no point in having them inside config.php!
New readme page
update readme file
Adds closing of Modal with an escape key press - in both admin.js and app.js
Shorten code on document.getElementById('modal-container') to _('modal-container')
Awesome as always. Thank you!
README.md: fix download link
use the new functions parseDate and parseDateTime to parse the input into a Date Object, using the format of the spezified locale in the global variable "localeString". Also use the locale to output the Date or DateTime as aspected.
remove console.log()
Fix to remove Deprecated: Implicit conversion from float to int loses precision on $width and $height of image
Update to fix Implicit conversion
Spelling fixes
…hank you, Avenirer from bringing this to our attention!
…pinner on your pages by simply adding a div with a class of 'spinner'. By default, the spinner with be aligned to the center. To have the spinner aligned left, add an additional class of 'spinner-lhs'. To have the spinner aligned to the right, add an additional class of 'spinner-rhs'.
…sure update ids are integers.
…rs! To get this working; 1). remove validation_errors(); statement (on your form page), 2). give your form a class of 'highlight-errors'. 3). For each form field where you'd like to display validation error(s), add ->. echo validation_errors('form_field_name'); If you're using in-field errors and you'd like to remove the default validation error alert, set .validation-error-alert class to a display type of 'none'.
…plate ('floating footer' issue).
…oints.php - now forcing $query_str to be of type 'string'
…ctly). Also added validate_token function to Api.php - this simplifies a previous effort.
…o, 2). simplified view() method on Trongate.php. Finally, changed 'NULL' to 'null' (lowercase!) throughout the engine.
Fixed some type errors when using later versions of PHP Also, added doc blocks
Fixed type errors and added doc blocks to trongate.php
Changed `string|null` to `?string` which is not a valid syntax in PHP Please note that this syntax is valid in PHP 7.1 and later versions.
Fixed some return types that were giving syntax errors
…e.php so that data array is automatically extracted upon normal view file loading
…only in instances where element exists on page.
You can now change the calling module name
Reinstate $data['view_module']
…okies or session vars
Change protected ?string $module_name; to protected ?string $module_name = ''; Which fixes an error when parent::__construct(); not included in __construct() Uncaught Error: Typed property Trongate::$module_name must not be accessed before initialization add links to the Trongate docs for view() and template() methods
Fixed error being thrown when using normal view from a sub module
a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.