AnsweredAssumed Answered

Dash let not displayed

Question asked by samz on May 9, 2011
Latest reply on May 11, 2011 by samz
Hi all,

I am new to alfresco and i created a Calender dashlet for my project.
This is a simple yui calender in an html file which i included in my ftl file.

My ftl code is (calender.get.html.ftl):-

<div class="dashlet">
<#include "calendar.html">

My html code is (calendar.html) :-

<div class="yui-skin-sam">

<style type="text/css">

body {

<link rel="stylesheet" type="text/css" href="fonts-min.css" />
<link rel="stylesheet" type="text/css" href="calendar.css" />
<script type="text/javascript" src="yahoo-dom-event.js"></script>
<script type="text/javascript" src="calendar-min.js"></script>

<div id="cal1Container"></div>

<script type="text/javascript">
   YAHOO.example.calendar.init = function() {
      YAHOO.example.calendar.cal1 = new YAHOO.widget.Calendar("cal1","cal1Container");


<div style="clear:both" ></div>


the code of xml file (calender.get.desc.xml):-

   <description>Calender Dashlet</description>

all the files css and js files are inside the dashlet folder Calender_Dashlet.

but only upper part of the extdernal div is displayed on my dashboard, no error is displayed.
please help