I could be doing something wrong here, and it would not be the first time.
http://vsgroupdev.com/newchief/index.ph ... s-calendar
This is my site that I am currently working on. It's just a bunch of divs held together by bubble gum and ductape.
When I installed the list everything went fine. I have worked with the list before and had no problems. Although those sites used tables to hold themselves together.
The problem seems to be once I added my second event, it kicked the bottom menu out of place, and looks like it was not closed correctly so the list absorbed the bottom menu and pulled it out of place. I had to add divs to the bottom of the Blog-post-list template, 13 of them to be exact. I have added a picture as a sample.
I worry that my clients will have to add divs for each additional entry, and that is bad, nice people, no tech.
I tested my others pages thinking I didn't close everything but so far my code is fairly clean.
The CMS got installed April 12.
CMS: 1.10.3
CGCalendar 1.9.4
PHP: 5.1.14
LAMP
MYSQL: 5.0.92
I have all green checkboxes
I edited the template after I figured out that I had to add the divs to the bottom. I just removed the Next and Previous arrows to go to the past and next year.
My Current Code
Code: Select all
<div class="calendar-list" id="{$table_id}">
{if $compact_view neq 1}
<h1>Events Lising</h1>
{/if}
{foreach from=$events key=key item=event}
<div class="calendar-event">
<div class="listentryvs"><h2>{$event.event_title}</h2>
{assign var=month_number value=$event.event_date_start|date_format:"%m"}
{assign var=end_month_number value=$event.event_date_end|date_format:"%m"}
<div class="calendar-date-from"><span class="calendar-date-title">{$lang.date}: </span>{$event.event_date_start|date_format:"%e"} {$month_names[$month_number]} {$event.event_date_start|date_format:"%Y %H:%M"}
{if $event.event_summary !="" && ($detail != 1 || ($event.event_details =="" || $event.event_details == "<br />"))}
<div class="calendar-summary"><span class="calendar-summary-title">{$lang.summary}: </span>{$event.event_summary}</div>
{/if}
{if $detail == 1}
{if $event.event_details !="" && $event.event_details != "<br />"}
<div class="calendar-details"><span class="calendar-details-title">{$lang.details}: </span>{$event.event_details}</div>
{/if}
{else}
<a href="{$event.url}">{$moretext}</a>
{/if}
</div></div>
{/foreach}
{if $return_url != ""}
<div class="calendar-returnlink">{$return_url}</div>
{/if}
</div></div></div></div></div></div></div></div></div></div></div></div></div>
Thank you as always, and please let me know what I am doing wrong.