Fórum

AUI Datepicker arrows are not showed

thumbnail
Marco Volpe, modificado 9 Anos atrás.

AUI Datepicker arrows are not showed

New Member Postagens: 16 Data de Entrada: 23/12/08 Postagens Recentes
Hello

I've built a custom theme in Velocity mode. Then I've decided to show a datepicker, but at render time, the back and next flag are not showed.

I get a 404 error on these two links:

/html/js/aui/calendarnavigator/assets/skins/sam/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAOCAYAAAA1+Nx+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKNJREFUeNpiYCAeSAPxUiiWZqAi4ATiaiD+DMT/ofgzVIyTUsMDgfghksHo+CFUDcnAAIgP4DEYHR+A6iEIhIB4GgkGo+NpUDMwADMQFwHxBwoMh+EPULOYYYZ7APFVKhiMjkFmejBBLWFjoD5gQ+dQO4iwOloUiOdQYPgcqBkDl0zRQRQRGS2KGkVFHRB/QzL4G1SMk5qpQg6psJMjVhNAgAEAH+qPqeiPEUsAAAAASUVORK5CYII=

and

/html/js/aui/calendarnavigator/assets/skins/sam/data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAOCAYAAAA1+Nx+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPpJREFUeNpi/P//PwMxQD9jszSQ6oJyyy7O8H1KjD5GQhYADeYEUkVAXAHEPFDhL0DcAcR9QIu+k20B0PBAIDUBiOVwKHkExAVAS9aTZAHQYAOowfYMxIGDUIsu4LUAaLAQkGoB4kwG8sB0IK4BWvQOxQKgwcxAdj4Q1wExPwNl4CMQNwHxRKBFfxn10jd5ADm9QKzFQF1wDYiLmaAcNgbqA7CZTEBv7ADS2iDboN5joEIQgczSBpmNHsmiQKodiJPJNHwuEFcCDX49MMkUi0VRUB/hy2ggFy+jtKgohRYVnFDh79CiopuiogLNIjmobxigrn5EjD6AAAMAok9vhfHG8wQAAAAASUVORK5CYII=

But if I go on control panel ( for example in Export Layout section) and I open a datepicker they are regularly showed.
It seems a Theme problem because Control Panel uses a different one.

Can you help me?

Thanks
thumbnail
Pankaj Kathiriya, modificado 9 Anos atrás.

RE: AUI Datepicker arrows are not showed

Liferay Master Postagens: 722 Data de Entrada: 05/08/10 Postagens Recentes
I have faced similar issue while working with AUI calendar in Liferay 6.2.
As a workaround I added images to my custom plugin and overridden some of css classes responsible for next and back image view.

See code below.(add images to you your theme and give respective path)

.yui3-calendarnav-prevmonth,.login-track-portlet .yui3-calendarnav-prevmonth:hover{
	background: url("01_left.png") ;
}
.yui3-calendarnav-nextmonth,.login-track-portlet .yui3-calendarnav-nextmonth:hover{
 	background: url("01_right.png") ;
 }


NOTE: This is just work-around , you may get other better solution for this.

Regards
thumbnail
Marco Volpe, modificado 9 Anos atrás.

RE: AUI Datepicker arrows are not showed

New Member Postagens: 16 Data de Entrada: 23/12/08 Postagens Recentes
Thanks

applying a similar work-around I've solved, too!
thumbnail
Jack Bakker, modificado 9 Anos atrás.

RE: AUI Datepicker arrows are not showed

Liferay Master Postagens: 978 Data de Entrada: 03/01/10 Postagens Recentes
I remember this being an issue in a earlier v6.2 EE as well, but then was patched.