https://github.com/philwareham/textpattern-hive-framework
A collection of Textpattern CMS website theme modules using Hive Framework as a scaffold.
https://github.com/philwareham/textpattern-hive-framework
textpattern-theme
Last synced: 10 days ago
JSON representation
A collection of Textpattern CMS website theme modules using Hive Framework as a scaffold.
- Host: GitHub
- URL: https://github.com/philwareham/textpattern-hive-framework
- Owner: philwareham
- License: gpl-2.0
- Created: 2020-09-16T13:54:52.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-28T05:03:06.000Z (14 days ago)
- Last Synced: 2025-04-28T06:22:11.554Z (14 days ago)
- Topics: textpattern-theme
- Language: JavaScript
- Homepage:
- Size: 7.31 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Hive website theme framework for Textpattern CMS
A collection of Textpattern CMS website theme modules using [Hive Framework](https://github.com/philwareham/hive-framework) as a scaffold. Requires Textpattern CMS version 4.8.5 or higher.
**Currently in development - not ready for production use yet!**
## Supported web browsers
* Chrome, Edge, Firefox, Safari and Opera the last two recent stable releases.
* Firefox ESR latest major point release.Older versions of the above and other browsers may work, but these are the ones we verify.
## Instructions/installation/help/etc
TODO
## Image categories
For some of the images modules, you will need to create image categories within Textpattern and assign to the images you want to appear in the module. As follows:
1. `gallery` category, for images that are to appear in `gallery--xxx` image modules types.
2. `logo-wall` category, for images that are to appear in `logo-wall--xxx` image modules types.## Shortcodes
Textpattern 4.7 introduced support for user-definable `` attributes (and also the short tags syntax ``), allowing for 'shortcodes' within articles and templates (**note:** remember to also use `notextile.` when these tags are used within Textile content).
This site uses the following tags:
### Image
To create a HTML5 image snippet:
`id` accepts either a single image ID, or comma separated image IDs if you want multiple images.
`class` is optional, for if you need to provide specific CSS class names for the image(s).
`dark-option` is optional (for a single image ID only), for if you need to provide an alternative image when website is in Dark Mode.
`set-width` and `set-height` are optional (for a single image ID), for if you need to provide explicit maximum dimensions (in pixels) for the image(s). Otherwise (when not set), images default to being fully responsive, expanding to fill their container, or up to 100% of their size—whichever is reached first (unless a class of `overstetch` is applied, in which case an image can expand beyond 100% if the container allows).
For example, comma separated image IDs:
For example, image with an alternative dark theme version and a set width and height in pixels:
### Video
To create a HTML5 video snippet:
`poster-url`, `name`, `description` and `duration-seconds` are optional, but should be provided if possible to provide valid Schema.org microdata. If not used, remove those attributes from your shortcode.
For example:
### File
To create a file download snippet:
`category` and `filename` are interchangeable (use one or the other, where appropriate)—if both are provided then `category` is used in preference and `filename` is ignored.
`primary-button` is optional. If set to `1`, this will render a more prominent button.
`large-button` is optional. If set to `1`, this will render a larger style button.
For example:
### Links
To create a link or list of links:
`id` accepts either a single link ID, or comma separated link IDs if you want multiple links listed.
`id` and `category` are interchangeable (use one or the other, where appropriate)—if both are provided then `id` is used in preference and `category` is ignored.
`class` is optional, for if you need to provide specific CSS class names for the link anchors(s). For example, `class="button"` would render any links in the style of a button.
`rel` is optional, for if you need to provide a [rel attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel) for the link anchors(s). For example, `rel="external"`.
`target` is optional, for if you need to provide a [target attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target) for the link anchors(s). For example, `target="_blank"`.
`referrerpolicy` is optional, for if you need to provide a [referrerpolicy attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#referrerpolicy) for the link anchors(s). For example, `referrerpolicy="no-referrer"`.
For example:
## License
Textpattern templates licensed under GPLv2 license. Hive Framework licensed under MIT license.