Josh
  • Introduction
  • Philosophy
  • Contribution
  • Videos
  • Laravel 5.7
  • Laravel 5.6
  • Laravel 5.5
  • Laravel 5.4
  • Laravel 5.2, 5.3
    • Installating JOSH
    • Fresh Installation
  • Laravel 5.1
    • Installation
      • Database setup
      • Permissions
      • Mail Setup
      • Copying Josh Files
      • Install Josh
    • Customize whoops,...
    • usage
      • change skin
  • Laravel 5 Version
    • Installation
      • Database & Environment setup
      • Permissions
      • Mail Setup
      • Copying Josh files
      • Install Josh
    • FAQ
  • Laravel 4 Version
    • Features & Requirements
    • Installation
      • Database
      • Permissions
      • Mail
      • Copying Josh files
      • Install Josh
  • Laravel resources
    • Packages
    • Learning Laravel
    • Hosting
  • GUI CRUD
  • GULP
  • HTML Version
    • Layout
      • Header
      • Left Menu
      • Container
      • Footer Scripts
    • New Page
    • Boxed Version
    • UI Elements
    • Plugins Used
    • Images Used
    • Fonts Used
  • Updates
  • 3.0
    • 3.0.1
    • 3.1
    • 3.1.1
    • 3.1.2
    • 3.2
    • 3.2.1
    • 3.2.2
    • 3.2.3
    • 3.2.4
    • 3.2.5
    • 3.2.5.1
    • 3.2.6
  • 4.0
    • 4.0.1
    • 4.1
    • 4.2
    • 4.3
    • 4.3.1
    • 4.3.2
  • 5.0
  • Social Login
  • Recaptcha
Powered by GitBook
On this page
  • Changes
  • Files Changed
  • Updating

Was this helpful?

  1. 3.0

3.2

Changes

  • Added blog functionality to frontend and admin

  • Added Serbian Language files

  • More Laravel 5.1ish

Files Changed

Modified

  • app/Http/routes.php

  • public/assets/css/frontend/404.css

  • public/assets/css/frontend/blog.css

  • public/assets/js/pages/add_newblog.js

  • resources/views/blog.blade.php

  • resources/views/blogitem.blade.php

  • resources/views/layouts/default.blade.php

  • resources/views/admin/layouts/default.blade.php

New

  • app/Blog.php

  • app/BlogCategory.php

  • app/BlogComment.php

  • app/Http/Controllers/BlogCategoryController.php

  • app/Http/Controllers/BlogController.php

  • app/Http/Requests/BlogCategoryRequest.php

  • app/Http/Requests/BlogCommentRequest.php

  • app/Http/Requests/BlogRequest.php

  • database/migrations/2015_08_09_200015_create_blog_module_table.php

  • resources/lang/en/blog/*

  • resources/lang/en/blogcategory/*

  • resources/lang/sr/*

  • resources/views/admin/blog/*

  • resources/views/admin/blogcategory/*

Deleted

  • resources/views/admin/add_newblog.blade.php

  • resources/views/admin/blog_details.blade.php

  • resources/views/admin/blog_details2.blade.php

  • resources/views/admin/blog_list.blade.php

  • resources/views/admin/blog_list2.blade.php

Updating

Blog module uses two composer packages so we need to install them

add packages to composer

open your composer and add following packages

    "cviebrock/eloquent-sluggable": "dev-master",
    "cviebrock/eloquent-taggable": "dev-master"

then in your terminal hit composer update

publish vendor files

in terminal hit php artisan vendor:publish

service providers

open config/app.php and add following lines in providers array

Cviebrock\EloquentSluggable\SluggableServiceProvider::class,
Cviebrock\EloquentTaggable\ServiceProvider::class,

migrate tables

in terminal hit

php artisan sluggable:table blogs

php artisan taggable:table

php artisan migrate

upload directory permissions

blog pics will be uploaded into public/uploads/blog

so we need to provide write access for that folder

to do so, please run following command in your command prompt/terminal

chmod 777 public/uploads/blog
Previous3.1.2Next3.2.1

Last updated 5 years ago

Was this helpful?