J and Beyond 2013 | An International Joomla! Conference - May 31st - 2nd, 2013, Noordwijkerhout, The Netherlands
It is currently Sun May 19, 2013 7:21 am

Calendar Cell Scroll

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.

Calendar Cell Scroll

Postby Aprilfreelance » Fri Jan 25, 2013 2:01 pm

I'm using Jevents 2.2.8 on a church website. I have the main view set to monthly. When there are more than two events for a day, the calendar cell length expands, causing the whole view to look odd. Is there a way to make it use scroll bars within each cell, instead? Since we are a church, Sundays and Wednesdays can have as many as 10 to 15 events for one day.

I am using the Geraint layout. Would changing the template make any difference? Also, we will probably be purchasing a silver membership if I can get permission for the expense. Would the club layouts fix the problem?
Aprilfreelance
Silver Members
Posts: 8
Joined: Thu Dec 06, 2012 9:08 pm

Re: Calendar Cell Scroll

Postby Tonyp » Fri Jan 25, 2013 10:48 pm

Hello,

Yes it is possible..

1. Try wrapping the custom field text in a div like:

Code: Select all
<div style="height:120px;width:120px;border:1px solid #ccc;font:16px/26px Georgia, Garamond, Serif;overflow:auto;"> Customfield text/string </div>


2. Template override which you should find:
http://www.jevents.net/jevents-15-topme ... jevents-15

Useful.

Regards
Tony
Last edited by carcam on Tue Feb 05, 2013 6:54 am, edited 1 time in total.
Reason: Closing Code tag.
---------------------------------------

Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
User avatar
Tonyp
Contributor
Posts: 8715
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: Calendar Cell Scroll

Postby Aprilfreelance » Tue Feb 05, 2013 1:37 am

Thanks for your reply, Tonyp. Unfortunately, I have been trying for hours to figure out how to apply your suggestion, and I'm totally lost!

I am using the Geraint view for the calendar component. Can someone please tell me which file I am supposed to be editing, and which part of that file? I have looked through what seems like every template file in the components_jevents listing, and cannot figure out what to change.
Aprilfreelance
Silver Members
Posts: 8
Joined: Thu Dec 06, 2012 9:08 pm

Re: Calendar Cell Scroll

Postby carcam » Tue Feb 05, 2013 7:00 am

The point is that you will need a template override of the monthly view to get into this. This document might be of help:

http://www.jevents.net/jevents-15-topme ... jevents-15

The code Tony pointed, is a first approach that you can try in your override to get the scroll bar into each cell.
carcam
Contributor
Posts: 3391
Joined: Wed Aug 06, 2008 7:50 pm
Location: Córdoba


Return to Jevents 2.x (Free Access)

Who is online

Users browsing this forum: Google [Bot]

cron

Main Menu

User Menu

Hosted By


Who is online

In total there is 1 user online :: 1 registered and 0 hidden (based on users active over the past 5 minutes)
Most users ever online was 94 on Tue Sep 01, 2009 12:33 am

Users browsing this forum: Google [Bot]

Login Form