Show Changes Show Changes
Edit Edit
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Administration Page Administration Page
Search

History

1/24/2008 7:34:14 AM
FLWCOM-jwdavidson
10/4/2007 8:54:26 PM
-82.148.98.34
12/26/2006 6:57:53 PM
-24.60.224.159
12/26/2006 6:56:40 PM
-24.60.224.159
12/26/2006 6:56:29 PM
-24.60.224.159
List all versions List all versions

RSS feed for the FlexWiki namespace

Creating Dynamic Topics
.

How to create dynamically sorted topics.

Owner

Let’s suppose you have many different types of topics to create inside. You want to be able to access these topics and have them sorted in several different ways. First: Begin organizing what categories you will need sorted.

Here are some ideas:

Issues Authored By:
DynamicExampleAaronSachs DynamicExampleBillClinton DynamicExampleChrisMoore
Types of Issues
DynamicExampleDesktop DynamicExampleServer DynamicExampleNetwork
Application
DynamicExampleHardware DynamicExampleMicrosoftOffice

Once you have decided on the general categories that you need, you can begin creating topics.

Create your new topic by single-clicking on the blue title of your namespace. Type in the title of the page you want to create (Make sure to use PascalCase formatting). Paste the following info into the top of your new topic (customized first of course):

hh

 Issue: Desktopexample
 Application: Officeexample
 Author: Aaronsachsexample
 Summary: A brief explanation of the Prob/Solution
 Zxczxc Dsfsdf

hh

After these tags have been entered, you can type in the body of your page (the actual info that you want to communicate). You must create these kind of tags if you want your page to be sorted dynamically. (please note- for the "Author:", and "Issue:", etc to be hidden... just put a colon ":" in front of it, like ":Author:" )

 Spaced

Here is an example topic that i created: DynamicExampleDellFanReplace

Now look inside the three topics: DynamicExampleAaronSachs, DynamicExampleDesktop, DynamicExampleHardware. You will find that the DynamicExampleDellFanReplace topic has been sorted into all three indexes!

The code inside of each of the Indexes is slightly different. In the DynamicExampleAaronSachs page, you will notice that the page follows this logic: Look for the "Author" tag, and if it equals "Aaronsachsexample", then spit the requested info out in a table format.

To learn more, open up each of pages and look at the code.

You're all Done!!!

Blah

Advanced Dynamic Sorting:

To take this idea one step forward, this method will allow each of the "Issues Authored By:", "Types of Issues:", and "Application:" type of topics to get their code from the same location... You could create one Topic and have all of your code stored there. Ultimately, this will save you time in the long run. Let’s pick some more topics that we want to have sorted:

Issues Authored By:
DynamicExampleElvisPresley DynamicExampleKeithGifford DynamicExampleGeorgeBush
Types of Issues
DynamicExamplePhone DynamicExampleClient
Application
DynamicExampleNortel DynamicExampleInternetExplorer DynamicExampleAdobeAcrobat

.

Here is where I have stored all of my code for these sortable topics: CreatingDynamicTopicsFunctionExample

Inside each of the above topics that we want sorted; you will need code similar to this:

 :With:CreatingDynamicTopicsFunctionExample
 @@Topics_by_author("Elvispresleyexample")@@
With

In the above code, you will notice that the page follows this logic: Use the topic "CreatingDynamicTopicFunctionExample" and inside that page use the item called "Topics_by_author", and pull all of the topics with the variable of "Elvispresleyexample", then spit the info out in a table format.

To let you see how topics get sorted, i created a topic called DynamicExamplePhoneReset

You will now see that the one topic, got sorted dynamically, using the Function Topic, into all three categories: DynamicExampleElvisPresley, DynamicExamplePhone, and DynamicExampleNortel. This is especially helpful when you are building large indexes with lots of different topics. Perhaps you want to change the way a table looks? No problem, all the code is in one place now!!!!

Have fun!!!!

- AaronSachs

Comments

Take a look at an advanced example from PeterProvost.

Not logged in. Log in

Welcome to the home of FlexWiki, an experimental collaboration tool, based on WikiWiki.

This is FlexWiki, an open source wiki engine.

This site supports the new NoFollow anti-spam initiative.
Change Style

Recent Topics