Welcome to Geeklog, Anonymous Tuesday, October 15 2024 @ 12:36 pm EDT

Geeklog Forums

How to add front-end framework UIkit to your theme


Status: offline

ivy

Forum User
Full Member
Registered: 11/25/04
Posts: 314
Location:Tokyo Japan
1.download UIkit from http://getuikit.com/

2.upload /layout/(theme)/vendor/

3. edit header.thtml before {rel_links}

Text Formatted Code
<link rel="stylesheet" href="{layout_url}/vendor/uikit/css/uikit.css"{xhtml}>


4. edit footer.thtml after {plg_footercode}

Text Formatted Code
<script type="text/javascript" src="{layout_url}/vendor/uikit/js/uikit.js"></script>




e.g.
Text Formatted Code
<form class="uk-form"  ...
<div class="uk-grid" ...

very simple

--
http://www.ivysoho.net/article.php/geeklog-add-uikit
(Japanese)
Geeklog Japan https://www.geeklog.jp
 Quote

All times are EDT. The time is now 12:36 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content