Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Spheerys
Last active December 7, 2023 09:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Spheerys/8edac10ee6e1fafb5afcd3e535908fcd to your computer and use it in GitHub Desktop.
Save Spheerys/8edac10ee6e1fafb5afcd3e535908fcd to your computer and use it in GitHub Desktop.
Quick and dirty "Quickstart Buttons" remplacement for MODX3, by using a widget with html code.
<!--
Quick and dirty "Quickstart Buttons" remplacement for MODX3, by using a widget with html code.
For the available icons, look here : https://fontawesome.com/v5/search?o=r&m=free
Add stylisation with a plugin (see Zim Doc)
-->
<div class="CustomButtonsWidget">
<a href="./?a=resource/update&id=1">
<article>
<i class="fas fa-spa"></i>
<div>
<h3>First button</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
</article>
</a>
<a href="./?a=resource/update&id=2">
<article>
<i class="icon tree-context"></i>
<div>
<h3>Second button</h3>
<p>Lorem ipsum consectetur adipiscing elit, sed do eiusmod <br />
tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
</article>
</a>
<a href="./?a=resource/update&id=3">
<article>
<i class="icon icon-sliders"></i>
<div>
<h3>Third button</h3>
<p>Tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
</article>
</a>
<a href="./?a=resource/update&id=4">
<article>
<i class="icon icon-gear"></i>
<div>
<h3>Fourth button</h3>
<p>Lorem tempor incididunt ut labore et dolore magna.</p>
</div>
</article>
</a>
</div>
@Spheerys
Copy link
Author

Spheerys commented Nov 9, 2022

CustomButtonsWidget

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment