Giter Site home page Giter Site logo

jasonzou / add-css-js-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from relaciones-internacionales-journal/add-css-js-plugin

0.0 1.0 0.0 164 KB

OJS Plugin to easily add CSS stylesheets or JS files to Head - IN DEVELOPMENT

PHP 71.12% Smarty 28.88%

add-css-js-plugin's Introduction

OJS Plugin: Add CSS Stylesheets / JS Files to head or footer

  • OJS Add CSS and JS Plugin
  • Version: 1.1
  • Release date: August 08, 2015
  • Author: Andy Mendioroz

About

Once enabled, this plugin for OJS 2.4 provides a form to add new CSS Stylesheets and/or JS files/libraries. They can be included just before the closing </head> tag or inside the footer.

License

This plugin is licensed under the GNU General Public License v2. See the file COPYING for the complete terms of this license.

System Requirements

Tested on OJS 2.4.2 & 2.4.6

Installation

To install the plugin:

  • download the .zip file.
  • extract to a new folder.
  • upload to plugins > generic folder.

This plugin functionalities can then be accessed through:

  • Home > User > Journal Management > Generic Plugins > Add CSS or JS Plugin

Known Issues/Limitations

You may have to register the plugin manually. Go to your MySQL database and runn the following sql statement (you may have to change some values):

INSERT INTO `versions` (`major`, `minor`, `revision`, `build`, `date_installed`, `current`, `product_type`, `product`, `product_class_name`, `lazy_load`, `sitewide`)
VALUES
   (1, 0, 0, 0, '2015-06-18 12:32:12', 1, 'plugins.generic', 'addCssJs', 'AddCssJsPlugin', 1, 0)

Version History

1.0 - Initial Release 1.1 - CSS and JS can be added to footer. User can leave empty all but one field in the form.

add-css-js-plugin's People

Contributors

andympd avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.