To test the technologies around making text fun, I am using a fictional world, Haven, whose story happens in the Eastern Europe during Dracula's time. Many history making things happened then, for example the fall of Constantinopole and the mighty feats of heroism and courage to stop the Ottoman empire from taking over the Western world.
There is too much to say and a timeline would present all these details at a glance.
There is a great javascript timeline component, called SIMILE, from http://www.simile-widgets.org/. It is easily integrated in Joomla via a content plugin called ws_timeline : http://www.schermann.org/index.php/joomla-plugins/timeline-beispiel
To include the Dracula timeline on a Joomla we need to create an article and add the plugin specific markup:
{wstimeline}We need also to provide the events file, dracula.xml
file=static_pages/dracula.xml;popup=320x220;time=1458;height=200px;width=490px;band=80%;unit=YEAR;unitwidth=35;band=20%;unit=DECADE;unitwidth=35;overview=true;highlight=true
{/wstimeline}
<data wiki-url="http://www.mudsings.com/" wiki-section="Vlad the Impaler Timeline">Here is how the timeline article looks like on mu{d}sings:
<event start="Dec 5 1431 00:00:00 GMT" title="Vlad born">
Vlad the Impaler was born in November or December 1431.
</event>
<event start="Nov 5 1436 00:00:00 GMT" title="Vlad enters the Dragon Order">
In 1436 Vlad Dracul induces his 5 years old son into the order of the Dragon.
</event>
<event start="Dec 5 1449 00:00:00 GMT" title="Vlad arrives at Suceava">
After an unsuccessful attempt to seize the Valachian trone, Vlad the Impaler travels to his uncle's court in Moldavia.
</event>
<event start="Jan 7 1451 00:00:00 GMT" title="Envoy to Mehmed">
Vladislav II Danesti sends a boyar as his envoy to the Otoman court, to tighten the ties with Mehmed II.
</event>
</data>
The timeline component has a very nice "buble" feature, where we can add additional information about the event. The bubble can have a link to a more lenghty article and discussion about the event.
The location of the article is configured via the wiki-url and wiki-section in the xml file. We can imagine the wiki-url as the www.mudsings.com website and the wiki-section as the category for all the related articles.
There is a slight problem though: joomla default urls are ugly: www.mudsings.com/index.php?option=com_content.... and so on.
To solve this issue and be able to find the articles from the Discuss link, we need to activate the SEO feature of Joomla, which produces prettier URLs. Well, "That's okay, I knew this would happen But I was hopin' not today" :) .
To enable SEO friendly URL on Joomla we have to rename the htacess in the distribution to .htaccess. Mudsings is on iPage, on a LAMP account, so no problem here. Also we need to enable the SEO configuration via the control panel:
We have now another surprise: Joomla actually adds the article id to the URL:
http://www.mudsings.com/vlad-the-impaler-timeline/251-saxon-settlers-impaled
Ugly! The answer is in this forum post: http://ideas.joomla.org/forums/84261-joomla-idea-pool/suggestions/1235453-sef-urls-without-article-id-numbers
Add the below code in the end of "articles" fieldset (file: administrator/components/com/content/config.xml):
<field name="sef_advanced_link" type="radio" default="1" label="SefAdvancedMode" description="Remove Item ID from Content URL?">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
Go to the Article Manager, open options and save. The article ID is gone !
Here is how the URL looks like now. Pretty, isn't it?
What is left to be done now is to configure the wiki-url and the wiki-section. Here we run into yet another problem:
SIMILE source code is tailord for MediaWiki. I didn't feel like installing and managing MediaWiki when Joomla offers a very nice content manager with a good discussion integration on the Kunena Forums.
Media Wiki replaces the spaces in the article name with underline while Joomla uses the dash. Fustian ! A little poking around in ten plugin's source code reveled where the underline is. Let's replace it with the dash and we can test !
Now... what else do you know about Dracula ?
























