Hello all!

Please help me with one issue - i need a clue how to do this:

I have a view with exposed filter on dates (from - to)
i have correct results, but i want to show rows duplicated, for ex if an event starts 01.01.2010 and ends 03.01.2010 and exposed filters are 01.01.2010 - 05.02.2010 than i want ot show the same result 3 times - like:

01.01.2010 - row
02.01.2010 - the same row
03.01.2010 - the same row

I have base knowledge about development and views but not about development with views integration.
So i can do it programatically, but don't know which hooks to use.

i managed to do this with views templates files but it is too late and pager does not work..
i tried to lookup for solution in calendar module but it is too difficult for me to start.

glad for any help,
Naiya

Comments

Naiya’s picture

OK, after hard time i managed to create custom tpl.php file synchronized with template_preprocess_(&$vars) function.
on calendar module - based on $vars[view] and $vars[curday] the calendar is built (with all events that occurs that day - as i want to..).

but i don't know how to make such info available in $vars in preprocess.. is it good place to do that?

thankfull for any help,
Naiya