All Blog Pages Today is Wednesday 23 July
Welcome to my demo blog! Creating new blog entries is password protected. Normally you would hide the newpagebox above from visitors.
Recent Posts:
Fixflow Major Update
I just released a major update for FixFlowSkin: Cookbook:FixFlowSkin
The main points of this update:
- Major rewrite of skin core (the look remains the same).
- New improved load order for css files.
- Support for pmwiki-core.css file.
- Reduced code in page head and body.
- New improved technique for IE5 and IE6 to simulate fixed sidebar with just one css file for IE.
- IE7 support.
- Css code tidy up, fixflow.zip is 7KB smaller with improved functionality and no loss of styles.
- Sidebar width can be set with variable.
FixFlow is a skin designed without tables for layout, using divs and css instead.
Main points about FixFlow:
- Wide cross-platform browser support
- Sidebar either left or right, switchable.
- Sidebar either fixed in position or scrolling with content, switchable.
- Optional RightBar page, for inclusion site-wide, group-wide or for specific pages.
- Many colour and font schemes, switchable.
- Highly customisable action menus in top and foot, as well as header and footer, via wiki pages.
- Instant page printing with use of print style sheet.
- Easy font sizing for visually impaired users.
- Special edit form with popup preview pane, no downscrolling needed to view the preview.
- Custom markup to hide various page parts easily, like header, action menus, rightbar, sidebar, footer, even the grouplink in the titlebar and the title itself.
- Lots of variables for changing default settings from within local customisation files like config.php
Your comments, queries and questions are most welcome!
Hans
Triad Update
Another update. This time I added a cookie setting and reading routine to Triad for the toggling of the Sidebar and Rightbar. Now the toggle state will be remebered when reloading apage or visiting other pages. someone did ask for this a while back, but I cannot remember any more who asked or where the question was asked. I thought then that it may not be very useful, as one will not see the bars when navigating, but I changed my mind. In any case this feature can be disabled by setting $EnableToggleCookies = 0;.
~Hans
Skin Updates
I updated all three skins: Gemini, FixFlow and Triad as well as Cookbook:ShowHide.
These updates fix a few bugs:
- The latest Cookbook:ShowHide script can now be installed without causing a fatal error (it needed to be deinstalled before, because the skins include their own version, now they will not load it and use the installed version instead).
- Fixflow and Gemini can now also use lnav and rnav divs, as Triad does, to give a topmenu with items both left and right. Use
>>lnav<<and>>rnav<<to group the list items (same as Triad, so the PageTopMenu can work for all three without conditionals. - The cookie settings have been improved, as there was a confusion of cookie naming. Now the skins create cookies for optional color, font etc settings with a skin-specific name and won't confuse each other any longer. The fontsizer cookie is shared by all three. A cookie set by javascript to indicate for php that javascript is enabled is now improved and does not appear in multiple ways any longer.
~Hans
Blog Bundle Update
After long here is an update. Download blogsimple.zipΔ. This latest update fixes a few things:
- In BlogPages.GroupFooter the link to new BlogComments page is changed to use ?action=browse, so it does not appear with a questionmark pointing to edit the new page.
- In BlogComments.GroupFooter the form based on
(:input:)markup is replaced with(:commentboxchrono:). This will make it easier to use acces codes. - The README.txt has been revised.
- The bundle also contains the latest newpageboxplus.php and commentboxplus.php scripts.
The latest Cookbook:CommentBoxPlus script allows use of Access Codes. If you use a custom build form to enter comment, using (:input:) markup (as distributed up till now) and want to use Access Codes, then you need to modify your form, or replace it with (:commentboxchrono:) in BlogComments.GroupFooter. A modified version with Access Code may look like this:
[[<<]](:title {$BlogTitle}:)
>>left<<[[#commentbox]]
(:input form name=cboxform action={$PageUrl} method=post:)
(:input hidden n {$FullName}:)
(:input hidden action comment:)
(:input hidden accesscode {$AccessCode}:)
(:input hidden order chrono:)'''Add Comment:'''[[<<]]
(:input textarea text rows=7 cols=50 class=inputtext:)[[<<]]
Author: (:input text author {$Author} class='inputbox':)
Enter code %red%'''{$AccessCode}'''%%
(:input text access size='4' maxlength='3' class=inputbox:)\
(:input submit post Post class='inputbutton':)\
(:input reset reset Reset class='inputbutton':)(:input end:)
>><<
----
Back to [[BlogPages/{$Name}|{$BlogTitle}]]\
-- [[Blog.Blog| Blog Home Page]]
~Hans
Triad Skin Update
Finally I added a number of color schemes to the Triad skin, and made a major upgrade. The skin now also uses popup preview in edit mode, has loads of configurable settings, all enabled to be set from config.php or other local customisation files.
See Wiki.TriadSkin
Blog Bundle Update
The newest blogsimple.zipΔ is now updated with all the recent changes to the comments functionality: comments have numbered anchors (affects all new comments, not existing ones. Existing comments need to have anchors added manually if this is needed). The Add Comment link in the blog list opens the page at the comment box, and links to recent comments open the page at the comment. Comments are counted as well (see CommentsCounter).
Comments Counter
The comments on each page can be counted now. I added a page variable {$PostCount} to commentboxstyled.php. This will show the number of posts (comments, messages) on the page, by counting the number of occurences of the >>messagehead<< string in the page. Thanks to DaveG for the counting function! I used it also in the main blog list, adding it to the blog list template (Blog.BlogListTemplates#blog) using the extended version {BlogComments.{=$Name}$PostCount}. And I used it for the forum topic list to show the number of posts for each topic.
Blog Feeds
I did not realise it untill now, but apparently it is possible to add pagelist parmeters to ?action=rss, which will make for a nice blog rss or atom output. For instance like:
.../pmwiki.php?action=rss&group=BlogPages&list=blog&order=-ctime&count=50
To test use this link: rss blog feed
So now I added feed links to all blog pages, so visitors with browsers like Firefox can click the rss feed symbol and add the blog pages to their bookmarks easily.
Blog Groups
I changed the group structure for the blog by adding seperate groups for Blog Archive ? and Blog Categories?, taking these pages out from group Blog?. This looks better in the relevant page titles and should be better to administer. The change affected loads of pages, and i updated the blogsimple.zipΔ file.
I also simplified the installation from the zip file by bundling everything into one directory, instead of splitting it into a pagestore in pub/ and the cookbook script.
Anyone updating this way should be aware to make changes to various pages, or remove configuration pages in group Blog first, and let the blog load fresh config pages from the new pagestore in cookbook/blogsimple/wikilib.d/
Blog Bundle
I zipped all the bits and pieces of this blog setup into a bundle and uploaded it as blogsimple.zipΔ. It is meant to be an experimental release, and i am not sure how much it will be maintained, since pmwiki will deliver new blog tools, for a better blog bundle yet to come. See more at Cookbook:BlogSimple
~Hans
