{"_id":"@archey347/uf_blog","name":"@archey347/uf_blog","dist-tags":{"latest":"0.0.0"},"versions":{"0.0.0":{"name":"@archey347/uf_blog","version":"0.0.0","dependencies":{"@userfrosting/sprinkle-admin":"~5.1.0","@userfrosting/theme-adminlte":"~5.1.0","ckeditor5":"~42.0.2"},"devDependencies":{"@symfony/webpack-encore":"^4.4.0","file-loader":"^6.2.0","sass":"^1.51.0","webpack-notifier":"^1.14.1"},"scripts":{"dev-server":"encore dev-server","dev":"encore dev","watch":"encore dev --watch","build":"encore production --progress"},"_id":"@archey347/uf_blog@0.0.0","description":"Blog sprinkle for Userfrosting v5.1. ![Screenshot of Blog and Dasboard](https://raw.githubusercontent.com/archey347/userfrosting-blog/master/Capture.PNG)","_nodeVersion":"20.12.1","_npmVersion":"10.5.1","dist":{"integrity":"sha512-TV+XXuLcdmBM10qaffAdaY4/fmRzrnjZa/8Z7mIxkmm3GrYZCEZkArFuEqxQj8ZMk+zyxHekzhJuTuAvisXPaA==","shasum":"eef66ba3e5c55c924a66c7cb9d4289a13c8edb9a","tarball":"https://registry.npmjs.org/@archey347/uf_blog/-/uf_blog-0.0.0.tgz","fileCount":46,"unpackedSize":357854,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDt2N9uzFX0mzxaq6b4peftp5wVFoeDyei/4my9Kjw/GwIgXmr16V3yiu1W/xow1e2L6+4uvjVRWRXG1aJR90d2OVU="}]},"_npmUser":{"name":"archey347","email":"a@archbar.me"},"directories":{},"maintainers":[{"name":"archey347","email":"a@archbar.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/uf_blog_0.0.0_1724025763357_0.9644441997401425"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-19T00:02:43.278Z","0.0.0":"2024-08-19T00:02:43.748Z","modified":"2024-08-19T00:02:44.041Z"},"maintainers":[{"name":"archey347","email":"a@archbar.me"}],"description":"Blog sprinkle for Userfrosting v5.1. ![Screenshot of Blog and Dasboard](https://raw.githubusercontent.com/archey347/userfrosting-blog/master/Capture.PNG)","readme":"# userfrosting-blog\nBlog sprinkle for Userfrosting v5.1.\n![Screenshot of Blog and Dasboard](https://raw.githubusercontent.com/archey347/userfrosting-blog/master/Capture.PNG)\n\n## Installation (UNTESTED)\n\n1. Add the package to your `composer.json`. This can be done with:\n```\ncomposer require archey347/uf_blog \"version!\"\n```\n2. Install via NPM\n\n3. Add to main webpack entries file\n\n\n4. Run the bakery migration to create the required database tables. Go to the root folder of your Userfrosting instance in a command line and run:\n```bash\nphp bakery migrate\n```\n## WYSIWYG Editor\n\nThe blog uses the CKeditor 5 to allow for basic formatting in blog posts\n\n## Blog Formatting\n\nTo change the formatting of the blog, edit the twig template at `templates/pages/blog-view.html.twig`.\n\n## Permissions\n\nWhen the sprinkle is first installed, there are two permissions:\n\n1. `uri_blog_manager`\n2. `uri_blog_manager_view`\n\nBoth permissions allow access to managing the blogs, however, `uri_blog_manager_view` gives only read access to the blog managment (This is useful if you want to allow somebody to add or remove posts to the blogs but not actually manage them).\n\nBy default, all blogs are publicly viewable.\n\nPermissions can be customised on a per-blog basis, by overriding the blog access control layer with a class that implements the interface `UserFrosting\\Sprinkle\\Blog\\Authorise\\BlogAccessControlLayerInterface`.\n\n## Contributing\n\nPlease read the [contributing guidelines](CONTRIBUTING.md).\n","readmeFilename":"README.md"}