Loading...
 

Dot Plugin Alias (version 0.1dev)

Dot Plugin Alias creates a custom Plugin Alias for producing CSS styled dots using a wiki syntax.


Known Issues & Limitations

  • There are currently no known issues or limitations


Installation & Update

If you do an update please do not forget to unassign the previous version of the profile module in Modules, otherwise you will end up with multiple versions of the module applied.

By hitting the Apply Now button on Control PanelsProfiles control panel (or Forget and Re-apply if you want to do an update) the following YAML code will be applied:

YAML
objects:
 -
  type: plugin_alias
  ref: dot
  data:
   name: dot
   implementation: div
   description:
    name: Dot
    description: Creates Dot plugin alias of plugin Div
    params:
     class:
      name: Class
      default: dot-before
      description: Class to be used
      required: true
   params:
    class: dot-before
   body:
    input: use
 -
  type: module
  data:
   name: Dot Plugin Alias CSS 0.1dev
   position: bottom
   order: 1
   params:
    nobox: y
   custom: | {literal}<style>
span.dot-before::before {
	content: "";
	width: 1rem;
	height: 1rem;
	display: inline-flex;
	background-color: white;
	border-radius: 9rem;
	margin-left: .5rem;
	margin-right: .5rem;
}
</style>{/literal}


Usage

This profile creates a custom "Dot Plugin Alias" and "Dot Plugin Alias CSS" module containing the corresponding style for the class used in it.
So after applying the profile instead of writing:
{DIV(class=dot-before type=span)}...{DIV}


You can now use:
{DOT()}...{DOT} or just {dot}


Uninstall

Manually

Go to your Admin Settings Control Panels → Editing and Plugins → Plugin Aliases tab and delete the Dot plugin alias from there.
Then just unassign and delete the module on the Admin → Modules page.

Profile Rollback

(since Tiki 20.x)
Go to tiki-syslog.php and click the "Revert" button next to the profile applied log message.