Dave Burke : Freelance .NET Web Developer specializing in Online Communities

More on Custom Page Styling in ScrewTurn Wiki

In our last episode we walked through the process of creating Namespaces in ScrewTurn Wiki, selected a theme and as a bonus, demonstrated how to fine-tune page elements to duplicate the page styles across all ScrewTurn namespaces. Today we're going to replace the fine-tuning process of editing ScrewTurn /wiki/public/*.cs content files with the Content Editing feature already built-in to ScrewTurn Wiki.

This post is yet another demonstration of why blogging is important to get things right. As has happened to me before over the last 6 years of blogging, I write about an application or process and someone shows me how we can do it better. In this case, The Man Himself and author of ScrewTurn Wiki, Dario Solera, filled me in on the Content Editing Administration feature which automates the page element duplication process I described doing in NotePad. Thanks, Dario!

If you may recall, below are the page element files created in the ScrewTurn public directory, at which point I previously advocated manually editing them to duplicate the root namespace elements. 

Skip ahead to Present Day and ScrewTurn Wiki Administration where we see the Content Editing tab, which will automate the page element update process for us. We want the page elements of our new "Sueetie Insiders" namespace to duplicate the style of those in the root namespace, so we select our SueetieInsider namespace as shown below and click on any of the many available page elements to update.

Now we select a namespace to copy from the root namespace and we're done. But before we finish the job we want to take a look at the new namespace page element markup for namespace-specific links and other useful namespace elements.  In this case we see in lines 2 and 3 that the main navigation link returns us to the Namespace Main Page as it should, but there's also a helpful [++MainPage|Main Page (root)] link.  We want to keep that, so we'll paste that in to the copied root element content markup before moving on.

Comments (1) | Post RSS RSS comment feed

Posted on 4/29/2010 6:55:43 AM by Dave Burke
Categories: Sueetie | ScrewTurn Wiki
Tags: , ,

Related posts

Comments

4/30/2010 8:49:42 AM Permalink

Pingback from topsy.com

Twitter Trackbacks for
        
        Dave Burke - More on Custom Page Styling in ScrewTurn Wiki
        [dbvt.com]
        on Topsy.com

topsy.com |

Comments are closed

This site was built with the Sueetie .NET Online Community Framework. Learn more about Sueetie at Sueetie.com.