El Dorado

A full-stack community web application written in Ruby/Rails
Nav for calendar-large « General « almost effortless
 
Mon, 25 Aug 2008, 12:59am #1
TTDaVeTT
Member
Registered: Jun, 2008
Last visit: Wed, 27 Aug 2008
Posts: 10

Hey trevor, Ive been going through some more of the code and am unclear on how the calendar _nav gets displayed. It looks like it is a partial but I can't find where this is rendered. If I were to extract the large calendar, how would I get that nav back in the header of the calendar table. Thanks so much.

Offline
Mon, 25 Aug 2008, 7:54am #2
Trevor
Administrator
Wait-ill-fix-it
Registered: Sep, 2005
Last visit: 7 hours ago
Posts: 240

It's in the calendar_helper plugin in vendor/plugins.

Offline
Tue, 26 Aug 2008, 4:39am #3
TTDaVeTT
Member
Registered: Jun, 2008
Last visit: Wed, 27 Aug 2008
Posts: 10

Hey, thanks for getting back to me. So is it in the calendar_helper.rb file? B/c Ive searched high and low through the file and can't seem to find where it is rendering the _nav partial.

Offline
Tue, 26 Aug 2008, 10:37am #4
Trevor
Administrator
Wait-ill-fix-it
Registered: Sep, 2005
Last visit: 7 hours ago
Posts: 240

This calls the partial:

http://github.com/trevorturk/el-dorado/tree/mas...

Which is here:

http://github.com/trevorturk/el-dorado/tree/mas...

Offline
Wed, 27 Aug 2008, 8:52am #5
TTDaVeTT
Member
Registered: Jun, 2008
Last visit: Wed, 27 Aug 2008
Posts: 10

perfect, thanks!

Offline
Tue, 28 Oct 2008, 11:29am #6
toto
New member
Registered: Oct, 2008
Last visit: Tue, 28 Oct 2008
Posts: 2

ok

Offline