Calendar fixed width boxes w/ wrapped text

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
kevin360

Calendar fixed width boxes w/ wrapped text

Post by kevin360 »

I've installed the calendar module and so far it works well.  The only thing is if the title of an event is long then the boxes for each day aren't equal and sometimes it will force the calendar off the side of the screen.  What I'd like is for the calendar to have equal width boxes and whatever text is in the box would be wrapped, any idea how I can get it to do that?  I've been playing with the stylesheet and haven't come up with a solution yet.

Thanks,
Kevin
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Calendar fixed width boxes w/ wrapped text

Post by Dr.CSS »

do you have a link to the site or are you running it on a home install?
kevin360

Re: Calendar fixed width boxes w/ wrapped text

Post by kevin360 »

Home install., why does it normally not do that?  This is a stock CMS install with an extra content page added that only has the cms code for loading the calendar in.  Then I put two entries into the calendar for different days where the titles were the max length.  The boxes for the days then go off the side of the screen.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Calendar fixed width boxes w/ wrapped text

Post by Dr.CSS »

tried it here http://www.multiintech.com/cmsite/index ... e=calendar and as you can see it wrapped but it made the box taller.
are you using the default CSS that is in the Help for calendar?
kevin360

Re: Calendar fixed width boxes w/ wrapped text

Post by kevin360 »

That's what I want!!  Now to figure out what I'm doing wrong....

Ok, I did use the stylesheet that is included in the help section.  I made a stylesheet called Calendar and I've assigned it to a template (otherwise the calendar looks really bare, so I know it's grabbing it).  I'm using the CSSMenu Horiz 1 Col right now and it's still not wrapping the text.  The entries on Monday and Thursday are really wide and then the others are very narrow.  I have a page called Events Calendar and it's got this in it:

{cms_module module="Calendar" table_id="big"}

and nothing else.

You didn't do anything but install it and it worked didn't you??  That makes this a little strange...
kevin360

Re: Calendar fixed width boxes w/ wrapped text

Post by kevin360 »

Ok, I did a complete reinstall and now it's working!  Not sure what I did, but I was playing with a bunch of modules to see what they would do, maybe that did something.  I don't know.

Now a new problem.  When I click on the arrow button to go to August I get:

Not Found

The requested URL was not found on this server.

The url is  index.php/calendar&m4year=2006&m4month=8
kevin360

Re: Calendar fixed width boxes w/ wrapped text

Post by kevin360 »

Ok found out that if I have

$config['internal_pretty_urls']

set to true I get those errors.  If I change it to false it works fine.
Locked

Return to “Layout and Design (CSS & HTML)”