Coder Social home page Coder Social logo

joomla-blueprint-example-module's Introduction

NXD BluePrint Example Module for Joomla! 4.x / 5.x

This is a simple example module for Joomla! 4.x / 5.x. It shows Joomla! Content. This module can be used as Blueprint.

Features

  • New Joomla! Module Structure Example Code
  • Example Code for WebAssets
  • Example Code for Language Files
  • Use Composer to setup the module

Configuration / Usage

Setup using Composer

  1. Clone the repository
  2. Run composer setup to rename the module and set up the module
  3. Install the module via Joomla! Extension Manager

Setup using manual Method via Search and Replace

Module Information

  1. Search & Replace all occurrences of mod_blueprint with your module name
  2. Search & Replace all occurrences of BluePrint with your module title (used for namespacing & naming in Language files)
  3. Search & Replace all occurrences of blueprint with your module name in lowercase
  4. Search & Replace all occurrences of BLUEPRINT with your module name in uppercase

Creator Information

  1. Search & Replace all occurrences of [CREATOR-COMPANY] with your Company's Name
  2. Search & Replace all occurrences of [CREATOR-URL] with your Company's URL
  3. Search & Replace all occurrences of [CREATOR-FULLNAME] with your Name
  4. Search & Replace all occurrences of [CREATOR-EMAIL] with your Email
  5. Search & Replace all occurrences of [CREATED-DATE] with the current date
  6. Search & Replace all occurrences of [CREATED-YEAR] with your Copyright
  7. Search & Replace all occurrences of [EXTENSION-VERSION] with the current version

Namespacing & File Renaming

  1. Search & Replace all occurrences of NXD with your Company's ID (used for namespacing)
  2. Rename mod_blueprint.xml to your module name (e.g. mod_example.xml)
  3. Rename the Language File language/en-GB/en-GB.mod_blueprint.ini to your module name (e.g. en-GB.mod_example.ini)
  4. Rename the Language File language/en-GB/en-GB.mod_blueprint.sys.ini to your module name (e.g. en-GB.mod_example.sys.ini)
  5. Rename the Helper File src/Helper/BluePrintHelper.php to your module name (e.g. src/Helper/ExampleHelper.php)
  6. Rename the Media Folder media/mod_blueprint to your module name (e.g. media/mod_example)

Build your Module

After the setup has been done you are good to go and can modifiy the module to your needs. Go ahead and do your thing!

Deployment

Deployment via Composer

not yet available

Manual Deployment

  • Delete composer.json, composer.lock, the vendor and .git folder as they are not needed for the module
  • Zip the module and install it via Joomla! Extension Manager

joomla-blueprint-example-module's People

Contributors

marcorensch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

carlitorweb

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.