Events Made Easy › Forums › How do I … › Events list formatting (by month as table)
Tagged: events list
- This topic has 5 replies, 3 voices, and was last updated 13 years ago by Anonymous.
-
AuthorPosts
-
Thu 8 Sep 2011 at 20:08 #43498AnonymousInactive
Hi,
You’ve produced a really great plugin which is flexible. Thanks. I’ll vote it in every time! (great support too!)
Im having a bit of difficulty getting an events list to display the way I need it to.
I have a tag on a page to show a list sorted by month. I get something like this
<ul>
<li class="eme_period">month, year
<li>event 1</li>
<li>event 2</li>
<li>event 3</li>
<li class="eme_period">month, year
<li>event 4</li>
<li>event 5</li>
<li>event 6</li>
</ul>Good stuff. What i would really like to do now though is drop all of this into a table for better formatting but if I add tables through the event list header and event list main areas of the settings it adds the table after the month output. Something like this;
month, year
month, year
<li>event 1</li>
<li>event 2</li>
<li>event 3</li>
<li>event 4</li>
<li>event 5</li>
<li>event 6</li>How do i set this so it integrate the months into the table and each of the events?
Thanks,
Dave
Thu 8 Sep 2011 at 21:08 #48630FrankyKeymasterMy guess is that you’re better of creating the table in a normal page, and use the [events_list] shortcode per column, using the scope parameter (possible interesting values here are “this_month”,”next_month” and “Nm–Mm”). See http://www.e-dynamics.be/wordpress/?cat=18
And use the showperiod=monthly to show the month name as well.
Fri 9 Sep 2011 at 19:37 #48631AnonymousInactiveIm still struggling to understand how I can achieve the table layout though. Im trying to get a result on the page something like this:
<Table>
<tr>
<td col span 2>September</td>
</tr>
<tr><td>09</td><td>september event 1</td></tr>
<tr><td>10</td><td>september event 2</td></tr>
<tr><td>11</td><td>september event 3</td></tr>
<tr>
<td col span 2>October</td>
</tr>
<tr><td>09</td><td>October event 1</td></tr>
<tr><td>10</td><td>october event 2</td></tr>
<tr><td>11</td><td>october event 3</td></tr>
<tr>
<table>
The repeating parts for each event row are easy enough but I cant then intersperse those with month headers because the months are handled differently by the code.
Any tips or am I trying to go about it the wrong way?
Thanks,
Dave
Fri 9 Sep 2011 at 22:33 #48632FrankyKeymasterPlease carefully read my post above and try it
Sat 10 Sep 2011 at 09:29 #48633AnonymousInactiveIve read your post at least 10 times. The problem is that if I use event_list for each column and showmonthly (to allow each month to be grouped) then at best I’ll end up with a table consisting of 3 or 4 columns and all of them will have the same heading showing the month name.
Could you help me with an example please?
Sun 30 Oct 2011 at 07:14 #48634AnonymousInactiveHi Dave,
as I’m bothering with the same problem I would like to know whether you have found already a solution.
Thanks
Mattki
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.