« | Main | Safari == memory hog? »

Long time, no blog - grand opening of panagenda's Blog

by florian vogler ::  | 
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:

  1. Open the Agent "(AJAX Calendar)|Agnt_AJAX_Calendar" in Domino Designer.
  2. Open Sub "RenderCalendarHeader"
  3. 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>
  4. Open Sub "RenderCalendarDates"
  5. Line #59 reads
    intStart = intDayWeekDay - intDayDate Mod 7 + 1
    Change this line to
    intStart = 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

In the next public version of the BlogSphere template there will be an option to set the start day of the week to either Sunday or Monday in the Blog translation documents.
This way each visitor will get the correct start day depending on their browser locale settings.

 

Post a comment

 

Search

 

Calendar

Tag cloud