Skip to content
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
admin
media
screenshots
LICENSE
README.md

README.md

Fansoro-Panel 2.2.1

Backend for Fansoro CMS

Join the chat at https://gitter.im/fansoro/fansoro

Requirements

Operation system: Unix, Linux, Windows, Mac OS Middleware: PHP 5.5 or higher with PHP's Multibyte String module Webserver: Apache with Mod Rewrite


Screenshots

Dashboard

Dashboard

Edit pages

Edit

Edit Themes

Edit

Pages section

Pages


Instructions ( VERY IMPORTANT TO WORK! )

Copy admin folder in root of website

Go to config/site.yml and edit:

  author:
    email: 'demo@gmail.com'

  # admin folder
  backend_folder: 'admin'
  # password sha1(md5('demo')); for first password is demo
  backend_password: 'a69681bcf334ae130217fea4505fd3c994f5683f'
  # Language  en,es,gr,ru
  backend_language: 'en'
  # pagination pages/blocks templates etc..
  backend_pagination_pages: 6
  # pagination uploads
  backend_pagination_uploads: 6
  # pagination all media
  backend_pagination_media_all: 3
  # pagination single item
  backend_pagination_media: 16
  # admin charset
  backend_charset: UTF-8
  # root url
  site_url: 'http://localhost'

Note:

if you like ,you can change folder name of admin.

  • rename $backend var in admin/index.php
  • rename backend_folder in site.yml
  • Go to url /admin of your admin folder name and login

Thats it !


Json structure of media elements

  }
    "1447007935": {
      "id": 1447007935,
      "title": "The blue Worlds",
      "desc": "Many pics of blue worlds by uspslash.com",
      "thumb": "/public/media/album_thumbs/album_1447007935.jpg",
      "images": "/public/media/albums/album_1447007935",
      "tag": "blue",
      "width": "800",
      "height": "500"
    }
  }

You can use media plugin to show images:

Copy media folder in plugins folder Enable on system.yml

  plugins
    media

Fansoro Media Plugin

Extends Media section in frontend of Fansoro Panel

##Documentation

Create a media.md file on storage/pages folder with template media.tpl like this:

    ---
    title: Media example
    description: Media items for gallery or portfolio
    template: media
    ---

Create a media.tpl file on themes/default-theme folder like this:

File media.tpl

    {extends 'partials/base.tpl'}
    {block 'content'}
      <div class="container">
          {Action::run('Media')}
      </div>
    {/block}
You can’t perform that action at this time.