mediawiki-extensions / mw-calendar

Automatically exported from code.google.com/p/mw-calendar
0 stars 2 forks source link

CSS not loading with 3.7.4 release #73

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This causes the calendar lines to not work in with some setups.

Original issue reported on code.google.com by kenyu73 on 4 May 2009 at 12:12

GoogleCodeExporter commented 8 years ago
What I see is (with both previous and new Calendar.php):
<link type="text/css"
href="/wiki/skins//wiki/extensions/Calendar/templates/default.css?164"
rel="stylesheet"> which is wrong
If I modify it to be the proper path
"/wiki/extensions/Calendar/templates/default.css" then I see the boxes. I will 
use it
hardcode from now on until you provide a fix.
Regards

Original comment by kenyu73 on 4 May 2009 at 12:15

GoogleCodeExporter commented 8 years ago
changes made to 3.7.5

Original comment by kenyu73 on 5 May 2009 at 8:58

GoogleCodeExporter commented 8 years ago
CSS will not work unless on 1.14

1.13 and below only support using addStyle() with the css file in the /skins
folder... I'll have this issue fixed in the next release.

Original comment by kenyu73 on 7 May 2009 at 5:15

GoogleCodeExporter commented 8 years ago
Solution:

MW v1.13 - I'm using "addHTML()" to load css information (ugly method)
MW v1.14 - I'm using "addStyle()" to load the css as a stylesheet (clean method)

Original comment by kenyu73 on 7 May 2009 at 5:38

GoogleCodeExporter commented 8 years ago
Great!! it worked out.
It works for three of my MediaWiki installs:
1.14.0
1.13.3 
and 
1.13.4

By the way, if I try to set and image being shown with a different size:
[[file:filename.jpg|100px]]
The event is properly created, I meand I can add event and after editting and 
acceting a I see that single node 
ok, but If I browse to month view I get an empty screen and the following error 
in errorlogs:

[Fri May 08 22:26:44 2009] [error] [client 192.168.2.8] PHP Fatal error:  Call 
to a member function getURL() on 
a non-object in /var/www/html/wiki/extensions/Calendar/common.php on line 172, 
referer: 
http://omf.alhambra.dina/index.php/Calendarios:Eventos/Eventos/5-7-2009_-Event_1

Is it suppoused to be working (image resizing)? or this feautured is not 
included yet?

Thanks for all your work!!!

Original comment by caralar...@gmail.com on 8 May 2009 at 8:37

GoogleCodeExporter commented 8 years ago
by the way, sorry for my misspellings, as you might had already realize english 
is not my first language.

Original comment by caralar...@gmail.com on 8 May 2009 at 8:39

GoogleCodeExporter commented 8 years ago
I use my own method to create the image. If I used mediawiki's full method, 
clicking
the link would bring you to the Image Special Page.

Original comment by kenyu73 on 10 May 2009 at 5:38

GoogleCodeExporter commented 8 years ago

Original comment by kenyu73 on 15 May 2009 at 3:42

GoogleCodeExporter commented 8 years ago
getURL() on a non-object error happens when creating an Event of more than 255
characters. If you could fix it it would be great.

Where are having some trouble with this issue.

Gabi

Original comment by gabito...@gmail.com on 29 Jun 2009 at 11:31