<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[XorBin Forum - Made a snippet (add-on) of the widgets for MODx cms]]></title>
	<link rel="self" href="http://www.xorbin.com/forum/feed-atom-topic19.xml"/>
	<updated>2009-08-29T16:36:56Z</updated>
	<generator>PunBB</generator>
	<id>http://www.xorbin.com/forum/topic19-made-a-snippet-addon-of-the-widgets-for-modx-cms.html</id>
		<entry>
			<title type="html"><![CDATA[Made a snippet (add-on) of the widgets for MODx cms]]></title>
			<link rel="alternate" href="http://www.xorbin.com/forum/post77.html#p77"/>
			<content type="html"><![CDATA[First of all let me say the analog and digital clock widgets are awesome! Really glad I found these :)

As an enthousiastic user of the [url=http://modxcms.com]MODx cms[/url] I decided to make a snippet (kind of add-on) for this cms. I named the snippet Clox ;)

My goal was to include both widgets into one single snippet, which would give users much more flexibility. I also decided that the names of the parameters should stay the same, so users can easily reference to the information found on your site.

I only 'changed' the behavior of the parameter timeOffset. Instead of using seconds als a value, you can enter hours, for instance +1 (for GMT+1). The snippet itself calculates the seconds for you. For daylight saving times I also added the parameter dst, which can add an extra hour to timeOffset.

There are also several other parameters to make the snippet itself more flexible to use. I think the MODx community is gonna apreciate your widgets :)

When I'm done with the manual for the snippet, I intend to publish it in the MODx repository, so other users of this cms can also enjoy this. Of course a reference to your site will be included.

At this moment I have a demo page on my site, which can be found at [url]http://webenet.nl/cloxdemo.html[/url]

It's in Dutch, but it should give you an idea of what the possibilities of this snippet are.

Owww... I do have a small suggestion for your widgets. It would be nice, when widgetUrl is used, you could also add something like target=(_blank) and title='(some text)'.]]></content>
			<author>
				<name><![CDATA[WeBe]]></name>
				<uri>http://www.xorbin.com/forum/user34.html</uri>
			</author>
			<updated>2009-08-29T16:36:56Z</updated>
			<id>http://www.xorbin.com/forum/post77.html#p77</id>
		</entry>
</feed>
