Skip to content
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 122 commits into from
Jun 9, 2023
Merged

update #1

merged 122 commits into from
Jun 9, 2023

Conversation

elitGithub
Copy link
Owner

No description provided.

elitGithub and others added 30 commits June 22, 2022 23:49
…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
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!
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
…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'.
…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'.
trongate and others added 27 commits April 3, 2023 15:15
…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']
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
@elitGithub
Copy link
Owner Author

a

@elitGithub elitGithub self-assigned this Jun 9, 2023
@elitGithub elitGithub merged commit dd28d11 into elitGithub:master Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants