Date: Tue, 14 Jul 2026 04:16:57 %+0200
Mime-Version: 1.0 (Produced by Tiki)
Content-Type: application/x-tikiwiki;
  pagename=Dot%20Plugin%20Alias;
  flags="";
  author=luci;
  version=5;
  lastmodified=1639508696;
  author_id=78.80.16.43;
  summary="";
  hits=0;
  description="";
  charset=utf-8
Content-Transfer-Encoding: binary

{DIV(class="floatright pull-right")}__[https://profiles.luciash.eu/tiki-index_p.php?page=Profile+Details&itemId=5653|Profile Data Details|box]__{DIV}
!! Dot Plugin Alias (version 0.1dev)
''Dot Plugin Alias'' creates a custom Plugin Alias for producing CSS styled dots using a wiki syntax.

~tc~!! Screenshots
::{img featured="y" src="https://profiles.luciash.eu/display2" thumb="y" width="320" rel="box" title="How it looks like"}::
~/tc~
!! Known Issues & Limitations
* There are currently no known issues or limitations

~tc~!!- Fixed Issues
* --[https://profiles.luciash.eu/tiki-index_p.php?page=Profile Details&itemId=|Dot Plugin Alias does not do what expected]--
~/tc~
!! 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 Panels'' → ''Profiles'' control panel (or __Forget and Re-apply__ if you want to do an update) the following YAML code will be applied:

{CODE(caption="YAML" colors="yaml" ln="1")}
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}
{CODE}

!! 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:
{CODE(colors="tiki" theme="default")}{DIV(class=dot-before type=span)}...{DIV}
{CODE}

You can now use:
{CODE(colors="tiki" theme="default")}{DOT()}...{DOT} or just {dot}
{CODE}

!! Uninstall
!!! Manually
Go to your Admin Settings ''[tiki-admin.php?page=textarea&cookietab=3|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 ''[tiki-admin_modules.php|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.

