2017 © Pedro Peláez
 

library rzn-view-files-path

A ZF2 module allows you to change the paths to view files (css, js, images) easily.

image

andydune/rzn-view-files-path

A ZF2 module allows you to change the paths to view files (css, js, images) easily.

  • Monday, February 10, 2014
  • by AndyDune
  • Repository
  • 2 Watchers
  • 0 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

RznViewFilesPath

A ZF2 module allows you to change paths to view files (css, js, images) easily., (*1)

Basic Using

There is the part of layout from skeleton application:, (*2)

        <?php echo $this->headLink(array('rel' => 'shortcut icon', 'type' => 'image/vnd.microsoft.icon', 'href' => $this->viewFilesPath('/img/favicon.ico')))
                        ->prependStylesheet($this->viewFilesPath('/css/bootstrap.min.css')) ?>


        <?php echo $this->headScript()
            ->prependFile($this->viewFilesPath() . '/js/bootstrap.min.js')
            ->prependFile($this->viewFilePath() . '/js/jquery.min.js')
        ; ?>

Installation via Composer

Steps

1. Add to composer.

    "require" : {
        "andydune/rzn-view-files-path": "dev-master"
    }

2. Copy config file (rzn-view-files-path.global.php) to your application autoload dir if you need to change basic configuration.

3. Add module to application config (/config/application.config.php)

   ...
   'modules' => array(
        'RznViewFilesPath',
   ),
   ...

The Versions

10/02 2014

dev-master

9999999-dev https://github.com/AndyDune/RznViewFilesPath

A ZF2 module allows you to change the paths to view files (css, js, images) easily.

  Sources   Download

MIT

The Requires

 

component php zf2 rzn

07/02 2014

v0.1.0

0.1.0.0 https://github.com/AndyDune/RznViewFilesPath

A ZF2 module allows you to change the paths to view files (css, js, images) easily.

  Sources   Download

MIT

The Requires

 

component php zf2 rzn