Long time, no blog - grand opening of panagenda's Blog
by florian vogler :: blogging | Blogsphere Template
I have had significant difficulties to blog continuously in the past - this time shall be different - it just has to be different ...
Thanks to the fantastic Blogsphere template from OpenNTF, it only took me two days to get up and running with this blog. If I had been a little more careful, I would have been up and running yesterday already, but unfortunately ...
Tip of the day: Don't delete all documents from the "Debug\All Documents"-view in your blogsphere database
During initial setup and after having done quite some adjustments to the configuration, templates and skins, I did some debugging to better understand the internals of Blogsphere's design. As soon as I didn't need debugging any more, I wanted to delete all of the logging documents created during debugging. I thought the "Debug\All Documents"-View only contained all debug related documents. Unfortunately, the view shows all documents in the database ... back to square one. Several hours of work ... lost.
Tip #2: Adjusting the AJAX calendar in the blogsphere design to start on Monday
Whilst digging through the Calendar Agent, I too, wanted to have the Calendar start on a Monday rather than the templates default Sunday. Here is how you can easily adjust the design to achieve this:
That's it.
p.s. Thanks to vowe for extensively inspiring the design of and wording on this blog
(I hope you do not perceive this as an insult to your design);
the VLocate tip was very helpful, too, although I am wondering how vowe manages to add the small .gif-image rendering of the VLocate map to his blog ... <sigh />
p.p.s. somehow, logging into OpenNTF doesn't work with Safari or the other way around - does anyone know why?
Thanks to the fantastic Blogsphere template from OpenNTF, it only took me two days to get up and running with this blog. If I had been a little more careful, I would have been up and running yesterday already, but unfortunately ...
Tip of the day: Don't delete all documents from the "Debug\All Documents"-view in your blogsphere database
During initial setup and after having done quite some adjustments to the configuration, templates and skins, I did some debugging to better understand the internals of Blogsphere's design. As soon as I didn't need debugging any more, I wanted to delete all of the logging documents created during debugging. I thought the "Debug\All Documents"-View only contained all debug related documents. Unfortunately, the view shows all documents in the database ... back to square one. Several hours of work ... lost.
Tip #2: Adjusting the AJAX calendar in the blogsphere design to start on Monday
Whilst digging through the Calendar Agent, I too, wanted to have the Calendar start on a Monday rather than the templates default Sunday. Here is how you can easily adjust the design to achieve this:
- Open the Agent "(AJAX Calendar)|Agnt_AJAX_Calendar" in Domino Designer.
- Open Sub "RenderCalendarHeader"
- The lines in between the two Print <tr> / </tr> statements are sorted by day 2,3,4,5,6,7,1; move the last line to the top, so that the result is Print <tr> day 1,2,3,4,5,6,7 Print </tr>
- Open Sub "RenderCalendarDates"
- Line #59 reads
intStart = intDayWeekDay - intDayDate Mod 7 + 1
Change this line tointStart = intDayWeekDay - intDayDate Mod 7
(= remove the "+ 1")
That's it.
p.s. Thanks to vowe for extensively inspiring the design of and wording on this blog
(I hope you do not perceive this as an insult to your design);
the VLocate tip was very helpful, too, although I am wondering how vowe manages to add the small .gif-image rendering of the VLocate map to his blog ... <sigh />
p.p.s. somehow, logging into OpenNTF doesn't work with Safari or the other way around - does anyone know why?
Comments
This way each visitor will get the correct start day depending on their browser locale settings.
Jens Polster, 2008-04-12 11:32