Welcome

BoltWire is a content management system developed by Dan Vis.

Welcome Tour
Documentation
Mailing List



Popular Posts

Version 5.11 Released
May 26, 2016

Big Changes Coming Soon...
April 28, 2016

Catching Up
April 6, 2016



Other Sites

Here's some other sites by Dan Vis:

Alexa Echoes
Join my adventures developing for Amazons exciting new voice platform.

Firefly Spot
Personal rambling about new gadgets, technology news, and space travel.

FAST Missions
My ministry hub, with news and updates about our online school.

You can follow him at www.danvis.info.

Settings

Documentation > Concepts > Settings

There is a special page in your site called code.settings, that contains important info vars used by your site. Here's how it works.

The code.settings page allows you to define sitewide variables that work like system variable, except they have the added advantage that they can be easily inserted in your skin or style sheets. The site title, and slogan above are both defined in this page. To edit them, go to your setting page and try updating the values there. Your site will be instantly updated.

Because they can be inserted into skins and style sheets you can do things like change colors on your site. Some skins may permit different options, like switching the menu from right to left, or allowing you to pick your own fonts. Try experimenting with different colors to see how it owrks.

You may also wish to define a site variable like mymail or myaddress (use <br> for a line break), then put {+mymail} and {+myaddress} anywhere you want to in your site. Should either of these change, simply update the setting, and your entire site is updated instantly.

You can also put code snippets on this page as well. You will notice the default distribution comes with search, login, and actions included. Put {search} on a page (or in your skin) to insert a search bar wherever you want. Put {login} for simple login and logout options. And the action bar across the top of the page is found here also. Feel free to modify these to suit your needs.

You can put anything you want into code.settings, as long as there is not a line break. Javascript is escaped.

Setting Prefixes

It is possible to dynamically modify the setting used by setting a $BOLTcssPrefix value in your config file or a plugin. If set to "test" for example, BoltWire will replace {color} with test_color if it can find it, and then color secondarily (on code.settings). This allows you to change multiple css values in one step.

To leave a comment, please login using your Facebook account: