Module for Joomla 3

Phoca Gallery modules - modules for Phoca Gallery extension
Grigory S.
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 13 Feb 2013, 19:06

Module for Joomla 3

Post by Grigory S. »

Hi, when will the version of the module for joomla 3?
p.s Thanks in advance!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Module for Joomla 3

Post by Jan »

Hi, not sure what you mean with "module" ... but mostly Joomla! 2.5 modules should work with small modifications in Joomla! 3.

The plan is first making the components and then modules and plugins. I hope I will release all the components before Joomla! 3 will be stable.

Jan
If you find Phoca extensions useful, please support the project
Grigory S.
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 13 Feb 2013, 19:06

Re: Module for Joomla 3

Post by Grigory S. »

Thanks for the reply, Jan!
charleyhankins
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 08 Jun 2010, 00:43

Re: Module for Joomla 3

Post by charleyhankins »

I just installed phoca gallery images module on a new Joomla 3.0 installation. Installed fine, but when I tried to use it I received an error.
Fatal error: Call to undefined method JUser::authorisedLevels() in /.../modules/mod_phocagallery_image/mod_phocagallery_image.php on line 539
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Module for Joomla 3

Post by Jan »

Ok, so this seems it is not compatible, I need to do changes there then :-( :-(

Jan
If you find Phoca extensions useful, please support the project
Johny8
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 18 Mar 2013, 14:15

Re: Module for Joomla 3

Post by Johny8 »

Pro fungování Phoca Gallery modules (Tree a Menu)

Poté fungují na Joomla 3.0 bez problémů (zatím jsem na žádné další nepřišel)

1)
Problém s Juser::authorisedLevels()

Přepsat u obou modulů

Code: Select all

authorisedLevels
na

Code: Select all

getAuthorisedViewLevels
.
mod_phocagallery_menu.php line 140, mod_phocagallery_tree.php line 102

viz:
http://sugithk.com/joomla-blog/13-poten ... tform-12-1

Code: Select all

Juser::authorisedLevels()
has been removed. Use

Code: Select all

JUser::getAuthorisedViewLevels()
instead.

2)
Problém s přepsáním .DS. (na stránce chyba nějak takhle JPATH_ADMINISTRATORcomponentscom_phocagallerylibrariesloader.php)
mod_phocagallery_tree.php line 17

Code: Select all

if (! class_exists('PhocaGalleryLoader')) {
    require_once( JPATH_ADMINISTRATOR.DS.'components'.DS.'com_phocagallery'.DS.'libraries'.DS.'loader.php');
}
v rootu stránek přidat soubor
defines.php s obsahem

Code: Select all

<?php
defined('_JEXEC') or die;
define('DS',DIRECTORY_SEPARATOR);
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Module for Joomla 3

Post by Jan »

Ok, díky za návod
If you find Phoca extensions useful, please support the project
HLEBOEUF
Phoca Member
Phoca Member
Posts: 36
Joined: 22 Jan 2010, 22:29

Re: Module for Joomla 3

Post by HLEBOEUF »

Hi Jan,

Did you already find time for the Tree and Menu module for 3.0 ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Module for Joomla 3

Post by Jan »

Hi, as written in other posts. First I need to overwrite the components, then I can take a look at the modules - and I hope I will finish it before Joomla! 3 LTS will be stable. See:
https://www.phoca.cz/phoca-needs-your-help/

Jan
If you find Phoca extensions useful, please support the project
HLEBOEUF
Phoca Member
Phoca Member
Posts: 36
Joined: 22 Jan 2010, 22:29

Re: Module for Joomla 3

Post by HLEBOEUF »

Very honest answer !!
I wish I could help you but i'm afraid that my joomla skills are far to low to be a real help on this forum.
Post Reply