11
ToloXoop
Re: PiCal 0.91 (MiniCalendarEx doesn’t show the events)
  • 2008/11/30 13:52

  • ToloXoop

  • Just popping in

  • Posts: 26

  • Since: 2006/6/9 1


Halo,

So I took a look in the groups, all looks OK, The module was there, I did some clicks, and after all again the block is listed in admin mode, very estrange, anyway that’s good, I have enabled the block in the all pages but unfortunately it is not shown.

I will investigate more and I will advice you, but to be honest it is very strange.

Anyway, thank you for your comments.

BR

12
zorro87
Re: PiCal 0.91 (MiniCalendarEx doesn’t show the events)
  • 2008/11/30 13:58

  • zorro87

  • Just popping in

  • Posts: 92

  • Since: 2006/9/29


Hi!

Quote:
The module was there

Yes and what about the blocks?

Quote:
Anyway, thank you for your comments.

You are wellcome!

@+
Z

13
trabis
Re: PiCal 0.91 (MiniCalendarEx doesn’t show the events)
  • 2008/11/30 14:06

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


This problem afects all XOOPS > 2.0.14
What happens is that a block function can not know to wich block it belongs.

As turn around you may need to hack XOOPS core:

At class/theme_blocks.php I added a global '$block'

function retrieveBlocks() {
        global 
$xoopsUser$xoopsModule$xoopsConfig$block;


This way we are able to get the block id inside a block function using this:
if( is_object$GLOBALS['block'])) {
            
// bid from newblocks
            
$bid $GLOBALS['block']->getVar('bid') ;
        }


You need to apply the above method in piCal\blocks\pical_minical_ex.php line 35

(ps: This will also solve the disappearing block )



14
ToloXoop
Re: PiCal 0.91 (MiniCalendarEx doesn’t show the events)
  • 2008/12/4 15:07

  • ToloXoop

  • Just popping in

  • Posts: 26

  • Since: 2006/6/9 1


Hello trabis,

I have followed your changes
Quote:

At class/theme_blocks.php I added a global '$block'

function retrieveBlocks() {
global $xoopsUser, $xoopsModule, $xoopsConfig, $block;

This way we are able to get the block id inside a block function using this:

if( is_object( $GLOBALS['block'])) {
// bid from newblocks
$bid = $GLOBALS['block']->getVar('bid') ;
}

You need to apply the above method in piCal\blocks\pical_minical_ex.php line 35

The block appears again, so it looks that the change is OK. But what is still missing is the option to configure the block (of course in admin mode).

Hi zorro87, even following your changes and the one form trabis, the MiniCalendarEx doesn’t show the events.
You can take a look in:http://www.r-b-c.info/modules/piCal/

BR,

15
zorro87
Re: PiCal 0.91 (MiniCalendarEx doesn’t show the events)
  • 2008/12/4 17:52

  • zorro87

  • Just popping in

  • Posts: 92

  • Since: 2006/9/29


Hi ToloXoop,

If you want to see dots in you pical Ex you have to configure Pluggins.

@+
Z

16
trabis
Re: PiCal 0.91 (MiniCalendarEx doesn’t show the events)
  • 2008/12/4 19:11

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Yup, configure the plugins. I had the same problem. After applying this changes I had to find my way in plugins administration to make them work.

17
ToloXoop
Re: PiCal 0.91 (MiniCalendarEx doesn’t show the events)
  • 2008/12/6 11:24

  • ToloXoop

  • Just popping in

  • Posts: 26

  • Since: 2006/6/9 1


Dear friends,

Finally the CalendarEx works OK. With dots inclusive.

Thank you very much rabis and zorro87 you are the best!!!!

BTW, do you know if your modifications will be inluded in the PiCal and in the XOOPS Core.

BR,

18
trabis
Re: PiCal 0.91 (MiniCalendarEx doesn’t show the events)
  • 2008/12/6 15:02

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


I have requested for this core change and I think we may expect it very soon. As for PiCal maybe GiJoe will take a look into it after the core change is done.

19
Wonderfish1
Re: PiCal 0.91 (MiniCalendarEx doesn’t show the events)

My PiCal problem is different.

I just upgraded to 2.3.2 and now PiCal is showing me this:

Resized Image


The module seems to be working fine but the Sanitiser is upset.

Any ideas how to fix this?


TIA,
Tim

20
tommyZ
Re: PiCal 0.91 (MiniCalendarEx doesn’t show the events)
  • 2009/1/30 2:39

  • tommyZ

  • Friend of XOOPS

  • Posts: 89

  • Since: 2005/1/4 1


Any word on a fix for the description being empty upon edit bug with pical and XOOPS 2.3.x ?
Life is ten percent what happens to you and ninety percent how you respond to it. - Lou Holtz
BlueHost.com - hosting with the most bang for your buck

Login

Who's Online

245 user(s) are online (150 user(s) are browsing Support Forums)


Members: 0


Guests: 245


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits