Show the Lunar Day in Calendar
-

Install:
1. Import the product-bmwLunarCal.xml
2. Upload file functions_calendar.lunar.php to ./includes/ folder.
3. Perform the following template edits. (2 templates in CALENDAR Templates)
-- calendar_monthly_day
-- calendar_monthly_day_other

4. Add .lunar ==> Additional CSS Definitions

Kod:
.lunar{
     float: right;
    display: inline; /*fixes IE float bug*/
    text-align: right;
    font-size:7pt; //Change font-size
    font-weight:normal;
    color:#CCCCCC; //Change color
    width:100%;
}
Templates Edit:
Template Edit 1: calendar_monthly_day
- FIND

Kod:
   <div class="thead">

            <span style="float:$stylevar[right]">
                <if condition="$show['daylink']">
                    <a href="calendar.php?$session[sessionurl]do=getinfo&amp;day=$year-$month-$day&amp;c=$calendarid">$day</a>
                <else />
                    $day
                </if>
            </span>
            $dayname
        </div>
- BELOW ADD
Kod:
  <!-- bmwLunarCal -->
            <if condition="$vboptions[bmwLunarCal_status]">
                <span class=lunar>$al[0]/$al[1]</span>
            </if>
        <!-- End - bmwLunarCal -->
Template Edit 2: calendar_monthly_day_other
- FIND
Kod:
<div class="thead">
        <span style="float:$stylevar[right]">$otherday$day</span>
        $otherdayname$dayname
    </div>
- BELOW ADD

Kod:
<!-- bmwLunarCal -->
            <if condition="$vboptions[bmwLunarCal_status]">
                <span class=lunar>$al[0]/$al[1]</span>
            </if>
        <!-- End - bmwLunarCal -->
You are done.

Please remember to click install if you have used this.
Support will only be given to those who click install.