Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > Customizations (Themes / Templates)

Customizations (Themes / Templates) Help with customizing the themes and templates. Post your own custom themes for others to enjoy.

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next

Bug? - styling list format
Old 09-22-2010, 04:53 AM   #1
cepheid
Calendar User
 
cepheid is offline
Join Date: Apr 2007
Posts: 39
Default Bug? - styling list format

When displaying the calendar in list format, the categories get displayed without any possible customization... the script outputs them as follows:
Code:
    <td align="left" valign="top" bgcolor="#FFFDF2" class="tableTitle">EVENT TITLE <br>
    <span class="tableDescr"><div><strong>CAT_NAME:</strong> CAT_VALUE</div>DESCRIPTION TEXT</span></td>
As is hopefully obvious, the categories can't be styled - the container div has no class or identifier, and since the categories are output "automatically" (using the [categories] tag in the template file), the category listing cannot be styled independently of the event description.

The popup display (e.g. mouseover popups) do allow for proper styling of the category text:
Code:
<div class="popupEventTitle s243">EVENT TITLE </div><div class="categoryDiv"><span class="categoryName">CAT_NAME:</span> <span class="categorySelection">CAT_VALUE</span></div><div class="popupEventTime">X:00 PM</div><div class="popupEventDescription">DESCRIPTION TEXT</div>
It seems like the list format should follow the same display for categories, including giving the divs/spans proper classes so they can be properly styled.

Thus, I propose the following syntax for the list format, which would allow proper styling:
Code:
    <td align="left" valign="top" bgcolor="#FFFDF2" class="tableTitle"><div class="tableEventTitle">EVENT TITLE</div> <br>
    <div class="tableCategoryDiv"><span class="tableCategoryName">CAT_NAME:</span> <span class="tableCategorySelection">CAT_VALUE</span></div><span class="tableDescr">DESCRIPTION TEXT</span></td>
This proposed format would make the title AND category entries properly style-able in the list format, whereas they currently are not.

Thoughts?
 
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I adjust the Month / day format on event list absolutsth Customizations (Themes / Templates) 5 03-19-2007 04:52 PM
List mode date span format matthewgorlando Customizations (Themes / Templates) 7 08-01-2006 12:05 PM
List Mode, Time Format: Start time but not End time talesa Customizations (Themes / Templates) 1 03-24-2006 11:49 AM
Printing list format wink57 General Support 1 11-22-2005 09:25 PM
Events list bug? kim General Support 1 07-04-2005 01:24 PM



All times are GMT -4. The time now is 08:39 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |