How to manage tinymce language packs with composer?
They are downloaded separately via https://www.tinymce.com/download/language-packages/.
But if i add it into the composer folder it get overwritten via composer automatically.
Add them separately to composer; there are language packs on github, which are usable by composer:
composer require tweeb/tinymce-i18n
In tinymce you would use it then like this:
tinymce.init({
language: 'de',
language_url: '/vendor/tweeb/tinymce-i18n/langs/de.js'
});
Related
I am new to laravel and I am wondering how all these default templates are upgraded when a new minor(!) laravel version was released.
Let's say I've installed laravel via:
composer create-project laravel/laravel example-app
This pulls in a lot of files with basic templates to get started.
Now when I run composer outdated it shows me which versions are currently out of date. I guess that composer update will only update the vendor files, but not the files inside my project itself. But what if those template files were changed on an update? How do I get to know this change?
The same question applies to packages like sanctum, fortify and jetstream. How do I manage those updates? Or aren't the template files ever being corrected between minor versions?
How can I enable the common image select dialog in ckeditor? The extension rte_ckeditor_image isn't available for TYPO3 10.
I didn't found anything. Isn't there no one needing this?
Normal images have no place in the CKEditor, as these can then no longer be processed by the TYPO3 system and optimized for responsive design.
Small images are often only pictograms and can be integrated as icon fonts using CSS classes.
Therefore the need is small.
But there is a branch on GitHub supporting TYPO3 v10. You can download the dev-TYPO3_10.x branch as a zip file and place it in your typo3conf/ext in a folder named rte_ckeditor_image.
If you are using composer, you can try to use composer req netresearch/rte-ckeditor-image:dev-TYPO3_10.x.
If you have a composer installation and composer req fails (as it did in my case) you can try the following.
Download extension as mentioned above.
Add the autoload line(s) to your
composer.json
{
"autoload": {
"psr-4": {
"Netresearch\\RteCKEditorImage\\": "public/typo3conf/ext/rte_ckeditor_image/Classes/"
}
}
}
Run composer install
Activate the extension in Extension Manager
Follow the installation instruction of rte_ckedit_image
Clear TYPO3 Cache in Maintenance
There are currently waiting 2 pull requests that might have some updates.
WIP: Dev TYPO3 10.x what will bring the v10 version to production
Dev typo3 10.x what simply resolves the conflicts in WIP: Dev TYPO3 10.x
Is it possible to include Nunjucks in a project with Composer?
Or do I have to download it manually?
No, you cannot install it via Composer, as it is a PHP dependency manager, used almost exclusively for PHP packages (which Nunjucks is obviously not). It's not impossible for non-PHP packages to be installable via Composer, but that's a rare occasion.
As a general rule of thumb, to check Composer availability - look at the source code repository and see if a file named composer.json exists.
But that doesn't mean you have to download it by hand, as there's an equivalent solution for JavaScript packages - NPM; and Mozilla have made it available there.
i have download a laravel project from github, When i run the project i got an debugger menu.
I am very new to laravel.
How do i get this debugger menu in my other projects
Add laravel-debugbar in composer.json, like "barryvdh/laravel-debugbar": "^2.0#dev",
Add Barryvdh\Debugbar\ServiceProvider::class,, 'Debugbar' => Barryvdh\Debugbar\Facade::class, to providers and aliases in your config\app.php.
Please don't forget run: composer update
What you have shown is the debug bar from the barryvdh/laravel-debugbar package. This is the package you want to use if you have other Laravel projects.
If you have other non-Laravel projects, you want the maximebf/php-debugbar package. The barryvdh/laravel-debugbar is a nice Laravel wrapper around the base maximebf/php-debugbar package.
You can view the linked packages for installation instructions.
I need to install an admin panel theme in laravel. Please share any ideas.
Look like there is a project for it.
-> https://github.com/harryxu/laravel-theme
and see "Usage". (only for themes, sorry)
There are packages such as "cartalyst/themes": "3.0.*"
You can insall them by including this in your composer.json
"cartalyst/themes": "3.0.*"
and do
composer update
Here is the link about that.
Also you shall use this and many such are available over github and other resources.
But i would recommend you to put the css and js files in your assets folder and simply use the html in your blades
Recommendation : Still why Laravel 4.2, why not 5.1
https://cartalyst.com/manual/themes/3.0#installation
install composer before. Site to composer is too obvious to put it here