Welcome Guest, Not a member yet? Register   Sign In
some problems about CALENDAR library
#1

[eluser]sutar[/eluser]
uh...i'm new here..nice to meet you all Smile

so,here are some questions.

http://ellislab.com/codeigniter/user-gui...endar.html
Code:
{cal_cell_content}<a href="{content}">{day}</a>{/cal_cell_content}
   {cal_cell_content_today}<div class="highlight"><a href="{content}">{day}</a></div>{/cal_cell_content_today}

   {cal_cell_no_content}{day}{/cal_cell_no_content}
   {cal_cell_no_content_today}<div class="highlight">{day}</div>{/cal_cell_no_content_today}

can anybody tell me what is cell_no_content or cell_content?

i'd like to create a calendar which every date can link to a view page,just like

Code:
<a href="vies_date/2010/02/28">28</a>


i find that {cal_cell_content} this tag may be helpful.
am i right?

please teach me how to define {cal_cell_content} etc...

thank you all!
Smile

i really like codeIgniter,it's amazing...

thanks again.
#2

[eluser]theprodigy[/eluser]
The cell_no_content and cell_content refer to calendar days that do or do not contain content other then the day number (like a scheduled event).

I actually ran across a very good screencast about the CI Calendar library. You can view it here.

He describes how you can edit the calendar template to do some pretty neat stuff.
#3

[eluser]sutar[/eluser]
hi theprodigy,
thanks for your help!
the project would be great help.

thank you! Big Grin




Theme © iAndrew 2016 - Forum software by © MyBB