Skip to content

bubi-luka/mod_customfields

Repository files navigation

Custom Fields Everywhere

Display custom fields of an Joomla article in a module.

Description

Installation

Save the archive (zip, tar.gz) of the latest module version to your computer or directlly on the server. Use Joomla! build in mechanism to extract and istall the module. Do not forget to activate it in order to use it. One version of the module will be already created in the Module section.

Usage

Use the WYSIWYG editor to enter the content you would like to be displayed in the module. In place you would like to use the content of the custom field you use the shortcode for the field. The shortcode is {field ID}. The ID is the id (number) of the custom field and can be found in the Administration Menu -> Content -> Fields -> Last column of the fields table.

Example: {field 11}

Warning: If there is no field with the given id, the shortcode will be displayed unchanged!

Roadmap

0.8

  • modal field has the option to use both the label and the data for custom fields,
  • editor field has modified shortcode to contain option to display the label or not,
  • module can parse the new shortcode and display label or not.

0.9

  • module conforts with user levels and on the frontend displays only the levels that are visible to this user <= might already be included with the Joomla! system

1.0.0

  • final release, nothing new

Change Log

0.7.0

  • J!4 changes the way images are stored in custom field, we have to adopt the module
  • fix bugs that were introduced due to the changes in J!4
  • add images to wiki articles
  • update Github actions and fix errors in them
  • calculate sha256, sha384 and sha512 checksums for zip archive and add that data to the server update file

0.6.1

  • ci fix: fix for workflow -> create release

0.6.0

  • feature: create automatic upgrade mechanisem for upgrading the extension with Joomla!
  • ci: add workflows for easier release management
  • fix: changes to comply with JED extensions checker
  • fix: modal windows again active on J!4

0.5.5

  • fix: when an article does not contain content for the requested field the script does no longer try to parse that field, fail and output error in nginx
  • erase joomla extension version parameter from mod_customfields.xml meta (comp. with Joomla!4)

0.5.0

  • module has a backend modal field,
  • this modal field has the content of all the custom fields,
  • user can with a click on a button select desired custom field and put the shortcode in the editor field,
  • fields can display all the characters properly.

0.4.0

  • module displays the list of available custom fields in the backend

0.3.0

  • module has a backend editor field, where users can enter the code to display in the frontend,
  • module can find the shortcode for the fields,
  • module can parse the shortcode for the fields,
  • module can display the content of the editor field with data from custom fields.

0.2.0

  • working module, but not really usable,
  • reading the database,
  • reading custom fields data,
  • manipulating custom fields data,
  • reading custom fields belonging to the article,
  • manipulating the stored input of the article,
  • displaying all the fields that are part of the article in the module.

0.1.0

  • initial release,
  • most of the file structure is in place,
  • no working code,
  • module is not usable.

About

Display custom fields of an Joomla article in a module.

Resources

License

Stars

Watchers

Forks

Packages

No packages published