Coder Social home page Coder Social logo

cavo789 / joomla_mod_agency Goto Github PK

View Code? Open in Web Editor NEW
3.0 5.0 0.0 296 KB

mod_agency is a module for the Joomla backend and will display informations about the web agency who's responsible for the site. Name, URL, phone number, email, skype, ... of the person in charge of the daily maintenance of the site. mod_agency has been developped by the JUG Wallonie (http://www.jugwallonie.be)

License: MIT License

HTML 4.97% CSS 1.58% PHP 93.45%
joomla joomla-module web-agency

joomla_mod_agency's Introduction

mod_agency

banner

mod_agency is a module for the Joomla backend and will display information about the web agency who's responsible for the site. Name, URL, phone number, email, skype, ... of the person in charge of the daily maintenance of the site. mod_agency has been developed by the JUG Wallonie.

mod_agency can be displayed in any Joomla admin position and will display something like this :

Each informations can be parametrized through the module edition screen, tab Advanced

The idea is also to be able, for the web agency, to "push" informations on the website so there is a field "InfoURL" where the agency will provide a link to a .json file stored on their website. The structure of the .json is the following :

{
  "logo": "https://www.woluweb.be/woluweb.png",
  "title": "Woluweb",
  "url": "www.woluweb.be",
  "name": "Woluweb",
  "person": "Marc Dechèvre",
  "email": "xxxx@xxxxxxx",
  "country": "Belgium",
  "skype": "xxxxxx",
  "phone": "+32 999 99 99 99",
  "message": "<h3>Woluweb au service de la communauté &gt; Des pr&eacute;sentations libres d'acc&egrave;s</h3>",
  "color": "#0071bc;"
}

When "InfoURL" is filled in, the module will try to retrieve that file (using cURL) and if successfull, will adapt the parameters of the module. So, by only updating that file on their server, the web agency can "push" a new information like a new phone number or a new message like "Dear customer, please note that I'll be unavailable during the two first weeks of July...".

How to install

Download a copy of this repository as a ZIP file on your disk and upload that archive to your website.

Once installed, go to Extensions -> Modules and please be sure to select "Administration" to display modules related to the backend. The mod_agency module should appears.

Edit the module to be able to

  • select the position (f.i. cpanel)
  • not display the title
  • and, of course, specify yours own infos :

Please note that the config.json file will be created at the first display of the module. The file will be created in the folder /administrator/modules/mod_agency and will be called config.json.

Be carefull : the file won't be updated so, if you change the parameters, you'll need to delete the file first.

The file isn't deleted automatically. Indeed, the idea is to get a newer version of that file from your own server.

Feel free to join to this repository and proposed new features.

joomla_mod_agency's People

Contributors

cavo789 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  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.