| View previous topic :: View next topic |
| Author |
Message |
FranklinAtlantic
Joined: 20 May 2006 Posts: 8
|
Posted: Tue May 23, 2006 8:31 pm Post subject: Adding upcoming events to my homepage |
|
|
| I would like to add upcoming events to my website as an RSS feed. I created a new module, but the code it generated has my events listed in it. How can I create a module that will check for newly added events and list them automatically? |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Tue May 23, 2006 8:33 pm Post subject: |
|
|
| It sounds like you want to use the JavaScript event list module. Click on Modules on the left (of this site) and take a look. |
|
| Back to top |
|
 |
Guest
|
Posted: Tue May 23, 2006 8:35 pm Post subject: |
|
|
| First of all, wow, fast response! Second, thanks for the information, that is what I was looking for. |
|
| Back to top |
|
 |
Guest
|
Posted: Tue May 23, 2006 11:40 pm Post subject: |
|
|
Ian,
I cannot seem to figure out why the text in the Events box on our page is so far to the left. Is it creating a list of some sort?
www.metropolitannurse.com |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Tue May 23, 2006 11:54 pm Post subject: |
|
|
| There are 2 divs that surround the event list. The first is align center, the second is align left. Try removing the first one. |
|
| Back to top |
|
 |
Guest
|
Posted: Thu May 25, 2006 1:26 pm Post subject: |
|
|
| I removed the first one, no luck, and I removed the second, and eventually both, still no luck. Could it be something in the style sheet? |
|
| Back to top |
|
 |
Guest
|
Posted: Thu May 25, 2006 1:37 pm Post subject: |
|
|
| If it helps, this is only happening in Firefox on both a Mac and PC, and in Safari. Explorer seems to be doing just fine. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Thu May 25, 2006 1:44 pm Post subject: |
|
|
That was my first inclination, but the only align options in the style sheet say 'left'.
You have 2 extra </div> tags left over after the script tag. Remove those. In the TD tag try adding:
style='text-align: left' |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Thu May 25, 2006 1:47 pm Post subject: |
|
|
Ahh.. also try adding this to the style sheet:
.thyme_items ul { margin-left: 0px; padding-left; 0px; }
.thyme_items li { margin-left: 0px; padding-left; 0px; }
I get the feeling that is the culprate
Or you can edit the template so that it does not use ul and li's |
|
| Back to top |
|
 |
Guest
|
Posted: Thu May 25, 2006 3:02 pm Post subject: |
|
|
| I made those changes, and now the text is in list mode, complete with bullets. Obviously I messed this up. Any other suggestions? |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Thu May 25, 2006 3:09 pm Post subject: |
|
|
| Remove the UL / LI stuff from the template in the javascript event list and change them them to <span>s |
|
| Back to top |
|
 |
Guest
|
Posted: Thu May 25, 2006 5:41 pm Post subject: |
|
|
Sorry if this seems really basic, but I just cannot find the UL or the LI within the code.
Here is the line of code which I think you are referring to, can you tell me where I am going wrong? |
|
| Back to top |
|
 |
Guest
|
Posted: Thu May 25, 2006 5:50 pm Post subject: |
|
|
| It looks like the script was stripped by the message board. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Thu May 25, 2006 6:13 pm Post subject: |
|
|
It does that .. If you want to give me the URL and an admin login to your calendar I'll take a look at it. You can e-mail me at ian@extro... |
|
| Back to top |
|
 |
FranklinAtlantic
Joined: 20 May 2006 Posts: 8
|
Posted: Fri Jun 02, 2006 3:30 am Post subject: |
|
|
| The display on our homepage looks awesome. I was wondering if we can tweak it so that just the initial event is displayed, not the repeating days. We ran across a situation where a 4-day event was repeated on the homepage leaving no room for any other events. I understand why it happens, and it makes sense, but it looked like a mistake. |
|
| Back to top |
|
 |
|