Free-Conversant Support / sample pattern file
 Home   About Conversant   Free Sites   Hosting   Support   XML-RPC 

Search




Subject sample pattern file
Posted 7/1/2005; 6:07 PM by Seth Dillingham
In Response To (#Top of Thread.)
Label None. Read 527
<Previous Next> Thread: Forward chronological view Reverse chronological view Hierarchical outline view Edit Reply

I've attached a pattern file for a site designed by Bryan Bell, for Clark Venable. It's intended to be generic and simple, and fairly easy to customize.

The only page it includes is a Weblog II page as the site's home page. So, you'll want to apply to a site that already has the other pages.

When installing the pattern on your (test) site, install everything in the pattern. After it's done, you'll need to make a few tweaks:

  • The main page template assumes that message 1 holds your navbar. If that's not true, either edit the #navbar macro in the template, or update message 1.

  • The navbar message (see #1) should be a list of links wrapped with <li> tags (but without the <ul> tags), like this:

    <li><a href="something">Something</a></li>
    <li><a href="linking">Another</a></li>
    <li><a href="whatever">La la la</a></li>

    (The wizard will eventually be able to handle this kind of thing for you, but can't right now.)

  • Edit the Conversation Prefs (in the admin area). Click on "Discussion Group". Set the Message Edit Template to "msgEdit" and the Message View Template to "msgView". (Again, once the wizards know how to handle site preferences, you won't have to do this manually.)

  • (Added later...)
    Edit your Conversation's preferences in the admin area, go to the "Web Server" prefs, and then the "Member Links" tab.

    Once you're there, make the Member Links and Guest Links into lists. Something like this should be fine:

    For Guests:

    <h3>Guests</h3>
    <ul>
    <li><a href="<!--#signupURL-->">Sign Up</a></li>
    <li><a href="<!--#logonURL-->">Log On</a></li>
    </ul>

    For Members:

    <h3>Members</h3>
    <ul>
    <li>Logged in as:
    <br />
    <!--#memberName link="true"--></li>
    <li><a href="<!--#siteUrl-->members/settings/">Your Account</a></li>
    <li><a href="<!--#logoffURL-->">Log Off</a></li>
    </ul>

Any problems?

The one problem you *might* run into is that not every site is allowed to create a Weblog II page.

So here's a deal: if you want to test this pattern feature, I'll activate Weblog II for you if you don't already have it.

Seth

<Previous Next> Thread: Forward chronological view Reverse chronological view Hierarchical outline view Edit Reply
ENCLOSURES

BryanBell-Blue-20050701.xml (28K)
REPLIES

RE: sample pattern file
7/1/2005 by Seth Dillingham
Oops, sorry. That sample code for the navbar message came out all wrong. I've

RE: sample pattern file
7/1/2005 by Mark Morgan
Success! Nice looking theme, too.

Re: sample pattern file
7/1/2005 by Seth Dillingham
On 7/1/05, Seth Dillingham said: >Any problems? When I asked Greg to test out

Please Help Test a New Pattern
1/14/2006 by Seth Dillingham
There's going to be a "patterns contest" starting this month, with


TRACKBACKS



This site managed with Conversant, © Copyright 2010 Macrobyte Resources