SOLVED - Latest Events Module adding line breaks
Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
SOLVED - Latest Events Module adding line breaks
by groovmon » Sun Oct 09, 2011 8:52 am
I'm having trouble getting rid of a couple line breaks that are showing up between the module title and the mod_events_latest_table.

When I turn off the option to display the module title, I still get these two mysterious line breaks.

They are not in my html and other modules that I put in that position don't have the problem. Any ideas about what I might be doing wrong here. That extra space is pretty ugly on the frontend.
Thanks

When I turn off the option to display the module title, I still get these two mysterious line breaks.

They are not in my html and other modules that I put in that position don't have the problem. Any ideas about what I might be doing wrong here. That extra space is pretty ugly on the frontend.
Thanks
- groovmon
- Posts: 3
- Joined: Sun Oct 09, 2011 8:28 am
Re: Latest Events Module adding line breaks
by Tonyp » Sun Oct 09, 2011 10:46 am
is there anything above that is not displayed?!
---------------------------------------
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
-

Tonyp - Contributor
- Posts: 8717
- Joined: Tue Oct 12, 2010 9:12 pm
- Location: Isle of Man
Re: Latest Events Module adding line breaks
by groovmon » Sun Oct 09, 2011 7:24 pm
Hmmm... not sure I understand the question. Everything displays correctly. There's just a space between the module title and the table. If I put another module first in my sidebar, it displays fine. Then the lastest events module displays under, right where it should be, but with the same strange line breaks.
If I only put the lastest events module in the sidebar, same problem. I'm perplexed.
If I only put the lastest events module in the sidebar, same problem. I'm perplexed.
- groovmon
- Posts: 3
- Joined: Sun Oct 09, 2011 8:28 am
Re: Latest Events Module adding line breaks
by carcam » Mon Oct 10, 2011 7:04 am
Latest events module does not insert any <br> above the table, so I think it might be a glitch of your template.
Did you check the template overrides looking for modifications ad-hoc for latest_events module?
Did you check the template overrides looking for modifications ad-hoc for latest_events module?
-
carcam
- Contributor
- Posts: 3391
- Joined: Wed Aug 06, 2008 7:50 pm
- Location: Córdoba
Re: Latest Events Module adding line breaks
by groovmon » Tue Oct 11, 2011 4:07 pm
Well I figured it out. I was causing the problem in my custom format string.
The problem string:
<td class="latestShowDate">${startDate(%b<br>%d)}</td>
<td class="latestShowTitle">${title}</td>
The problem here is the carriage return between the two <td> tags.
The working string:
<td class="latestShowDate">${startDate(%b<br>%d)}</td><td class="latestShowTitle">${title}</td>
This fixed it right up.
The problem string:
<td class="latestShowDate">${startDate(%b<br>%d)}</td>
<td class="latestShowTitle">${title}</td>
The problem here is the carriage return between the two <td> tags.
The working string:
<td class="latestShowDate">${startDate(%b<br>%d)}</td><td class="latestShowTitle">${title}</td>
This fixed it right up.
- groovmon
- Posts: 3
- Joined: Sun Oct 09, 2011 8:28 am
Re: Latest Events Module adding line breaks
by carcam » Wed Oct 12, 2011 6:20 am
Yes, that's true, the line breaks in the format strings are replaced by <br>. Thank you for sharing!
-
carcam
- Contributor
- Posts: 3391
- Joined: Wed Aug 06, 2008 7:50 pm
- Location: Córdoba
6 posts
• Page 1 of 1
Return to Jevents 2.x (Free Access)
Who is online
Users browsing this forum: Bing [Bot], Google [Bot]

