bmw Lunar Calendar - Show Lunar Day in Calendar
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 Code:
.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%;} Template Edit 1: calendar_monthly_day - FIND Code:
<div class="thead"> <span style="float:$stylevar[right]"> <if condition="$show['daylink']"> <a href="calendar.php?$session[sessionurl]do=getinfo&day=$year-$month-$day&c=$calendarid">$day</a> <else /> $day </if> </span> $dayname </div> Code:
<!-- bmwLunarCal --> <if condition="$vboptions[bmwLunarCal_status]"> <span class=lunar>$al[0]/$al[1]</span> </if> <!-- End - bmwLunarCal --> - FIND Code:
<div class="thead"> <span style="float:$stylevar[right]">$otherday$day</span> $otherdayname$dayname </div> Code:
<!-- 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. Download
vbLunarCal.zip (5.1 KB, 54 downloads) Screenshots |