View Single Post
Old February 23rd, 2012, 07:51 AM   #1 (permalink)
mike b
Junior Member
Verified Customer
 
Join Date: Mar 2007
Location: Plymouth, UK
Posts: 20
Calender table help

I have just upgraded our PhotoPost Pro to the latest version 8 and all went well apart from if i show the Posting Calender in the sidebar the calender do not show correctly it is off to the right and not lining up. (pic below). All other boxes shows fine.

We are using the blue theme and i have tried others but only the black theme shows it correctly.

The Calpal template is below, any ideas how to fix this?


Quote:
<?php

// Using today's date we get the current month
$todayis = getdate();

echo<<<PPPRINT
<!-- BEGIN TEMPLATE: calpal.tmpl -->
$ppopen
<tr>
<td width="100%" align="center">
<div style="font-size:10pt; text-align:left;">Posting Calender</div>
<div class="catmenu">
<ul>
<li id="calendar">
<div id="cal">
$ppopenside
PPPRINT;

// And now we print the calendar
echo gen_cal( $todayis['mon'], $todayis['year'] );

echo<<<PPPRINT
$ppcloseside
</div>
</li></ul></div><div style="padding:5px"></div>
</td>
</tr>
$ppclose
PPPRINT;

?>
Attached Images
File Type: jpg Capture.JPG (43.9 KB, 4 views)
mike b is offline   Reply With Quote