Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#151 2009-01-05 14:06:41

quemultimedia
Member
From: Nairobi
Registered: 2008-12-31
Posts: 42
Website

Re: [plugin] [ORPHAN] mdp_calendar

How does one apply CSS styles to the calendar?

Just installed it, using bc mdp_calendar_small on my ‘test’ homepage, so far, displaying okay, now just for some cool styling [still new with Textpattern, doing offline ‘tests’ first before pulling down my current site.

Ideas, anyone?


Que,
Que-Multimedia

Offline

#152 2009-01-05 14:37:32

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,463
Website GitHub

Re: [plugin] [ORPHAN] mdp_calendar

quemultimedia wrote:

How does one apply CSS styles to the calendar?

Since I’ve pretty much rewritten this entire plugin I feel qualified to answer: it’s limited. You have 4 classes available:

  1. the entire table (if you used the plugin’s class attribute)
  2. if a cell contains an event it is tagged with class hasarticle
  3. if the cell is today’s date it is tagged with class today
  4. if the cell is empty (i.e. the blank cells at the start/end of the month) the cell has a class of invalidDay

That’s it. The rest you’ll have to do with CSS selectors. If that’s not enough and you want complete control over the cells and classes, wait a tiny while for smd_calendar to be officially released, which gives you the freedom to build a calendar and manage events exactly how you want to.

Last edited by Bloke (2009-01-05 14:38:29)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#153 2009-01-06 09:59:57

quemultimedia
Member
From: Nairobi
Registered: 2008-12-31
Posts: 42
Website

Re: [plugin] [ORPHAN] mdp_calendar

have used those to bring about some slight alterations to the look and feel of the calendar, however, would like to ‘tweak’ and ‘tune’ it some more….


Que,
Que-Multimedia

Offline

#154 2009-01-20 00:12:44

zipside
New Member
Registered: 2009-01-20
Posts: 1

Re: [plugin] [ORPHAN] mdp_calendar

Nevermind, I see the new calendar!

Last edited by zipside (2009-02-02 19:33:10)

Offline

#155 2010-08-26 05:30:32

playzea
New Member
Registered: 2010-08-25
Posts: 3

Re: [plugin] [ORPHAN] mdp_calendar

my calendar does not link to article

how do i fix it?

Offline

#156 2010-08-26 06:33:46

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [plugin] [ORPHAN] mdp_calendar

This plugin is not supported anymore. Have a look at smd_calendar.

Offline

#157 2010-08-26 16:23:17

playzea
New Member
Registered: 2010-08-25
Posts: 3

Re: [plugin] [ORPHAN] mdp_calendar

try smd_calendar too
but it does not work too

Offline

#158 2010-08-26 17:38:13

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [plugin] [ORPHAN] mdp_calendar

playzea wrote:

try smd_calendar too
but it does not work too

Then a post in the plugin thread might be a good idea ;)

Offline

Board footer

Powered by FluxBB