Changelog 1.4
Table of Contents
- New export pop-up menu: $bpBkgOpt
- Improved: #id anchor ID string constructor
- Styles Dash: added static/fixed toggle to Navbar Widget
- Styles Dash: added bold and text shadow controls to Banner Widget
- Styles Dash: added border control to Sidebar Widget
- Styles Dash: added h1–h6 color control to PostTitle Widget
- Styles Dash: added CARD color, border, and shadow controls to PostBody Widget
- Styles Dash: added background color control to Body Widget
- Set and change themes from Finder using Theme Folders
- $blogExport changed to $blogExpOpt
- Automatic column adjustment
- All new features added to Theme and Restore buttons
New export pop-up menu: $bpBkgOpt
- CARD—Posts can be exported as floating cards. This is especially attractive for the Categories and home pages, which contain lists of truncated posts. But it can also look quite nice applied to entire posts.
- BKG-TEXTURE—If a post or category has the BKG-TEXTURE export option, it will display BodyTexture.png as its scrolling background. This is overridden in case its parent category, or the post itself, (1) has its
$bpBkgImageset and (2) its$bpBkgOptcontains BKG-BEQUEATH. Self overrides category, and category overrides default. To have a post use its own texture, set its$bpBkgTextureto a file in your default Theme Folder. - BKG-IMAGE—If a post or category has the BKG-IMAGE export option, it will display BodyImage.png as its fixed background. To have a post use its own background image, set its
$bpBkgImageto a file in your Parent Theme folder. - BKG-BEQUEATH—To have a category pass its texture of its child posts, add BKG-BEQUEATH to
$blogExpOpt. Child posts will not need their$blogExpOptto be set to BKG-TEXTURE. (Note: This does not also pass the category’s background color.) - BKG-FIXED—To fix the background texture (keep it from scrolling) add BKG-FIXED to
$blogExpOpt. - BKG-COLOR—To set the background color add BKG-COLOR to
$blogExpOpt.
Improved: #id anchor ID string constructor
Removes “/” and “.”—chars that hang Javascript processing needed for adjusting scroll for the new fixed navbar.
Styles Dash: added static/fixed toggle to Navbar Widget
Open the navigation bar (dashNavbar) to change the color of your actual navigation bar and to set its nature as either static or fixed. (A static navbar scrolls with the rest of the page, up and away. A fixed navbar stays on top.) By default the navbar is static. To make it fixed, hit ⌘5 and set its $Sticky to true.
Spent two hours learning that the new navbar.js needs to load after the Bootstrap one. But now the scrolling properly adjusts to compenste for the fixed navbar.
Styles Dash: added bold and text shadow controls to Banner Widget
To turn on text-shadow for you blog title, set $ShadowDistance to some positive number. (We can’t use the $Shadow checkbox here since that would give the Banner a shadow in our dashboard.)
Styles Dash: added border control to Sidebar Widget
Control the border color for the About and Categories sidebars.
Styles Dash: added h1–h6 color control to PostTitle Widget
Use dashPostTitle to set the $NameColor for all headings.
Styles Dash: added CARD color, border, and shadow controls to PostBody Widget
You can now use dashPostBody to set the color, border, and shadow for floating CARD posts.
Styles Dash: added background color control to Body Widget
To specify the default optional non-white background color, open the large background adornment (the white rectangle that contains everything) and set its $Color to anything other than #fff. Doing this does not activate the background color, it only sets it.
Doing this sets the default background color. You can override this by setting $bpBkgColor of the prototype, category, or post you want to affect.
To activate the non-white background color, add BKG-COLOR to the $blogExpOpt of the prototype, category, or notes you want affected. Doing this will also make other changes:
- the main column of your blog will become lightly bordered,
- the main column will receive a 15px padding, and
- the opacity of posts will drop to 90%.
Set and change themes from Finder using Theme Folders
Give your blog a repeating background image is easy. In your img folder you will find a folder called BoxPressThemes. Inside of this are various Theme Folders.
The BoxPress Theme Folders system is simple: each theme folder has the same five filenames:
BannerImage.png BannerTexture.png BodyImage.png BodyTexture.png FooterImage.png
To make a new theme, just make a new folder and create (or add) five image files with these same names. These will be automatically implemented in your export when that Theme Folder is entered into the Styles Dash.
$blogExport changed to $blogExpOpt
To create a consistent syntax as other $blog___Opt features become available.
Automatic column adjustment
BoxPress knows when a background has been applied and adds adjusts the export as follows:
- the main column of your blog will become lightly bordered,
- the main column will receive a 15px padding, and
- the opacity of posts will drop to 90%.
All new features added to Theme and Restore buttons
These new features are saveable in your Theme and Restore buttons.